Skip to content

Instantly share code, notes, and snippets.

View massive's full-sized avatar
🏠
Working from home

Matias Käkelä massive

🏠
Working from home
  • Relex Solutions
  • Helsinki, Finland
View GitHub Profile
Rails CMS alternatives
======================
Note: project activity was checked on 11/26/09 for most of these projects, and the "last update" field has not been kept up to date since then.
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09
@massive
massive / hibernate.sh
Created September 26, 2011 06:51
OSX Lion hibernate script
#!/bin/bash
if [ "$(whoami)" != 'root' ]; then
echo "You have no permission to run $0 as non-root user."
exit 1;
fi
pmset hibernatemode 25
osascript -e 'tell application "System Events" to sleep'
sleep 5m
pmset hibernatemode 3