I hereby claim:
- I am bennetthardwick on github.
- I am bennetthardwick (https://keybase.io/bennetthardwick) on keybase.
- I have a public key ASACy28IRn7SrsR-pHj1deFV51sTeBZVn3znY23ZCCy6zAo
To claim this, I am signing this object:
{ "dictionary": | |
[ | |
{ "type": "_activity", "word": "cleaning desks" }, | |
{ "type": "_activity", "word": "opening the fridge several times slowly"}, | |
{ "type": "_activity", "word": "spending too much time on the internet"}, | |
{ "type": "_activity", "word": "typing really fast"}, | |
{ "type": "_activity", "word": "using i3 window manager"}, | |
{ "type": "_activity", "word": "awkwardly presenting to a crowd"}, | |
{ "type": "_activity", "word": "forgetting your Twitter handle"}, | |
{ "type": "_activity", "word": "blowing bubbles"}, |
{ | |
"compilerOptions": { | |
"lib": ["es6"], | |
"module": "commonjs", | |
"target": "es5", | |
"moduleResolution": "node", | |
"declaration": true, | |
"rootDir": ".", | |
"outDir": "dist", | |
"types" : ["node"] |
Array.prototype.bsearch = function(value) { | |
let array = this; | |
let low = 0; | |
let high = array.length - 1; | |
while (low <= high) { | |
let mid = Math.ceil((low + high) / 2); |
{ | |
"City of Brisbane": { | |
"Inner suburbs": [ | |
"Bowen Hills", | |
"Brisbane", | |
"East Brisbane", | |
"Fortitude Valley", | |
"Herston", | |
"Highgate Hill", | |
"Kangaroo Point", |
{ | |
"4000": [ | |
"Brisbane", | |
"Brisbane Adelaide Street", | |
"Brisbane Gpo", | |
"Brisbane-city", | |
"Parliament House", | |
"Petrie Terrace", | |
"Spring Hill" | |
], |
// Find the range of a numerical array | |
// Array.range() | |
Array.prototype.range = function() { return this.reduce((a, b) => Math.max(a, b)) - this.reduce((a, b) => Math.min(a, b)); }; | |
// Find the sum of a numerical array | |
// Array.sum() | |
Array.prototype.sum = function() { return this.reduce((a, b) => a + b); }; | |
// Find the average of a numerical array | |
// Array.mean() |
#include <stdio.h> | |
int a = 0; | |
int increment(){ | |
return ++a; | |
} | |
int main(){ | |
printf("%d and %d\n", 1, 2); |
var stripe = require('stripe')('sk_test...'); | |
var app = require('express')(); | |
var bodyParser = require('body-parser'); | |
var magic_seven_lines = '<form action="/charge" method="POST">\ | |
<script\ | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button"\ | |
data-key="pk_test..."\ | |
data-amount="999"\ | |
data-name="Test!"\ |
var express = require('express'); | |
var server = express(); | |
var mongoose = require('mongoose'); | |
var async = require('async'); | |
var db = mongoose.connect('localhost:27017/text'); | |
var ChildSchema = new mongoose.Schema({ | |
text: String | |
}) |
I hereby claim:
To claim this, I am signing this object: