This file contains hidden or 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
<html> | |
<style> | |
.container{ | |
} | |
.container > div{ | |
background-color:#DDD; | |
padding:10px; | |
} | |
.container > div:nth-child(odd){ |
This file contains hidden or 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 | |
usage() { | |
cat << EOF | |
Usage: $0 [OPTION]... COMMAND | |
Execute the given command in a way that works safely with cron. This should | |
typically be used inside of a cron job definition like so: | |
* * * * * $(which "$0") [OPTION]... COMMAND | |
Arguments: |
This file contains hidden or 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
//jtri: ok, can't quite wrap my head around this one: how do I turn [ [ 'mike', 'ryan' ], [ 'mike', 'jared' ], [ 'mike', 'jared' ] ] into {"mike": ["ryan", "jared", "jared"], "jared:["mike", "mike"], "ryan":["mike"]} ? | |
//from falafel | |
// Helpers | |
var inArray = function(x) { | |
return function(xs) { | |
return xs.indexOf(x) > -1 | |
} | |
} |
This file contains hidden or 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 | |
find . -name "*.html" -print | xargs sed -i 's/span1/col-md-1/g' | |
find . -name "*.html" -print | xargs sed -i 's/span2/col-md-2/g' | |
find . -name "*.html" -print | xargs sed -i 's/span3/col-md-3/g' | |
find . -name "*.html" -print | xargs sed -i 's/span4/col-md-4/g' | |
find . -name "*.html" -print | xargs sed -i 's/span5/col-md-5/g' | |
find . -name "*.html" -print | xargs sed -i 's/span6/col-md-6/g' | |
find . -name "*.html" -print | xargs sed -i 's/span7/col-md-7/g' | |
find . -name "*.html" -print | xargs sed -i 's/span8/col-md-8/g' | |
find . -name "*.html" -print | xargs sed -i 's/span9/col-md-9/g' |
This file contains hidden or 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
#BELEIVE IT!! | |
print("Jesus Saves"); | |
#import libaries | |
import sys; | |
import time; | |
import urllib; | |
from urllib import FancyURLopener; | |
from random import choice; |