Skip to content

Instantly share code, notes, and snippets.

View machinic's full-sized avatar

Jerel Johnson machinic

View GitHub Profile
anonymous
anonymous / grab_fulltext_mefi_favorites.py
Created July 9, 2014 22:00
Takes a Mefi Favorites Export file and outputs an HTML file containing the full content of all comments.
#!/usr/bin/env python
import bs4
import sys
import urllib2
import codecs
def grab_comment(url, comment_id):
print "[+] Retrieving comment #{} from {!r}...".format(comment_id, url)
thread = urllib2.urlopen(url)
anonymous
anonymous / Reactive-CSS-Transitions.markdown
Created February 12, 2014 18:57
A Pen by Yogev Ahuvia.

Reactive CSS Transitions

These simple CSS blocks are alive. Each block reacts to its neighbors by transforming border-radius and color. Endless block formations, endless reactions between them.

A Pen by Yogev Ahuvia on CodePen.

License.

@cshirky
cshirky / itp_debugging.md
Created November 12, 2012 19:27
A Brief Guide to Debugging

A BRIEF INTRODUCTION TO DEBUGGING

“As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right 
as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that 
a large part of my life from then on was going to be spent in finding mistakes in my own programs.”
— Maurice Wilkes, 1949

This is a guide to debugging your projects at ITP and beyond. It is not a guide to specific techniques for debugging Processing sketches or physical computing projects; it is a guide to the basic ideas and goals of debugging.