Archive for January, 2011
how to verify no accounts have empty passwords?
Type the following command # awk -F: ‘($2 == “”) {print}’ /etc/shadow
Read moreremove all .DS_Store files in a directory
The following command will remove all .DS_Store files in a directory where it is executed as well as that particular directory’s subdirectories: find . -name ‘*.DS_Store’ -type f -delete Why would you want to remove .DS_Store files? The .DS_Store files store Finder-specific preferences concerning the display of each of your folders. Removing these files is [...]
Read moreThe Wilderness Downtown HTML5 Video
The Wilderness Downtown is an experimental interactive film using Google Chrome created by Chris Milk in collaboration with Arcade Fire and Google. It was built using HTML5, Google Maps, an integrated drawing tool and it uses multiple browser windows. Features: HTML5 native video and audio Canvas-animated birds Interactive SVG fonts Photo panoramas from Google Maps [...]
Read moreOSX pmset Power Management Command Line Tool
NAME pmset — manipulate power management settings SYNOPSIS pmset [-a | -b | -c | -u] [displaysleep minutes] [disksleep minutes] [sleep minutes] [womp 1/_] [ring 1/_] [autorestart 1/_] [powerbutton 1/_] [lidwake 1/_] [acwake 1/_] [lessbright 1/_] [halfdim 1/_] [sms 1/_] [boot] pmset -u [haltlevel percent] [haltafter minutes] [haltremain minutes] pmset -g [custom | live | [...]
Read moreOSX Sudden Motion Sensor
Replaced internal HD with Western Digital Scorpio 1TB SATA 8MB Cache 2.5 inch Blue Internal Hard Drive Not sure if it’s benificial to disable the OSX Sudden Motion Sensor as I have read that the Scorpio 1TB HD has Motion Sensor built in. Sudden Motion Sensor is designed to help prevent disk issues if the computer [...]
Read moreAdding Zend Frame Work to Plesk vhost.conf
Replace bizante.com with the domain you are configuring. This article requires knowledge of linux text editor from terminal command line. I used this procedure to get started with the Google Data PHP Client Library which is included as part of the ZEND FRAMEWORK From a terminal with SU / root type the following: cd /usr/local/src [...]
Read moreHow do I redirect my site using a .htaccess file?
# This allows you to redirect your entire website to any other domain Redirect 301 / http://bizante.com/
Read more