Skip to content

Instantly share code, notes, and snippets.

View jarobins's full-sized avatar

Jake Robinson jarobins

  • Georgia Tech Research Institute
  • Georgia
View GitHub Profile
@makestuff
makestuff / knight_rider.vhdl
Last active June 2, 2017 12:53
Blinky LEDs, Knight-Rider style.
--
-- Copyright (C) 2013 Chris McClelland
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
@jjrh
jjrh / gplus_ttopten.py
Last active December 23, 2015 11:19 — forked from jarobins/gplus_ttopten.py
- Implemented copy to clipboard for the trending stuff. - clicking buttons now also opens the link in your browser.
import urllib2, re, time
from Tkinter import *
import datetime
import webbrowser
class App:
def __init__(self, master):
self.master = master
frame = Frame(master, bg="")
frame.pack()
@amitsaha
amitsaha / pi_mp.py
Created March 14, 2012 12:02
Parallel Pi Calculation using Python's multiprocessing module
''' listing 6: pi_mp.py
Multiprocessing based code to estimate the value of PI
using monte carlo sampling
Ref: http://math.fullerton.edu/mathews/n2003/montecarlopimod.html
Uses workers:
http://docs.python.org/library/multiprocessing.html#module-multiprocessing.pool
'''
import random