Skip to content

Instantly share code, notes, and snippets.

View tampajohn's full-sized avatar

John Adams tampajohn

View GitHub Profile
@tampajohn
tampajohn / snowloader-deployment.yaml
Last active September 20, 2021 23:37
Snowloader deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: snowloader-deployment
labels:
app: snowloader
spec:
replicas: 1
selector:
matchLabels:
@tampajohn
tampajohn / main.go
Created May 25, 2018 20:05
Golang quine without fmt.Printf
package main
func main() {q := "\x60";(func(p,s string){print(p,q,p,q,",",q,s,q,s)})(`package main
func main() {q := "\x60";(func(p,s string){print(p,q,p,q,",",q,s,q,s)})(`,`)}`)}
@tampajohn
tampajohn / main.go
Last active July 23, 2021 03:55
Smallest golang quine I can make... 116 bytes unformatted
package main
func main(){a:="\140";print(h,a,h,a)}
var h=`package main
func main(){a:="\140";print(h,a,h,a)}
var h=`
@tampajohn
tampajohn / main.go
Last active May 25, 2018 18:06
Golang quine without magic character counts
package main
import "fmt"
func main() {
(func(s string) { fmt.Printf(s, 0x60, s) })(`package main
import "fmt"
func main() {
@tampajohn
tampajohn / dotnet-build-run.sh
Last active March 10, 2018 19:08
Go vs Kestrel
dotnet publish -o ./dotnet-test/ --runtime osx-x64 --self-contained
./dotnet-test/benchmarking