Skip to content

Instantly share code, notes, and snippets.

@davidrenne
davidrenne / install_robomongo.sh
Created September 20, 2016 12:42 — forked from saelfaer/install_robomongo.sh
This file installs robomongo on your ubuntu / mint linux install
View install_robomongo.sh
#!/bin/bash -e
# Script for installing Robomongo on Ubuntu.
# Copyright 2013 Binary Birch Tree
# http://www.binarybirchtree.com
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@davidrenne
davidrenne / oh_hell.py
Last active May 15, 2016 21:24 — forked from usrlocalben/oh_hell.py
"oh hell!" card game logic
View oh_hell.py
"""
"oh hell!" card game logic
(aka contract whilst)
benjamin yates & dave renne, 2016
renne house rules edition
"""
import sys
import random
from itertools import chain
@davidrenne
davidrenne / Dumper.py
Last active August 29, 2015 14:24 — forked from passos/Dumper.py
View Dumper.py
"""
A perl Data.Dumper clone for Python
Author: simon@log4think.com
2011-07-08
"""
#!/bin/env python
import sys
from types import *
View artoo-imm.js
(function(artoo) {
// Artoo Spider for http://www.immobiliare.it/info/ufficio-stampa
var scrape = {
iterator: '#wrapTestoStatiche',
data: {
'id': function() {
var id = artoo.$(this).find('.text-align_left a:last-child').attr('href');
if (id) {
id = id.match(/ImmoNews\-(\d+)\.pdf$/);
View gist:09bd9e775b42a9838033
// Detect CSS mask support and hack it into Modernizr
if ( document.body.style[ '-webkit-mask-box-image' ] !== undefined ) {
Modernizr.cssmasks = true;
$('html').addClass('cssmasks');
} else {
Modernizr.cssmasks = false;
$('html').addClass('no-cssmasks');
}
@davidrenne
davidrenne / dabblet.css
Created March 28, 2012 02:57 — forked from tylergaw/dabblet.css
Untitled
View dabblet.css
body {
font-family: helvetica;
}
li:nth-last-child(-n + 4) {
opacity: 0.6;
}
li:nth-last-child(-n + 3) {
opacity: 0.4;