This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <script> | |
| window.onload = function(){ | |
| var canvas = document.getElementById("myCanvas"); | |
| var context = canvas.getContext("2d"); | |
| // do stuff here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * kato | |
| */ | |
| background: #f06; | |
| background: linear-gradient(90deg, black, white); | |
| min-height:99%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * orange-one-third-right | |
| */ | |
| background: linear-gradient(left, white 66.666666666666667%, #e23c03 1%); | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * orange-one-third-right | |
| */ | |
| background: linear-gradient(left, white 66.666666666666667%, #e23c03 1%); | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * orange-main-pg-gradient | |
| */ | |
| background: linear-gradient(bottom, white 20%, #42433f 25%, #e23c03 1%); | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| background: linear-gradient(left, grey 66.666666666666667%, #e23c03 1%); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test gist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- 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 ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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>' |
OlderNewer