I hereby claim:
- I am chrisvaughn on github.
- I am chrisvaughn (https://keybase.io/chrisvaughn) on keybase.
- I have a public key ASDE0TDzs5l13DLOsN-LqLbuFmQC5ZWkoxxubvHR78DNqgo
To claim this, I am signing this object:
CREATE TABLE "public"."streaks" ( | |
"user_id" int4 NOT NULL, | |
"current_streak" int4 NOT NULL DEFAULT 0, | |
"longest_streak" int4 NOT NULL DEFAULT 0, | |
"last_checkin_dt" date NOT NULL, | |
CONSTRAINT "streaks_pkey" PRIMARY KEY ("user_id") NOT DEFERRABLE INITIALLY IMMEDIATE | |
) | |
-- update query | |
UPDATE streaks |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.openssh.port-forwards</string> | |
<key>OnDemand</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |
#!/bin/bash | |
# Install RStudio Server on a Google Compute Engine instance running Ubuntu Trusty | |
CRAN_MIRROR='cran.rstudio.com' | |
pushd /tmp | |
# Install up-to-date version of R --------------------------------------------- | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 |
I hereby claim:
To claim this, I am signing this object:
""" | |
Created on 2011-02-10 | |
@author: Bohdan Mushkevych | |
@author: Brian Curtin | |
http://code.activestate.com/lists/python-ideas/8982/ | |
""" | |
from datetime import datetime | |
import threading |
#!/bin/bash | |
wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
tar -xf libevent-2.0.21-stable.tar.gz | |
cd libevent-2.0.21-stable/ | |
./configure | |
make | |
make verify | |
sudo make install |
protected function getallheaders() | |
{ | |
$headers = array(); | |
foreach ($_SERVER as $name => $value) | |
{ | |
if (substr($name, 0, 5) == 'HTTP_') | |
{ | |
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value; | |
} | |
} |
ingredients: | |
- coffee: | |
amount : 17g | |
grind : fine (10 clicks on Hario MSS-1B) | |
- water: | |
amount : 200g | |
temp : 200° (30 seconds off boil) | |
prep: | |
- preheat aeropress with hot water | |
- rinse filter with hot water |
for i in {99..1} | |
do | |
let l=i-1 | |
say "$i bottles of beer on the wall. $i bottles of beer. Take 1 down, pass it arround, $l bottles of beer on the wall." | |
done |