Keybase proof
I hereby claim:
- I am jashmenn on github.
- I am eigenjoy (https://keybase.io/eigenjoy) on keybase.
- I have a public key whose fingerprint is 1788 8F0E 2E14 207F 54A2 9CFC CAFA 3035 D99F 10A4
To claim this, I am signing this object:
/* | |
* Author: Nate Murray | |
* URL: http://fullstack.io | |
* Project Name: This is the CSS file for Popcorn! The best way to learn AngularJS and Ruby on Rails | |
* | |
*/ | |
/* We start by loading the blocktie.co bootstrap 3 "Bolt" */ | |
/* |
// app/assets/javascripts/app/controllers/movies.js | |
'use strict'; | |
angular.module('popcornApp') | |
.controller('MoviesController', ["$scope", | |
function($scope) { | |
$scope.movies = [ | |
{ | |
youtubeId: "8Eg6yIwP2vs", |
#!/usr/bin/env bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional, | |
# Only full ruby name is supported here, for short names use: | |
# echo "rvm use 1.9.3" > .rvmrc | |
environment_id="ruby-1.9.3-p194@ios" |
BTCmsg Protocol v1 (2011-09-18) | |
=============================== | |
Each message is represented by multiple payment which is calculated by | |
the following algorithm: | |
1. Two first chars for message type ('01' for md5, '02' for ascii). | |
2. Then the message in hex (python binascii.hexlify). | |
3. Split the long string to groups of 4 hex digits. | |
4. Each group of 4 hex (e.g. 2 ascii letters from the message) is | |
represented by a payment in satoshi (maximum 0xffff=65535). |
// This gist is an OSX Playground to draw parabola-like lines. | |
// If you'd like to get lessons like this in your inbox, sign up at https://fullstackedu.com | |
// Preview results image: http://i.imgur.com/h2VeRDv.png | |
import Cocoa | |
import XCPlayground | |
// create a place to view the image we're going to draw | |
var view = NSImageView(frame: | |
NSRect(x: 0, y: 0, width: 300, height: 300)) |
I hereby claim:
To claim this, I am signing this object:
function sum (fn, xs) { | |
var toRet = 0; | |
for (var i = 0, ii = xs.length; i < ii; i++) { | |
toRet += fn(xs[i], i, xs); | |
} | |
return toRet; | |
} | |
function update(t, o) { | |
for (var k in o) { |
a = { | |
"annotations" => [ | |
{ | |
"x" => 19, | |
"y" => 20, | |
"w" => 50, | |
"h" => 50, | |
"predictions" => { | |
"green" => 0.2, |
;; source: http://steve.yegge.googlepages.com/my-dot-emacs-file | |
(defun rename-file-and-buffer (new-name) | |
"Renames both current buffer and file it's visiting to NEW-NAME." | |
(interactive "sNew name: ") | |
(let ((name (buffer-name)) | |
(filename (buffer-file-name))) | |
(if (not filename) | |
(message "Buffer '%s' is not visiting a file!" name) | |
(if (get-buffer new-name) | |
(message "A buffer named '%s' already exists!" new-name) |
upgraded to a real git repository. Please see: http://github.com/jashmenn/irssi-growl |