create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
ack-grep --print0 -irl 'Online' | xargs -0 -L1 sed -i 's/Online/Healthy/g' |
# A class-based template for jQuery plugins in Coffeescript | |
# | |
# $('.target').myPlugin({ paramA: 'not-foo' }); | |
# $('.target').myPlugin('myMethod', 'Hello, world'); | |
# | |
# Check out Alan Hogan's original jQuery plugin template: | |
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
# | |
(($, window) -> |
This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.
slow 3G # Slow network on default eth0 down to 3G wireless speeds
slow reset # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet with a high latency
slow dsl -b 1mbps # Simulate DSL with a slower speed than the default
slow modem-56k -d eth0 # Simulate a 56k modem on the eth1 device. eth0 is unchanged.
/** | |
* Goes through the given directory to return all files and folders recursively | |
* @author Ash Blue ash@blueashes.com | |
* @example getFilesRecursive('./folder/sub-folder'); | |
* @requires Must include the file system module native to NodeJS, ex. var fs = require('fs'); | |
* @param {string} folder Folder location to search through | |
* @returns {object} Nested tree of the found files | |
*/ | |
// var fs = require('fs'); | |
function getFilesRecursive (folder) { |
(Full description and list of commands at - https://npmjs.org/doc/index.html)
Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
google.load("maps", "3.x", {callback: initialize, other_params:'sensor=false&libraries=places'}); | |
function initialize() { | |
var input = document.getElementById('id_location'); | |
var autocomplete = new google.maps.places.Autocomplete(input, { types: ['(cities)'], region:'EU' }); | |
google.maps.event.addListener(autocomplete, 'place_changed', function() { | |
var place = autocomplete.getPlace(); | |
if (!place.geometry) { |
<?php | |
echo phpinfo(); | |
?> |