Created
October 10, 2012 15:06
Revisions
-
mistersourcerer revised this gist
Oct 10, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ LANG="ruby" if [ -n "$2" ] then LANG=$2; fi if [ -a "$1" ] -
mistersourcerer created this gist
Oct 10, 2012 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #!/bin/bash #http://pygments.org/docs/cmdline/ LANG="ruby" if [ -n "$2" ] then LANG=$2; echo "veio aqui né?"; fi if [ -a "$1" ] then pygmentize -l $LANG -f rtf $1 | pbcopy else pbpaste | pygmentize -l $LANG -f rtf | pbcopy fi This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ color myfile.rb # or, if you have the code in your "Cmmd + C area" color # now just go to the keynote and hit Cmmd + V