Archive for terminal

Commandline urlencoding/urldecoding alias

Posted in Uncategorized with tags , , , , on April 4, 2013 by andkrup

Here’s a clever bash alias for quick string url- encoding/decoding:

Debug trace on Mac os x

Posted in Development, Mac quirks with tags , , , , , , on January 21, 2009 by andkrup

I recently have had some trouble getting the flash debug player to work properly on the macbook. I found this cool idea about creating aliasses that appends the flash player output to the flashlog.txt text file.

$ alias trace=tail\ -f\ "/Users/<username>/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt"

and, using rm to clear the text file:

$ alias cleartrace=rm\ -f\ "/Users/<username>/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt"

See the original post and comment here: