sometimes we need to copy result of some program to clipboard. or we need to copy a text file to clipboard. this simple program will help you on that.
clp -h
DESCRIOTOON
copy stdin or file content to clipboard.
in order to copy the resutl of one program to clipboard you should
pipe the result to clp.
if you do not use switches, the stdin will copy to clipboard
OPTIONS
-h, --help
display this help and exit.
-i, --input-file
read the path file and copy the file content to clipboard.
$ ls /var | clp
$ clp -i /var/log/syslog
$ clp this text will copy to clipboard as well as other way
# warning: no input was given, consider args as input text
$ clp
from input file
pipe result to clp
type a text and then copy it to clipboard
consider args as text to copy
install dependencies
$ pip3 install pyperclip
# if you dont have the pip3, install it first.
download the program
$ cd /tmp && wget 'https://raw.githubusercontent.com/shabane/clp/master/clp.py'
add the clp to user programs
$ cp clp.py ~/.local/bin/clp
add execute permission to clp
$ chmod +x ~/.local/bin/clp
test the installation
$ clp -h
a static URL shortner to run on Github pages or your own server. which aims to not need much configuration.
Any Aparat link such as Playlist Or Normal video downloader
this repo conatain wallpaper which we like them, so we share them here. every one can help to upload more wallpapers.
this is a telegram bot which get a *site Url* and sends all songs contain in the Url to telegram.
a pastebin site with django.
find all the URL of a site with a specific Regex
scrip to install all packages that need to install after installing a Distro