Profile

Achievement

first submission:submitting first snipplet

iloveitaly's Recent Snippets



« Prev 1 2 3
Works fine for MacRuby applications
0 3685 posted 14 years ago by iloveitaly
Format's var export so things looks a little bit nicer
0 2725 posted 14 years ago by iloveitaly
0 1826 posted 14 years ago by iloveitaly
Useful when managing a bunch of submodules.
0 1273 posted 14 years ago by iloveitaly
0 1520 posted 14 years ago by iloveitaly
I'm not well versed in international address formatting, but this seems to work for most cases. Critiques are welcome!
0 1558 posted 15 years ago by iloveitaly
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2 2006 posted 15 years ago by iloveitaly
Useful when used with the google map directions function http://snipplr.com/view/15530/php-create-google-map-directions-link/
0 1799 posted 15 years ago by iloveitaly
1 3007 posted 15 years ago by iloveitaly
0 2801 posted 15 years ago by iloveitaly
0 2773 posted 15 years ago by iloveitaly
Useful when having multiple ssh connections to remote servers open in os x. Throw this in your ~/.bash_profile
0 1529 posted 15 years ago by iloveitaly
Assumes that the record has a `name` field which represents the name of the location and always has a defined two character `country` field.
0 1760 posted 15 years ago by iloveitaly
like array_search but compares against a specific key in each element of the array
2 1711 posted 15 years ago by iloveitaly
0 1411 posted 15 years ago by iloveitaly
0 1961 posted 15 years ago by iloveitaly
0 2973 posted 16 years ago by iloveitaly
1 1686 posted 16 years ago by iloveitaly
the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.
0 1886 posted 16 years ago by iloveitaly
This is the most updated version of my os x php compile script
0 1531 posted 16 years ago by iloveitaly
0 1549 posted 16 years ago by iloveitaly
gets the svn version of the cwd
0 1520 posted 16 years ago by iloveitaly
« Prev 1 2 3