Skip to content

Instantly share code, notes, and snippets.

View jamesbvaughan's full-sized avatar
🎹

James Vaughan jamesbvaughan

🎹
View GitHub Profile
// ==================================================
// ====== James' line dot Perlin noise thing ========
// ========= (heavily inspired by Corbin) ===========
// ==================================================
import themidibus.*;
MidiBus myBus;
// ==================================================
// Mess with these variables
#!/bin/sh
set -e
echo "Cloning necessary repositories..."
git clone https://github.com/neomutt/neomutt
git clone --recursive https://github.com/neomutt/neomutt.github.io
git clone https://github.com/neomutt/doxygen
cd neomutt
#!/usr/bin/env python
from bs4 import BeautifulSoup
from twilio.rest import TwilioRestClient
import json
import os
import re
import requests
url = 'https://postmates.com/los-angeles'
@jamesbvaughan
jamesbvaughan / open_vim.py
Created February 27, 2017 21:03
Gists for the scratchpad post
#!/usr/bin/env python
from subprocess import run
def main():
run(['vim'])
if __name__ == "__main__":
main()
@jamesbvaughan
jamesbvaughan / menu.py
Created December 10, 2015 02:20
Python script to print out the UCLA daily dining menus
#!/usr/bin/python
# Print out the current menu offerings at the UCLA dining halls
# Usage: menu
import re
import requests
from bs4 import BeautifulSoup
html = requests.get("http://menu.ha.ucla.edu/foodpro/default.asp")