Skip to content

Instantly share code, notes, and snippets.

@roktas
Created October 9, 2010 08:47
Show Gist options
  • Save roktas/618030 to your computer and use it in GitHub Desktop.
Save roktas/618030 to your computer and use it in GitHub Desktop.
cd /tmp
sudo apt-get install xclip
wget http://github.com/dblevins/gistpaste/raw/master/gistpaste
chmod 755 gistpaste
sudo mv gistpaste /usr/local/bin/
git clone git://gist.github.com/618030.git
cd 618030
/usr/lib/gnome-panel/gnome-panel-add --panel=top_panel_screen0 --copy-launcher --launcher=gistpaste.desktop
# üst panelde artık bir ikon olmalı
# şimdi... herhangi bir metni seç ve o ikona tıkla
# sonra da: http://gist.github.com
# gistpaste'in diğer gist programlarından tek farkı bu değil.
# birden fazla dosyayı aynı anda gistlemek mümkün.
# örneğin bulunduğun dizindeki dosyaları (dikkat dizin olmasın) gistlemek için
gistpaste *
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name[en_US]=gistpaste
Name=gistpaste
Exec=gistpaste -c
Comment[en_US]=gistpaste
Comment=gistpaste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment