This Gist has been moved to https://github.com/lbgists/rain.sh.
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
Spot Colors: | |
PANTONE 116 U | |
PANTONE 123 U | |
PANTONE 1245 U | |
PANTONE 192 U | |
PANTONE 296 U | |
PANTONE 376 U | |
PANTONE 7504 U |
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 | |
# @author Adriano Rosa (http://adrianorosa.com) | |
# @date: 2014-05-13 09:43 | |
# | |
# Bash Script to create a new self-signed SSL Certificate | |
# At the end of creating a new Certificate this script will output a few lines | |
# to be copied and placed into NGINX site conf | |
# | |
# USAGE: this command will ask for the certificate name and number in days it will expire |
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
require 'sinatra' | |
require 'net/http' | |
get '/' do | |
is_up = Net::HTTP.start('play.noobonicplague.com').head('/') | |
code = is_up.code | |
if code == '200' | |
"It's up!" | |
else |
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
# by aji, http://github.com/aji | |
# (couldn't be bothered to log into account at work) | |
import sys | |
alphabet = sys.argv[1] | |
length = int(sys.argv[2]) | |
# yields every possible permutation of n elements of alphabet | |
def each(n=length): |
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
\documentclass[12pt]{article} | |
%Margin - 1 inch on all sides | |
\usepackage[letterpaper]{geometry} | |
\geometry{top=1.125in, bottom=1.125in, left=1.125in, right=1.125in} | |
%Doublespacing | |
\usepackage{setspace} | |
\doublespacing |
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
JAVA=java | |
JAVAC=javac | |
MAIN=NameOfMainClass | |
all: | |
cd bin | |
${JAVAC} ../src/* | |
run: | |
cd bin |
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
13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF | |
| FUCKIN PUSSIES | |
13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS | |
13:16 <luite> | hello | |
13:16 <ChongLi> | somebody has a mental illness! | |
13:16 <merijn> | Wow...I suddenly see the error of my ways and feel | |
| compelled to write Node.js! | |
13:16 <genisage> | hi | |
13:16 <luite> | you might be pleased to learn that you can compile | |
| haskell to javascript now |
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
main = lambda port: (lambda dt: (lambda mm: (lambda n: (map(lambda r: (lambda | |
rr: setattr(n, *rr) if (type(rr) is tuple and len(rr) == 2) else None)(r()), | |
[lambda: map(setattr, *zip(*[(n, m, __import__(m)) for m in mm.m.decode('ba' | |
'se64').split()])), lambda: map(n.s['signal.signal'], (n.s['signal.SIGINT'], | |
n.s['signal.SIGTERM']), [lambda s, f: (n.s['sys.exit']() if n.f else [n.sa( | |
mm.l[0], n.o)] and n.u('f', True) or n.fc(n.l))] * 2), lambda: setattr(mm, | |
'l', mm.l.decode('base64').split('~~~')), lambda: ('sw', n.s['types.Functio' | |
'nType'] (compile("try:\n\tv = n.select.select(n.so, n.w(), [])\nexcept n.s" | |
"elect.error, e:\n\tif e[0] != n.errno.EINTR: raise\nelse:\n\tn.u('sr', v)", | |
'', 'exec'), dict(n=n, OSError=OSError))),lambda: ('l', n.s['socket.socket'] |
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
sub, sup { | |
/* Specified in % so that the sup/sup is the | |
right size relative to the surrounding text */ | |
font-size: 75%; | |
/* Zero out the line-height so that it doesn't | |
interfere with the positioning that follows */ | |
line-height: 0; | |
/* Where the magic happens: makes all browsers position |
NewerOlder