snippet - gedit external tool > prefixr.com Stampa
Scritto da Carlo Denaro - Blackout   
Carlo Denaro - Blackout

Config file for use external tool prefixr.com with gedit:

 

1) Enable gedit's external tools

 

2) place the file in ~/.gnome2/gedit/tools

3) the code is

---

#!/bin/sh
# [Gedit Tool]
# Name=Prefixr
# Shortcut=quotedbl
# Applicability=all
# Output=replace-selection
# Input=selection-document
# Save-files=nothing


var=$(cat /dev/stdin)
curl -sSd "css=$var" "http://prefixr.com/api/index.php"

---

soon update and beautyfy this article


( 1 Vote )
 

Recent Articles by Carlo Denaro - Blackout :