I hereby claim:
- I am leehambley on github.
- I am leehambley (https://keybase.io/leehambley) on keybase.
- I have a public key whose fingerprint is B572 D3A1 75B5 C00B B038 2B16 9636 1275 BC29 7556
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| CREATE DATABASE tt; | |
| \c tt | |
| CREATE TABLE widgets ( | |
| id INT PRIMARY KEY NOT NULL, | |
| name TEXT NOT NULL | |
| ); | |
| INSERT INTO widgets (id, name) VALUES (456, 'AeroPress'); |
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| _ "github.com/lib/pq" |
To define the function, paste the following code into your shell:
curlstats ()
{
( echo "url_effective\t%{url_effective}\n";
echo "http_code\t%{http_code}\n";
echo "content_type\t%{content_type}\n";
echo "http_connect\t%{http_connect}\n";
echo "time_total\t%{time_total}\n";| DATES = [ | |
| "May 15", "May 16", "May 19", | |
| "June 17", "June 18", | |
| "July 14", "July 16", | |
| "August 14", "August 15", "August 17" | |
| ] | |
| def month(date); date.split[0]; end | |
| def day(date); date.split[1]; end |
| // https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works | |
| package main | |
| import ( | |
| "fmt" | |
| "golang.org/x/crypto/ssh" | |
| ) | |
| const privateKey = `content of id_rsa` |
| <!-- Cowardly Includes --> | |
| <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,800,300,600' rel='stylesheet' type='text/css'> | |
| <link href='http://fonts.googleapis.com/css?family=Anonymous+Pro' rel='stylesheet' type='text/css'> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> | |
| <link rel="stylesheet" href="http://pfefferle.github.io/openwebicons/packages/openwebicons/css/openwebicons-cdn.css"> | |
| <!-- End Cowardly Includes --> | |
| <div class="harrow-card"> | |
| <div class="harrow-card-title harrow-card-title_success"> | |
| <h3><strong class="harrow-card-title-environment">Production</strong> Deployment</h3> |
Forked from Captain Anonymous's Pen gpVRzj.
A Pen by Lee Hambley on CodePen.
| leehambleys-imac ~ $ sudo gem install --source http://gems.github.com/ chriseppstein-compass | |
| ERROR: Error installing chriseppstein-compass: | |
| chriseppstein-compass requires echoe (>= 0, runtime) | |
| leehambleys-imac ~ $ sudo gem install echoe | |
| Successfully installed echoe-3.1.1 | |
| 1 gem installed | |
| Installing ri documentation for echoe-3.1.1... | |
| Installing RDoc documentation for echoe-3.1.1... | |
| leehambleys-imac ~ $ sudo gem install --source http://gems.github.com/ chriseppstein-compass | |
| Successfully installed chriseppstein-compass-0.5.1 |
| # From the GitHub guide | |
| parse_git_branch() { | |
| branch=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'` | |
| if [ "$branch" = "(master)" ] ; then | |
| branch="$(tput setaf 1)${branch}$(tput sgr0)" | |
| elif [ "$branch" != '' ] ; then | |
| branch="${branch}" | |
| fi | |
| echo $branch | |
| } |