create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <?php | |
| // CLIENTSIDE: | |
| if (!Yii::app()->user->timezone): ?> | |
| <script type="text/javascript"> | |
| $(function () { | |
| var visitortime = new Date(); | |
| $.ajax({ | |
| type: "GET", |
| /** | |
| * 1. Selct a city in the "From" field list | |
| * 2. Open the "To" field list | |
| * | |
| * Some times there is a simple cities list without countries, which is very uncomfortable | |
| * This gist is for those cases | |
| * | |
| * 3. Copy this code into your Firebug (or other) console and execute | |
| * | |
| * Don't forget to perform step 2 every time you select a new "From" city |
| rrdtool lastupdate /path/to.rrd | sed ':a;N;$!ba;s/.*: \([0-9]*\)/\1/g' |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <?php | |
| /** | |
| * Creates and starts new timer. | |
| * @param array $tags an array of tags and their values in the form of "tag" => "value". Cannot contain numeric indexes for obvious reasons. | |
| * @param array $data optional array with user data, not sent to the server. | |
| * @return resource Always returns new timer resource. | |
| */ | |
| function pinba_timer_start($tags, $data = array()){} |
| #!/usr/bin/env bash | |
| RUBY_VERSION_MAJOR="2.1" | |
| RUBY_VERSION="2.1.2" | |
| apt-get -y update && apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
| cd /tmp | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/${RUBY_VERSION_MAJOR}/ruby-${RUBY_VERSION}.tar.gz | |
| tar -xvzf ruby-${RUBY_VERSION}.tar.gz | |
| cd ruby-${RUBY_VERSION} && ./configure --prefix=/usr/local && make && make install |