Skip to content

Instantly share code, notes, and snippets.

Avatar

Jonathan Matthey JonathanMatthey

View GitHub Profile
View scripted-objects2
<!doctype html>
<html lang="en">
<head>
<title>Objects Ex 2</title>
<script>
var library = [
{
author: 'Bill Gates',
View scripted-objects1
<!doctype html>
<html lang="en">
<head>
<title>Cars ex 1</title>
<script>
var cars ={
Beetle: {
color: "orange",
year: 2005
@JonathanMatthey
JonathanMatthey / hn_seach.js
Created Mar 22, 2016 — forked from kristopolous/hn_seach.js
hn job query search
View hn_seach.js
function query() {
var
// HN is done with very unsemantic classes.
job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')),
query_list = Array.prototype.slice.call(arguments),
shown = 0, total = job_list.length;
// Traverses up the dom stack trying to find a match of a specific class
function up_to(node, klass) {
if (node.className === klass) {
@JonathanMatthey
JonathanMatthey / hudsongray-update-instructions.md
Last active Aug 29, 2015
Updating HudsonGray.com Instructions
View hudsongray-update-instructions.md
View osx-for-hackers.sh
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
View gist:213358cb7e5da8588ed2
PoetryIpsum - LoremIpsum generator from Poets like Oscar Wilde
---
http://www.pommyipsum.com/
http://www.cupcakeipsum.com/
---
DesignCuration?
CSSKING.com
View gist:88cc46a892f3afa045df
// 0RW3LL WAS ERE
//
// UNINSTALL BLOOMBERG - USE REUTERS...
// BLOOMBERG SCANDAL - PLEASE READ
// http://www.huffingtonpost.com/tag/bloomberg-terminal-scandal/
//
//Problem : Giga Ball
//Language : Javascript
//Compiled Using : V8
//Version : Node 0.10.25
View gist:d65a400ad9ea2c86b9ce
//Problem : The Verbal Literal
//Language : Javascript
//Compiled Using : V8
//Version : Node 0.10.25
//Input for your program will be provided from STDIN
//Print out all output from your program to STDOUT
//0rw3ll
//0rw3ll
var readline = require('readline'),
View gist:789f4b71ce1800ef7af9
// 0RW3LL WAS ERE
//
// UNINSTALL BLOOMBERG - USE REUTERS...
// BLOOMBERG SCANDAL - PLEASE READ
// http://www.huffingtonpost.com/tag/bloomberg-terminal-scandal/
//
//Problem : Mug Color
//Language : Javascript
//Compiled Using : V8
//Version : Node 0.10.25
View gist:7bd69534a58c771d1144
// all answers available at:
// bit.ly/fckbloomberg1
// bit.ly/fckbloomberg2
// bit.ly/fckbloomberg3
// bit.ly/fckbloomberg4
// 0RW3LL WAS ERE
//
// UNINSTALL BLOOMBERG - USE REUTERS...
// BLOOMBERG SCANDAL - PLEASE READ
You can’t perform that action at this time.