Skip to content

Instantly share code, notes, and snippets.

Tilde.club is one cheap, unmodified Unix computer on the Internet.

That's it.

That’s all it is. It is no more than that.

If you look for more for it to be you will find nothing. Such computers are cheap and plentiful. They take a few minutes to set up and you launch them from a web browser and rent them by the hour. And even more importantly: As a human being reading Medium, you are not expected to worry about, write

@paked
paked / goth_auth.go
Last active October 25, 2017 04:31
Basic OAuth with goth in golang.
package main
import (
"flag"
"fmt"
"net/http"
"github.com/gorilla/mux"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
@paked
paked / 4003-evenorodd-efficient
Created March 7, 2015 01:36
Find even or odd numbers using the 4003 more efficiently!
9 9 2 9
9 2 8 2
7 7 0 0
@paked
paked / 4003-evenorodd
Created March 7, 2015 01:35
Find even or odd numbers using the 4003!
2 9 7 2
8 0 7 7
@paked
paked / hello_world.asm
Last active August 29, 2015 14:16
A hello-world-esque program in assembly!
; This program prints "Hack the planet!" to stdout
; @author Harrison <github.com/paked>
; I'd like to thank the academy for helping me get this far.
; build: `nasm -f elf64 -F stabs hello_world.asm`
; link: `ld -o hello_world hello_world.o`
; run: `./hello_world`
section .data ; group "data" related stuff into this section
@paked
paked / fib-gist
Created September 14, 2014 03:22
Gist used with go-fibonacci to make tests
#Path to this program
THISPROGRAM=/home/pi/programs/fib-gist
#Path to go-fibonacci
GOFIBONACCI=/home/pi/programs/go-fibonacci
#Path to the log file
GOFIBONACCILOGFILE=/home/pi/programs/log-everyhour-gist.txt
#Shell command to execute go-fibonacci and send its output to the logfile
@paked
paked / main.go
Created September 9, 2014 11:18
Component Based Game Engine Muckery
package main
import (
"github.com/veandco/go-sdl2/sdl"
"log"
"os"
)
type WindowDetails struct {
Title string