I hereby claim:
- I am Sammons on github.
- I am sammons (https://keybase.io/sammons) on keybase.
- I have a public key whose fingerprint is ECD9 204D 43AC 7442 E91F E701 ACCE B0D6 9D3F 775F
To claim this, I am signing this object:
#swap cap+control http://askubuntu.com/questions/412576/swap-caps-lock-and-ctrl-in-ubuntu-13-10 | |
#GIT | |
sudo apt-get install git | |
git config --global user.name "Dopaskulous magic" | |
git config --global user.email [email protected] | |
#RUBY | |
sudo apt-get update | |
curl -L get.rvm.io | bash -s stable --auto |
//takes an array, and a comparator for its elements | |
// e.g. function(a,b) {return a > b} | |
var heap = function(ary, comp) { | |
this.array = []; | |
this.comparator = comp; | |
this._swap = function(a,b) { | |
var tmp = this.array[a]; | |
this.array[a] = this.array[b]; | |
this.array[b] = tmp |
.data | |
spec: .byte 'a','b','\0' | |
.text | |
main: | |
li $v0, 1 # Load 1 to $v0 so we tell the OS to print | |
li $t1, 5 # $t1 = 5 | |
move $a0, $t1 # $a0 = $t1, because $a0 is value printed |
function quicksort( array, comparator ) { | |
var recur = function(left, right) { | |
if (left < right) { | |
var par = partition( left, right ) | |
recur( left, par - 1 ) | |
recur( par + 1, right ) | |
} | |
} | |
var choose_pivot = function( left, right ) { |
var express = require('express'); | |
var clc = require('cli-color'); | |
var fs = require('fs'); | |
var EventEmitter = require('events').EventEmitter; | |
var util = require('util') | |
var http = require('http').Server(app); | |
var io = require('socket.io')(http); | |
var app = express(); |
# compiler | |
# clang rocks, try it sometime | |
# clang, gcc, cc, etc. | |
CC = gcc | |
# these are C++ flags | |
# -std=c++11 -ggdb `pkg-config --cflags opencv` | |
CFLAGS = | |
# other includes you want in the command to compile |
I hereby claim:
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct offset_node_s { | |
struct offset_node_s * next; | |
unsigned long offset; | |
}; | |
typedef struct offset_node_s offset_node; |
"use strict" | |
var properties = { | |
'color' : [ 'red', 'green', 'purple' ], | |
'count' : [ 1, 2, 3 ], | |
'shading' : [ 'solid', 'striped', 'open' ], | |
'symbol' : [ 'diamond', 'squiggle', 'oval'] | |
}; | |
function Card(characteristics) { |
var pretend_db = [ | |
'hello guys lets hang out soon', | |
'hello ben', | |
'what is up?', | |
'hey when are you coming to the bay?', | |
'yo', | |
'when are we getting together?', | |
'hig', |