Skip to content

Instantly share code, notes, and snippets.

View merrypuck's full-sized avatar

Aaron Landy merrypuck

View GitHub Profile
@merrypuck
merrypuck / linkedlist.c
Created November 17, 2013 20:20
LinkedList implementation in C.
#include <stdio.h>
#include <stdlib.h>
// Define node struct type
struct node
{
int data;
struct node *next;
};
@merrypuck
merrypuck / gist:84147acdbd33619bd8a7
Last active August 29, 2015 14:03
Angellist-Api Email Script
from urllib import urlopen
import json
import pymongo
from pymongo import MongoClient
from urllib import urlopen
import json
from flask import Flask, render_template, session, request, flash, url_for, redirect
from flask.ext.mail import Message, Mail
import os
from selenium import webdriver
import urllib
import os
import shutil
driver = webdriver.Chrome("./chromedriver")
# if not os.path.exists("xkcd"):
# os.mkdir("xkcd")
# else:
# shutil.rmtree('xkcd')