Skip to content

Instantly share code, notes, and snippets.

@maxfenton
maxfenton / sass compass sprites
Created April 18, 2012 00:19
.@canarymason's SASS/COMPASS sprites presentation snippet
@import "badges/*.png";
$badges-sprite-dimensions: true;
// @include all-badges-sprites
$badges: clean-start code--viewer color drupal-ui-patterns; // and the rest of the relevant list items
.badges {
@include horizontal-list;
@maxfenton
maxfenton / bb_1993_yauch.md
Created May 25, 2012 17:14
1993 interview with Adam Yauch from bOING bOING #13

SOURCE: http://boingboing.net/2012/05/04/1993-interview-with-adam-yauch.html


Does Snowboarding Bring Out the Buddha in Us? The Beastie Boys' Adam Yauch says "Yeah!"

Interview by Pierre Bourque

Im sitting by the phone, seconds away from a call from Beastie Boy Adam Yauch, who's playing at Lollapalooza. Like all the Beasties, Adam's a skilled buffoon onstage, but what is he like offstage? Will this be a chat with a merry prankster, a one way tongue wag with Marcel Marceau, or something all together different?

@maxfenton
maxfenton / fb_events_ics_bug.md
Created August 24, 2012 13:57
facebook ics events bug

All .ics files exported from Facebook events appear (incorrectly) on the day prior to the event.

Here's a case:

This event takes place all day on 08/26, in my neighborhood, in my time zone.

event page: https://www.facebook.com/events/483089031719027/

@maxfenton
maxfenton / gist:3670929
Created September 8, 2012 00:34
Twitter stylebot
.content-main {
float: none ;
width: 100% ;
}
.dashboard {
float: none ;
width: 100% ;
}
@maxfenton
maxfenton / langoliers.rb
Created September 30, 2012 04:39 — forked from robinsloan/langoliers.rb
Tweet delete script
#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'json'
require 'faraday'
# things you must configure
PATH_TO_DROPBOX = "/PATH_TO_YOUR_DROPBOX/tweets/" # you must create this folder
TWITTER_USER = "YOUR_USERNAME"
@maxfenton
maxfenton / jekyllsetup.md
Created November 30, 2012 20:50
Setting up jekyll

Trying to install Jekyll.

So I hit a little wall where the howtos weren't specific about what needed to be sudo'd and what didn't. The goal is to have a site in Dropbox that compiles with Jekyll for a book-length amount of text in blobby chunks. I'm on MacOS 10.8 on two computers, which is why Dropbox is the base for this project.

@maxfenton
maxfenton / facebook-override.css
Created January 2, 2013 02:26
Shared styles for Facebook.
a.item.clearfix {
border-style: none;
}
a.item.clearfix.sortableItem {
border-color: #eee;
}
body {
background-color: #e7ebf2;
@maxfenton
maxfenton / gist:4559685
Created January 17, 2013 20:57
What is git (to me?)
Trying to find a way to explain Git to a writer
==============================================
Git is a system of distributed version control.
At its simplest, it keeps track of all the versions and modifications to a file and lets you roll back in time through them. At its best, it lets multiple authors contribute to a body of work without overwriting each other.
Git begain as a way of maintaining source code, and Github is a commercial site for securely storing and accessing your projects. Github is almost like a giant social network of open and closed source projects. Everyone stores their code there.
For example, I have all of believermag.com stored there. I make changes on my local machine, push them up to GitHub (which keeps a history of changes on every single file) and then upload them to the Believer site. If anything happens to the Believer, I can get the whole code back. In addition, if I started working with a co-editor, they would pull their code from GitHub, make changes, push them back.
@maxfenton
maxfenton / findandreplace
Created January 21, 2013 01:12
Find and replace on Believer magazine IDML files before exporting to RTF.
```
(\n|~>|~-|~~)
```
@maxfenton
maxfenton / villanelle.html
Last active December 12, 2015 08:49
Troubleshooting
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Embroidery Trouble Shooting Page </TITLE>
<BASE HREF="http://sewingandembroiderywarehouse.com">
<META http-equiv="content-type" content="text/html; charset=iso-8859-1">
<META name="generator" content="Microsoft FrontPage 5.0">
<META name="author" content="Darcy Robert">
<META name="keywords" content="Embroidery Machine Trouble Shooting, improper thread, burrs, dry hook, needle size,improper timing, wrong needle, thread to tight, damaged hook, dull needle, Embroidery Machine Trouble Shooting, improper thread, burrs, dry hook, needle size,improper timing, wrong needle, thread to tight, damaged hook, dull needle, Embroidery Machine Trouble Shooting, improper thread, burrs, dry hook, needle size,improper timing, wrong needle, thread to tight, damaged hook, dull needle ">
<META name="description" content="Embroidery Trouble Shooting Answers to all your questions about Embroidery problems">