First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
| #!/usr/bin/env bash | |
| #styles | |
| VP_NONE='\033[00m' | |
| VP_RED='\033[01;31m' | |
| VP_GREEN='\033[01;32m' | |
| VP_YELLOW='\033[01;33m' | |
| VP_PURPLE='\033[01;35m' | |
| VP_CYAN='\033[01;36m' | |
| VP_WHITE='\033[01;37m' |
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
| // | |
| // Create media queries | |
| // - | |
| // Live example: http://goo.gl/M1pJ6c | |
| // - | |
| // Example: | |
| // .selector { | |
| // ... | |
| // .Mq(sm; { | |
| // width: 100px; |
| <?php | |
| if(!is_numeric($_GET['id']))die('Please specify a category ID'); | |
| $catId = $_GET['id']; | |
| $xml = simplexml_load_file('app/etc/local.xml'); | |
| $host = $xml->global->resources->default_setup->connection->host; | |
| $username = $xml->global->resources->default_setup->connection->username; | |
| $password = $xml->global->resources->default_setup->connection->password; |