Skip to content

Instantly share code, notes, and snippets.

@tonussi
tonussi / factorial.py
Created November 22, 2012 17:37 — forked from ghoseb/factorial.py
The evolution of a Python Programmer
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal
@tonussi
tonussi / coderwall_widget_div.html
Created August 12, 2012 01:41 — forked from lp/coderwall_widget_div.html
HTML DIV for Coderwall Widget
<div id="coderwall_badges">
<script
type="text/javascript"
src="http://coderwall-widget.appspot.com/coderwallbadges.js/tonussi">
</script>
<script>
new CoderwallWidget({
'color':'#000',
'#fff':'#000',
'width':245,
@tonussi
tonussi / blogspot_to_jekyll.rb
Created August 4, 2012 18:05 — forked from kennym/blogspot_to_jekyll.rb
Migrate your blogger blog posts to jekyll.
#!/usr/bin/env ruby
#
# Convert blogger (blogspot) posts to jekyll posts
#
# Basic Usage
# -----------
#
# ./blogger_to_jekyll.rb feed_url
#
# where `feed_url` can have the following format: