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
syntax on | |
set tabstop=2 | |
set expandtab | |
set ai |
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
appdirs==1.4.3 | |
appnope==0.1.0 | |
asn1crypto==0.24.0 | |
attrs==18.1.0 | |
backports-abc==0.5 | |
backports.functools-lru-cache==1.5 | |
backports.shutil-get-terminal-size==1.0.0 | |
bleach==2.1.3 | |
bokeh==0.13.0 | |
brewer2mpl==1.4.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
require 'agent' | |
#go routine | |
go! do | |
puts 'hello, world!' | |
end | |
#wait around | |
loop do | |
end |
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
require 'agent' | |
#go routine | |
go! do | |
puts 'hello, world!' | |
end | |
#wait around | |
loop do | |
end |
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 ( | |
"github.com/hoisie/web" | |
"net/http" | |
"strconv" | |
"time" | |
) | |
func hello(ctx *web.Context, num string) { |
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 ( | |
"github.com/hoisie/web" | |
"fmt" | |
) | |
func logName(ctx *web.Context, val string) { | |
name := ctx.Params["name"] |
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
\documentclass[12pt]{article} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\begin{document} | |
\title{Mathematics Work Sample (Stanford OHSx)} | |
\author{Dhaivat Pandya} | |
\maketitle | |
\textbf{Problem: } Let $\theta$ be a real number. Prove that the following two matrices are similar over the field of complex numbers: | |
\begin{equation} |
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 ( | |
"github.com/hoisie/web" | |
) | |
func hello(ctx *web.Context, val string) { | |
ctx.WriteString("hello " + val) | |
} |
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 ( | |
"github.com/hoisie/web" | |
) | |
func hello(val string) string { | |
return "hello " + val | |
} |
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
export GOPATH=`pwd` | |
cd src | |
go get github.com/hoisie/web |
NewerOlder