Welcome To Snipplr
Everyone's Recent Snippets Tagged osx
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script.
If...
1
528
posted 15 years ago by rhockens
Prints content from an NSError or NSArray content from a managedObjectContext.
0
521
posted 15 years ago by zingo
List the current version and installation date of every application on a OS X system, using of Spotlight.
1
428
posted 15 years ago by zingo
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
700
posted 15 years ago by zingo
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
499
posted 15 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
938
posted 16 years ago by jonhenshaw
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
389
posted 16 years ago by smoothnoodle