Skip to content

Instantly share code, notes, and snippets.

View michaelcolenso's full-sized avatar

michael colenso michaelcolenso

View GitHub Profile
@michaelcolenso
michaelcolenso / blogspot_to_jekyll.rb
Created October 18, 2011 05:39 — 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:
<!DOCTYPE HTML>
<html>
<head>
<script>
window.onload = function(){
var canvas = document.getElementById("myCanvas");
var context = canvas.getContext("2d");
// do stuff here
/**
* kato
*/
background: #f06;
background: linear-gradient(90deg, black, white);
min-height:99%;
@michaelcolenso
michaelcolenso / dabblet.css
Created December 20, 2011 22:26 — forked from LeaVerou/dabblet.css
orange-one-third-right
/**
* orange-one-third-right
*/
background: linear-gradient(left, white 66.666666666666667%, #e23c03 1%);
height: 100%;
@michaelcolenso
michaelcolenso / dabblet.css
Created December 20, 2011 22:26
orange-one-third-right
/**
* orange-one-third-right
*/
background: linear-gradient(left, white 66.666666666666667%, #e23c03 1%);
height: 100%;
@michaelcolenso
michaelcolenso / dabblet.css
Created December 20, 2011 22:29
orange-main-pg-gradient
/**
* orange-main-pg-gradient
*/
background: linear-gradient(bottom, white 20%, #42433f 25%, #e23c03 1%);
height: 100%;
background: linear-gradient(left, grey 66.666666666666667%, #e23c03 1%);
<!-- get my watched repos from github and display in the sidebar -->
<script>
$(document).ready(function () {
var html = "";
$.ajax( {
url : "https://api.github.com/users/michaelcolenso/watched",
dataType : "jsonp",
success : function ( returndata ) {
var qs = require('querystring');
require('http').createServer(function (req, res) {
if('/' === req.url) {
res.writeHead(200, { 'Content-Type': 'text/html' });
res.end([
'<form method="POST" action="/url">'
, '<h1>form it, bro.</h1>'
, '<fieldset>'
, '<label>personal info</label>'
, '<p>who are you, anyway?</p>'