Welcome To Snipplr


Everyone's Recent Snippets Tagged osx



1 2 3 4 Next »
2 2318 posted 19 years ago by iblis
Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value. For a internationalised version see: http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-c...
1 3187 posted 19 years ago by zingo
8 2439 posted 19 years ago by zingo
0 1890 posted 19 years ago by dbug13
I use this to test if my internet connection is up, I run it from quicksilver, it's much faster for me than opening up a terminal.
0 1965 posted 19 years ago by dbug13
1 1865 posted 19 years ago by dbug13
Run this command in the Terminal on Mac OS X to flush the DNS cache on your computer. This is especially helpful when making changes to the host file.
2 3176 posted 19 years ago by jonhenshaw
Mount Samba share from osx terminal, might not show up in Finder
0 2651 posted 19 years ago by vanne
0 2806 posted 19 years ago by tgunr
0 1741 posted 19 years ago by tgunr
Enter this at the commandline.
0 2089 posted 19 years ago by Roshambo
0 2665 posted 19 years ago by netjackal
Plist file for heartbeatd to be handled by Launchd - change the ip addresses to match your own - I have called this uk.ac.rave.heartbeatd.plist. Change the "x.x.x.x" in the array within ProgramArguments to the IP's that you are using.
0 1689 posted 19 years ago by smoothnoodle
Obviously you need to have heartbeatd handled by Launchd
0 1717 posted 19 years ago by smoothnoodle
0 1849 posted 19 years ago by whitetiger
0 1864 posted 19 years ago by whitetiger
2 2407 posted 19 years ago by whitetiger
1 2477 posted 19 years ago by whitetiger
0 1935 posted 19 years ago by whitetiger
0 4120 posted 19 years ago by whitetiger
0 2315 posted 20 years ago by jnunemaker
2 2392 posted 20 years ago by jnunemaker
Greatly speeds up a slow Safari by purging any cached icons which have not been accessed in the past 30 days. Works well as a cron job. From http://www.macosxhints.com/article.php?story=20040323144305318
2 3312 posted 20 years ago by Roshambo
1 2 3 4 Next »