Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
#A shell script that will rename all the text files in a directory | |
#each file will be named with the first line of text from that file | |
for file in * | |
do | |
# Avoid renaming diretories! | |
if [ -f "$file" ] | |
then | |
newname=`head -1 $file` | |
if [ -f "$newname" ] |
/* | |
Javascript is a funny thing. | |
Here are two things that will hit you with requestAnimationFrame | |
1) If you alias the window.requestAnimationFrame function on to anything other | |
than a window object, you get an Illegal Invocation Error. | |
You can solve this by using call() with the window object set. |
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html