Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
#!/usr/bin/env python | |
"""Modification of PyGTK's EntryCompletion example with shell-like tab completion. | |
Tab works normally unless there's content, the cursor is at the end of it, | |
and nothing is selected, preserving intuitive tab-cycling behaviour in all | |
reasonable cases while still allowing comfortable tab completion. | |
(To tab-cycle into a field with content in it and then tab-complete, just press | |
End before you request completion) | |
If no completions are found, users may press Tab again to go to the next field. |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Fabric 0.9/1.x – Synchronize files in a project folder with webserver | |
from fabric.api import env | |
from fabric.contrib.project import rsync_project | |
env.hosts = ['domain.com'] | |
env.path = '/home/user/project/' |
#!/usr/bin/env python2 | |
""" | |
Other Repositories of python-ping | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
* https://bitbucket.org/delroth/python-ping |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
import datetime | |
from flask import Flask | |
from mixins import db | |
from models import Post, User |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
/* | |
* Grammar to generate an S-Expressions parser for Javascript using http://pegjs.majda.cz/ | |
*/ | |
start | |
= expression* | |
integer "integer" | |
= digits:[0-9]+ { return parseInt(digits.join(""), 10); } |
// From Lindsey Simon | |
/** | |
* This is a hack to make text input focus work in Android/PhoneGap | |
* where calling el.focus() doesn't actually have the blinking cursor | |
* effect = scumbag. | |
* @param {Zepto} $el A zepto element. | |
*/ | |
ws.focus = function($el) { | |
var el = $el.get(0); | |
el.focus(); |
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |