Skip to content

Instantly share code, notes, and snippets.

 ​[object Object] :trollface:

Aaron Patterson tenderlove

 ​[object Object] :trollface:
View GitHub Profile

"I have a trick that makes things easier for me. Since writing is very hard and rewriting is comparatively easy and rather fun, I always write my scripts all the way through as fast as I can, the first day, if possible, putting in crap jokes and pattern dialogue—“Homer, I don’t want you to do that.” “Then I won’t do it.” Then the next day, when I get up, the script’s been written. It’s lousy, but it’s a script. The hard part is done. It’s like a crappy little elf has snuck into my office and badly done all my work for me, and then left with a tip of his crappy hat. All I have to do from that point on is fix it. So I’ve taken a very hard job, writing, and turned it into an easy one, rewriting, overnight. I advise all writers to do their scripts and other writing this way. And be sure to send me a small royalty every time you do it." - John Swartzwelder

The New Yorker, John Swartzwelder, Sage of “The Simpsons”

ebith / Communication.c
Created Jan 13, 2018
Serial communication, USART, LUFA Library, AVR
View Communication.c
#include <stdio.h>
#include <avr/interrupt.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#define MAX_BUFFER 32
char b[MAX_BUFFER];
uint8_t l = 0;
ISR(USART1_RX_vect) {
char c = fgetc(stdin);
printf("%c", c);
View gist:7885344
git clone
cd ruby
git svn init svn+ssh://
mv .git/refs/remotes/origin/trunk .git/refs/remotes/git-svn
git svn rebase
# done
View app.rb
rails: {
app: {name: "sample_app"},
deploy: {
repository: ""