I hereby claim:
- I am dkua on github.
- I am dkua (https://keybase.io/dkua) on keybase.
- I have a public key whose fingerprint is C0B1 FA59 DF22 4942 E70C D4FC 3884 0595 7325 33A5
To claim this, I am signing this object:
{ | |
"metadata": { | |
"name": "pyconca" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
type Response struct { |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys, os | |
if len(sys.argv) == 3 and sys.argv[1] == "you": | |
regular = u"abcdefghijklmnopqrstuvqxyz" | |
irregular = u"ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz" | |
flipped = dict(zip(regular, irregular)) | |
print u"\n (╯°□°)╯︵ %s" % "".join(flipped[c] for c in reversed(sys.argv[2])) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
## Sample POST request to /scripts/qmd_bench.sh | |
## | |
## { | |
## "args": ["1", "10"], | |
## "callback_url": "http://192.168.88.88:9090" | |
## } | |
MIN=$1 |
#lang scheme | |
(define (fact n) | |
(fact-tail n 1)) | |
(define (fact-tail n acc) | |
(if (= 0 n) | |
acc | |
(fact-tail (- n 1) (* acc n)))) |
export ANACONDAPATH=$HOME/anaconda; | |
anaconda() { | |
export PATH=$ANACONDAPATH/bin:$PATH; | |
} | |
alias "anaconda"="anaconda" | |
nanaconda() { | |
export PATH=$(echo $PATH | sed -e "s|$ANACONDAPATH/bin:||g"); | |
} | |
alias "nanaconda"="nanaconda" |
def binary_search(L, s): | |
'''(list) -> bool | |
Return True iff s is an element of L, otherwise False | |
REQ: L must be a sorted list | |
''' | |
# BASE CASE: If L is empty, it's not in the list | |
if L == []: | |
result = False | |
# RECURSIVE DECOMP: Pick the middle element, if we found | |
# what we're looking for, great. If not, then we've at |
<!-- Bibliography data --> | |
{{ $numParams := len .Params }} | |
{{ if eq $numParams 0 }} | |
{{ if isset .Page.Params "bibliography" }} | |
{{ $.Scratch.Set "bib_source" .Page.Params.bibliography }} | |
{{ end }} | |
{{ if isset .Page.Params "bibliography_ignore" }} | |
{{ $.Scratch.Set "bib_ignore" .Page.Params.bibliography_ignore }} | |
{{ end }} | |
{{ else if eq $numParams 1 }} |