I hereby claim:
- I am parsingphase on github.
- I am parsingphase (https://keybase.io/parsingphase) on keybase.
- I have a public key whose fingerprint is 3AFF 7E72 CB22 4B5B FC6F DD2F 1D90 3D3C 598B 7770
To claim this, I am signing this object:
<?php | |
/** | |
* Created by PhpStorm. | |
* User: parsingphase | |
* Date: 19/09/14 | |
* Time: 09:29 | |
*/ | |
namespace Sismo; |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Created by richardg on 05/02/2015. | |
*/ | |
// ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise | |
// a promise calls its passed-in resolve() function when it's done ? | |
//var Promise = require("nodegit-promise"); | |
var Promise = require("promise"); |
console.log('Start...'); | |
var cluster = require('cluster'); | |
console.log('required'); | |
var isMaster = cluster.isMaster; | |
console.log('isMaster? ' + isMaster); | |
if (isMaster) { | |
// Listen for dying workers |
#!/bin/bash | |
echo | |
if [ ${TERM^^} = 'SCREEN' ]; then | |
echo 'Running under screen. CTRL-A ? for help' | |
else | |
echo 'Not in a screen; the following are available:' | |
screen -ls | |
fi; |
KexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 | |
# http://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-ssh-in-jenkins |
#!/bin/bash | |
param=$1 | |
param=$(echo "$param" | tr '[:lower:]' '[:upper:]') | |
case $param in | |
"ON") | |
state=TRUE | |
;; | |
"TRUE") | |
state=TRUE |
/* Developed from http://www.shortlist.com/tech/gadgets/heres-how-to-replace-twitters-heart-with-your-own-emoji | |
Copy / paste your own emojis into the content: lines below | |
Safari: Preferences -> advanced -> Style Sheet | |
Other browsers: https://userstyles.org/ | |
*/ | |
.HeartAnimationContainer { | |
visibility: hidden; | |
} | |
.HeartAnimationContainer:after { |
Help from: | |
http://toodlepip.co.uk/2014/installing-mongo-mongo-php-mac-osx-mavericks-mamp/ | |
https://jellystyle.com/2012/12/installing-php-extensions-with-mamp | |
Install MAMP: https://www.mamp.info/en/downloads/ | |
export PATH=/Applications/MAMP/bin/php/php5.6.10/bin:$PATH | |
PHP src from http://php.net/downloads.php - get same version as MAMP uses! |
export PS1="\u@rgmac:\w $ " | |
export PATH=/Users/richardg/Library/Python/2.7/bin/:$PATH | |
export PATH_DIST_PHP=$PATH | |
function setPhp56 { | |
export PATH=/usr/local/Cellar/php56/5.6.17/bin:$PATH_DIST_PHP | |
php --version | |
} | |
function setPhp7 { |