I hereby claim:
- I am jkeyes on github.
- I am jkeyes (https://keybase.io/jkeyes) on keybase.
- I have a public key ASDDMRXzjwn4PPmjtW1Gnt2DD_4vsvg9HeY-3Rn9tU7aQAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style> | |
<div class='embed-container'> | |
<iframe src='{{ scheme }}://player.vimeo.com/video/{{ video_id }}' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> | |
</div> |
import compileall | |
sys.exit(not compileall.compile_dir('modules_dir', quiet=1)) |
require 'rubygems' | |
require 'nokogiri' | |
markup = <<-eom | |
<!DOCTYPE html> | |
<html> | |
<body> | |
<header> | |
<h1>HTML5</h1> | |
</header> |
deploy: | |
steps: | |
- heroku-deploy | |
- script: | |
name: install heroku-exit-status plugin | |
code: heroku plugins:install https://github.com/glenngillen/heroku-exit-status.git | |
- script: | |
name: migrate with south | |
code: heroku run "python manage.py migrate" -a $HEROKU_APP_NAME |
import time | |
from docraptor import DocRaptor | |
docraptor = DocRaptor() | |
print "Create PDF" | |
# resp = docraptor.create({ | |
# 'document_content': '<h1>python-docraptor</h1><p>Async Test</p>', | |
# 'test': True, | |
# 'async': True |
box: wercker/python | |
build: | |
steps: | |
- script: | |
name: "install lessc with sudo" | |
code: |- | |
curl https://npmjs.org/install.sh | sudo bash | |
sudo npm install less -g | |
- script: | |
name: "install lessc locally" |
@prettyprint python
class PrettyPreExtension (markdown.Extension):
def extendMarkdown(self, md, md_globals):
md.registerExtension(self)
self.processor = PreTreeprocessor()
self.processor.md = md
self.processor.config = self.getConfigs()
"use strict" | |
require("coffee-script") | |
stitch = require("stitch") | |
express = require("express") | |
argv = process.argv.slice(2) | |
pkg = stitch.createPackage( | |
# Specify the paths you want Stitch to automatically bundle up | |
paths: [ __dirname + "/app"], |
The following ReST:
|Acme(TM)|_ .. |Acme(TM)| unicode:: Acme U+2122 .. _Acme(TM): http://example.com
produces this HTML: