Scripts I’m using in current projects

Coffee / Jade / SASS

 

coffee -o ./js -cw coffee

 

jade –watch -O . ./jade/*.jade

 

compass watch

Posted in Uncategorized | Leave a comment

MySQL Current Configuration File

Screen Shot 2013-02-23 at 1.28.49 PM
mysql --help | grep Default -A 1
Posted in Mac, MySQL, Uncategorized | Leave a comment

Windows 7 Partitioning

Having trouble getting a windows partitions bigger than 2 Terabytes?  It all comes down to cluster size.  For some reason my windows 7 is using 512 Byte cluster sizes.  When formatting a drive you can change the cluster size to be much larger than 512 Bytes.  They can be set up to 65,536 Bytes.

Cluster size Maximum NTFS Volume Size (bytes RAW)
512 2,199,023,255,040 (2TB)
1,024 4,398,046,510,080 (4TB)
2,048 8,796,093,020,160 (8TB)
4,096 17,592,186,040,320 (16TB)
8,192 35,184,372,080,640 (32TB)
16,384 70,368,744,161,280 (64TB)
32,768 140,737,488,322,560 (128TB)
65,536 281,474,976,645,120 (256TB)

 

To format a volume with an 8192 Byte cluster, use the following command:

format d: /fs:ntfs /a:8192

Replace 8192 with the cluster size you wish to use.

These commands must be ran as Administrator.

To check the cluster size of your current drive volumes, use:

fsutil fsinfo ntfsinfo c:

Replace c: with the volume you wish to check.

 

 

 

 

 

 

 

 

 

 

Source: http://support.microsoft.com/kb/302873

Posted in Uncategorized | Leave a comment

Run as Administrator

To run software with Admin privileges, simply hold ctrl+shift when you launch the application.  If you have UAC enabled, it will prompt you at this point before opening the software.

If you wish to use the mouse, simply locate the software in your start menu. Simply right click on the software and choose Run as Administrator.

Posted in Uncategorized | Leave a comment

Installing Cloud9IDE on Ubuntu 10.04

Prerequisites:  node 0.6.19 (specifically this version, if need be use Node Version Manager to run multiple versions of Node simultaneously.

git clone https://github.com/ajaxorg/cloud9.git /directory/of/your/choice

cd /directory/that/you/chose

npm install -d

npm install -g sm

sm install

bin/cloud9.sh

Posted in Uncategorized | Tagged , | Leave a comment