How to List Users and Groups in OSX (Mac-Lion)

To list the users :
dscl . -list /Users
To list the groups:
dscl . -list /Groups 

How to Stop a Jenkins Server

Simply, unload the jenkins from Launch daemon using:

sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist

Scheduling Repeating Local Notifications using Alarm Manager

Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .