A full-featured markdown parser and compiler, written in javascript. Built for speed.
node v0.4.x
$ node test --bench
SERVER = 'imap.gmail.com' | |
USERNAME = 'XXX' | |
PW = 'XXX' | |
require 'net/imap' | |
require 'net/smtp' | |
require 'tmail' | |
require 'maruku' | |
def to_markdown(text) | |
Maruku.new(text).to_html |
# first make a new branch off the current branch | |
git rebase -i master |
{ | |
"Version": "2008-10-17", | |
"Statement": [{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { "AWS": "*" }, | |
"Action": ["s3:GetObject"], | |
"Resource": ["arn:aws:s3:::bucket/*" ] | |
}] | |
} |
{ | |
"Version": "2008-10-17", | |
"Id": "b2cc31d0-cc91-4285-a658-473099d2c867", | |
"Statement": [ | |
{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, |
task :deploy do | |
system 'jekyll & s3cmd sync --delete-removed _site/ s3://www.example.com/ --verbose' | |
end |
<link rel="stylesheet" type="text/css" href="style.css?<?php echo date('l jS \of F Y h:i:s A'); ?>" /> |
@github_double.stub_chain(:gists, :all).and_return([]) | |
@github_double.gists.should_receive(:all).with({:per_page=>100, :page=>1}).and_return(all_gists_page_1) | |
@github_double.gists.should_receive(:all).with({:per_page=>100, :page=>2}).and_return([]) |
var items = $('.alphaList li').get(); | |
items.sort(function(a,b){ | |
var keyA = $(a).text(); | |
var keyB = $(b).text(); | |
if (keyA < keyB) return -1; | |
if (keyA > keyB) return 1; | |
return 0; | |
}); |
{ | |
"name": "My App", | |
"description": "This my app.", | |
"version": "1.0", | |
"manifest_version": 2, | |
"app": { | |
"urls": [ | |
"http://example.com" | |
], | |
"launch": { |