I hereby claim:
- I am rahim on github.
- I am rahim (https://keybase.io/rahim) on keybase.
- I have a public key whose fingerprint is 050A 50F9 D69A 1598 7B09 03BD 15CC 6A0C 4F0B 9167
To claim this, I am signing this object:
| 2.1.5 (main):0 > Time.now.strftime('%Y-%m-%d %H:%M:%S.%L') | |
| => "2015-03-06 10:09:12.974" | |
| 2.1.5 (main):0 > str = Time.now.strftime('%Y-%m-%d %H:%M:%S.%L') | |
| => "2015-03-06 10:09:26.497" | |
| 2.1.5 (main):0 > Time.parse(str) | |
| => 2015-03-06 10:09:26 +0000 | |
| 2.1.5 (main):0 > t = Time.parse(str) | |
| => 2015-03-06 10:09:26 +0000 | |
| 2.1.5 (main):0 > t.strftime('%Y-%m-%d %H:%M:%S.%L') | |
| => "2015-03-06 10:09:26.497" |
| gem install nokogiri -v '1.6.4.1' -V -- --use-system-libraries --with-xml2-include=/usr/local/Cellar/libxml2/2.9.2/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.2/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 |
I hereby claim:
To claim this, I am signing this object:
Based on http://www.chow.com/recipes/30356-easy-slow-cooker-pulled-pork
3kg pork shoulder, (perhaps 2.5kg after fat/skin trimmed)
Place in the slow cooker:
| diff --git i/app/scripts/app.coffee w/app/scripts/app.coffee | |
| index 802853c..633c952 100644 | |
| --- i/app/scripts/app.coffee | |
| +++ w/app/scripts/app.coffee | |
| @@ -1,5 +1,5 @@ | |
| angular.module('ampRetirementSimulatorApp', ['ngRoute', 'ngAnimate', 'ngSanitize', 'ui.bootstrap', 'ui.slider', 'highcharts-ng', 'ampCommon']) | |
| - .config ($routeProvider, $locationProvider, FlowProvider, CommentaryProvider) -> | |
| + .config ($routeProvider, $locationProvider, FlowProvider, CommentaryProvider, colors) -> | |
| # Enabling HTML5 mode gives us clean URLs in modern browsers | |
| # but we find that it breaks when the app is served from |
| function Robot(robot) { | |
| this.rng = new RandomNumberGenerator(); | |
| } | |
| // well, we need to do something... | |
| // whenever our robot is idle, this method gets called. | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot; | |
| robot = ev.robot; | |
| robot.ahead(this.rng.nextRandomNumber()*700); |
| #!/bin/bash | |
| # placed in .bashrc | |
| function sb { | |
| # TODO: do something to deal with paths that don't match shared workspace | |
| # perhaps open in vim? or prompt to open in vim? | |
| local FULLPATH=`readlink -f $1` | |
| local HOMEPATH=~ #/home/AHC/rahim.packirsaibo | |
| local HOMECHAR='~' |
| $('#password_prompt_form').submit(function() { | |
| $.post(this.action, { passcode: $('#passcode').val() }, function(data)){ | |
| $('#passcode_response').html(data); | |
| }); | |
| return false; | |
| }); |
| $('#password_prompt_form').submit -> | |
| $.post(this.action, { passcode: $('#passcode').val() }, (data) -> | |
| $('#passcode_response').html(data)) | |
| false |
| #!/bin/bash | |
| mogrify -strip -type optimize -filter Cubic -resize 500x -quality 75% *.jpg |