Skip to content

Instantly share code, notes, and snippets.

View DavidGinzberg's full-sized avatar

David Ginzberg DavidGinzberg

View GitHub Profile
@voxpelli
voxpelli / _intro.md
Created March 9, 2012 10:20
Adding Flattr in Jekyll

This is the three parts that I'm using on my Jekyll blog (http://voxpelli.com/) to add Flattr.

I add the "default.html" part in the bottom of the default layouts HTML (the one used by posts). I add it just prior to closing body-tag. Make sure to change the "uid" parameter in the s.src variable to be your Flattr username.

I then add the a-tag in "post.html" in the place where I want the flattr button to appear. Since my blog supports both swedish and english posts I define a language attribute - if you don't use that in your Jekyll-blog then feel free to leave it out. Just be sure to change the domain in the href-attribute to be to your site.

Lastly I add the "default_head.html" part in the head-section of the default layouts HTML (the one used by posts). I also define a language attribute here - if you don't use such an attribute in your Jekyll-blog then switch it to something else or leave it out. Make sure to change the domain and to change the "uid" parameter in the s.src variable to be

@s2t2
s2t2 / .gitignore
Last active September 19, 2015 04:01
extract data from google drive spreadsheet (ruby). this has been made into a gem -- https://github.com/data-creative/google-sheet-reader-ruby
*.p12
*.json
@joshkpeterson
joshkpeterson / fear.txt
Created January 1, 2016 21:04
Fear and the Creative Process: A Manifesto for Creative Survival - Valerie Curtis-Newton
BREATHE.
Find the Fear in the room and face it.
Its presence says the work is important.
Everyone is afraid. It is nothing to be ashamed of.
Things that make you afraid reveal your heart.
Scared is ok. Paralyzed is not so much. Do what you must to move—to take even the smallest step forward each day.
You are not your work. The things we create are not who we are.
BREATHE.
Leap, if you hope to fly.
Do the hardest, scariest thing first. No matter how badly it may go, you won’t die. You’ll learn something about the work and about yourself.