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
FIRST_NAMES = """ | |
JAMES | |
JOHN | |
ROBERT | |
MICHAEL | |
WILLIAM | |
DAVID | |
RICHARD | |
CHARLES | |
JOSEPH |
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
#!/bin/sh | |
UPDATE="git update-index --remove $@" | |
echo "git filter-branch --prune-empty -f --index-filter '$UPDATE' HEAD" | |
git filter-branch --prune-empty -f --index-filter "$UPDATE" HEAD |
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
diff --git a/plugins/Order/config.yaml b/plugins/Order/config.yaml | |
index 46181f2..f4da46d 100644 | |
--- a/plugins/Order/config.yaml | |
+++ b/plugins/Order/config.yaml | |
@@ -14,3 +14,5 @@ tags: | |
OrderFooter: $Order::Order::Plugin::tag_order_footer | |
OrderDateHeader: $Order::Order::Plugin::tag_order_date_header | |
OrderDateFooter: $Order::Order::Plugin::tag_order_date_footer | |
+ function: | |
+ OrderDate: $Core::MT::Template::Context::_hdlr_date |
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
class Base(object): | |
def data(self): | |
return {'base': True} | |
class A(Base): | |
def data(self): | |
data = super(A, self).data() | |
data.update({'a': True}) | |
return data |
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
<mt:Order> | |
<mt:OrderHeader> | |
<div class="site-activity"> | |
</mt:OrderHeader> | |
<mt:OrderDateHeader> | |
<h2><mt:Date format="%a, %d %b %Y"></h2> | |
<div id="datebox"> | |
</mt:OrderDateHeader> |
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
<mt:Order> | |
<mt:OrderHeader> | |
<div class="site-activity"> | |
</mt:OrderHeader> | |
<mt:Entries> | |
<mt:DateHeader> | |
<mt:OrderItem unique="true"> |
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
markpasc@markpascbook:~$ ytf http://www.youtube.com/watch?v=bWBbt--UUP8 | |
IT'S CAT-ERTAINMENT! (3:29) | |
Posted 2011-03-22 by BargainBinofOblivion to 5801 views | |
www.everythingisterrible.com | |
markpasc@markpascbook:~$ yt http://youtu.be/rTUwqxHpXMY | |
Android on crack..lol (2:25) | |
Posted 2011-03-21 by dark32 to 155718 views |
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 python | |
from subprocess import call | |
import time | |
ho = 'h' | |
def ooer(): | |
while True: | |
for i in range(6): | |
yield 'o' | |
yield '-o' |
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 /users/@self.json HTTP/1.0 | |
Host: api.typepad.com | |
Authorization: OAuth realm="", oauth_nonce="95331075", oauth_timestamp="1289847587", oauth_consumer_key="649e9c735a549ead", oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oauth_token="lNE79f2DGUGSzaqB", oauth_signature="Fvo3W7X8It6b8xeR9SacmUfsWKI%3D" |