This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check wake requests | |
pmset -g log | grep "Wake Requests" | |
# check wake logs | |
pmset -g log | grep darkwake | |
# statistics | |
pmset -g stats | |
# check if powernap is enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTALL_DIR="/home/maicki" | |
FFMPEG_DIR="$INSTALL_DIR/ffmpeg" | |
PROPERTIE_FILE="$INSTALL_DIR/test.properties" | |
MEDIA="Movies:/home/maicki/Movies" | |
AIR_VIDEO_LINK="http://inmethod.com/air-video/download/linux/alpha4/AirVideoServerLinux.jar" | |
mkdir $INSTALL_DIR | |
cd $INSTALL_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixing Lion libpng issues | |
------------------------- | |
Until this issue https://github.com/mxcl/homebrew/issues/4468 is resolved installing Lion screws up ImageMagick's png support. The following steps are a hacky work around to get things going again. `identify: memory allocation failed` is the error message you'll receive before applying the fix. | |
brew uninstall imagemagick | |
cd /usr/X11R6/lib | |
sudo mv libpng.dylib libpng.old.dylib | |
sudo ln -s libpng12.0.dylib libpng.dylib | |
brew install imagemagick |