# install system dependencies: ffi and ssl
sudo yum install libffi-devel # assumming openssl-devl is installed.
# clone project
git clone https://github.com/nprapps/quotable.git
cd quotable
- https://saml.github.io
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 | |
echo -e "status\t size\t time(secs)" | |
for x in "$@" | |
do | |
curl -so /dev/null -w "%{http_code}\t%{size_download}\t%{time_total} $x\n" "$x" & | |
done | |
wait |
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 | |
if (( $# < 1 )) | |
then | |
echo "Usage: $0 prefix" | |
exit 1 | |
fi | |
p="$1" |
・。゜ ・・゜ ・ 。。 ゜・。 。 。 ゜。・゜ ❅。 ❅・。・。 ゜・ 。゜ ・ 。。゜・。 ❅゜ ゜ ・ 。゜・ ❆゜ ・。❅゜❅ ゜・ 。 ❅゜ ゜ ・。゜ ・・❆ ゜・ 。 ゜❅゜ ゜゜・。 。 ゜・。 。 。゜ ・ 。 ❆・❅ ゜゜・。 ゜・ ❆゜・ 。 ❅゜ ゜・。゜ ・・゜ ・ 。。 ゜・。 。 。 ゜。・゜ ❅。 ❅・。・。 ゜・ 。゜ ・ 。。゜・。 ❅゜ ゜ ・ 。゜・。゜ ・・゜ ・ 。。 ゜・。 。 。 ゜。・゜ ❅。 ❅・。・。 ゜・ 。゜ ・ 。。゜・。 ❅゜ ゜ ・ 。゜・ ❆゜ ・。❅゜❅ ゜・ 。 ❅゜ ゜ ・。ㅇㅇ゜ ・・❆ ゜・ 。 ゜❅゜ ゜゜・。 。 ゜・。 。 。゜ ・ 。 ❆・❅ ゜゜・。 ゜・ ❆゜・ 。 ❅゜ ゜・。゜ ・・゜ ・ 。。 ゜・。 。 。 ゜。・゜ ❅。 ❅・。・。 ゜・ 。゜ ・ 。。゜・。 ❅゜ ゜ ・ 。゜・。゜ ・・゜ ・ 。。 ゜・。 。 。 ゜。・゜ ❅。 ❅・。・。 ゜・ 。゜ ・ 。。゜・。 ❅゜ ゜ ・ 。゜・ ❆゜ ・。❅゜❅ ゜・ 。 ❅゜ ゜ ・。゜ ・・❆ ゜・ 。 ゜❅゜ ゜゜・。 。 ゜・。 。 。゜ ・ 。 ❆・❅ ゜゜・。 ゜・ ❆゜・ 。
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
D G A D G A | |
Oh my way back home is long. Particularly long. | |
D/F# G A Bm Em A D | |
Cause I'm walking slow. So I may bump into you. I may bump into you. | |
D G A D G A | |
Oh my way back home is long. Particularly long. | |
D/F# G A Bm Em A D | |
Cause I'm walking slow. Unnecessarily slow. I may bump into you. | |
G A F#m Bm Em A D | |
Would you be a cop? I'd be a thief. So you can chase after me everyday. |
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
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"strings" |
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
// Expr is something that can be simplified. | |
type Expr interface { | |
simplify() Expr | |
} | |
// binary operator on int. | |
type operator struct { | |
op func(a int, b int) int | |
a Expr |
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
use strict; | |
use warnings; | |
foreach my $line (<STDIN>) { | |
if ($line =~ /FILEVERSION/) { | |
if ($line =~ /\S+\s+(\S+).+/) { | |
print "$1\n"; | |
} | |
} | |
} |
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 | |
if [[ -z ${ORIGINALGOPATH+x} ]] | |
then | |
ORIGINALGOPATH="$GOPATH" | |
GOPATH="$(pwd):$ORIGINALGOPATH" | |
echo "Activating..." | |
echo "GOPATH = $GOPATH" | |
deactivate() { |
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
-- MarI/O by SethBling | |
-- Feel free to use this code, but please do not redistribute it. | |
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM. | |
if gameinfo.getromname() == "Super Mario World (USA)" then | |
Filename = "DP1.state" | |
ButtonNames = { | |
"A", | |
"B", | |
"X", |