This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
"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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A perl Data.Dumper clone for Python | |
Author: [email protected] | |
2011-07-08 | |
""" | |
#!/bin/env python | |
import sys | |
from types import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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$/); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: helvetica; | |
} | |
li:nth-last-child(-n + 4) { | |
opacity: 0.6; | |
} | |
li:nth-last-child(-n + 3) { | |
opacity: 0.4; |