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
input[type=email] | |
{ | |
display: inline-block; | |
width: 210px; | |
padding: 4px; | |
font-size: 13px; | |
line-height: 18px; | |
height: 18px; | |
color: #808080; | |
border: 1px solid #ccc; |
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
/* Please only use this workaround if you really just HAVE TO use wikipedia today */ | |
#mw-page-base, #mw-head-base, #mw-head, #mw-panel, #footer, #content { display: block !important; } | |
#mw-sopaOverlay { display: none; } | |
/* SOPA HAS WON, IT HAS BLACKED OUT WIKIPEDIA ;) */ |
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
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-agent="Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3" |
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
$("#timeTable > table > tbody > tr").each(function() { var hour = ($(".hour", this).text()); var times = []; $(".timeData", this).each(function() { times.push($(".info01", this).text().replace(/\s+/g, '')+" "+$(".info02", this).text().replace(/\s+/g, '')+" "+$(this).attr('class').replace(/timeData|dir|\s+/g, '')); }); console.log(hour, times)}) |
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 add_linkage(doc){ | |
var package=prompt('Choose a package or leave it blank',''); | |
if(package==null){ | |
alert('Command cancelled by user'); | |
} | |
var library=doc.library; | |
var items=library.items; | |
var items_length=items.length; | |
for(var h = 0; h < items_length; h++){ |
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
static VALUE | |
rb_ary_transpose_test(VALUE ary) | |
{ | |
long elen = -1, alen, i, j, k; | |
VALUE tmp, result = 0; | |
// get the longest sub-array so we know how much to extend to | |
long elen_max = -1; | |
for (i=0; i<alen; i++) { |
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 | |
# This shell script was created at solowizard.com | |
# | |
# http://github.com/tommyh/solo_wizard | |
# (c) 2012, Tom Hallett | |
# This script may be freely distributed under the MIT license. | |
pushd `pwd` | |
if rvm --version 2>/dev/null; then | |
gem install soloist |
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
require 'json' | |
require 'date' | |
# SETTINGS | |
PAGE = 1 | |
PER_PAGE = 10 | |
AUTH = "" # basic authentication info | |
REPO = "" # eg zaki/dotfiles | |
class PR |
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
using UnityEngine; | |
using System.Collections; | |
public class #SCRIPTNAME# : MonoBehaviour | |
{ | |
void Awake() | |
{ | |
} | |
} |
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
source "https://rubygems.org" | |
gem "mechanize" |