This file contains hidden or 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
$generateKpiValue = function($metric_info) { | |
$words = explode('_', $metric_info['uid']); | |
array_shift($words); | |
return implode('', array_map('ucfirst', $words)); | |
}; |
This file contains hidden or 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
# Setting up dnsmasq for Local Web Development Testing on any Device | |
Please note, these instructions are for OS X Lion. | |
First, you need to get the IP address of your machine on your local network. In OS X, the easiest place to find this is in System Preferences > Network. If you're using DHCP on your local network, you will want to make sure your computer requests the same IP address when it renews it's IP address lease. I recommend configuring the DCHP Reservation settings on your router to accomplish this. Otherwise, you can specify a manual address in your network settings: | |
1. Go to *System Preferences > Network* | |
1. Click *Advanced...* |
This file contains hidden or 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
# in web browser | |
# http://uec-images.ubuntu.com/releases/karmic/release/ | |
# canonical karmic 64-bit AMI: | |
# ami-55739e3c | |
# canonical karmic 32-bit AMI: | |
# ami-bb709dd2 | |
# https://console.aws.amazon.com/ec2/home#c=EC2&s=Instances | |
# Launch Instance > Community AMIs |