Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cgati on github.
  • I am cgati (https://keybase.io/cgati) on keybase.
  • I have a public key whose fingerprint is 93DB 0F17 A926 A134 1322 C765 40C5 A0D5 51E0 FC12

To claim this, I am signing this object:

@cgati
cgati / landsend.rs
Created August 28, 2016 23:44
Beginning of an automated sale price checker for Lands' End products.
extern crate select;
extern crate hyper;
use hyper::*;
use std::io::Read;
use std::io::BufReader;
use std::io::BufRead;
use std::fs::File;
use select::document::Document;
use select::predicate::{Attr};
@cgati
cgati / game-of-life.go
Last active November 1, 2016 15:08
Conway's Game of Life
package main
import (
"fmt"
"math/rand"
"time"
)
type Point struct {
X int
package main
import (
"crypto/md5"
"flag"
"fmt"
"io"
"os"
"path/filepath"
)
import tkinter as tk
import youtube_dl
class Application(tk.Frame):
def __init__(self, master=None):
tk.Frame.__init__(self, master)
self.pack()
self.createWidgets()
def createWidgets(self):