This file contains 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
<queue> | |
<in> | |
<bind addr="tcp://127.0.0.1:5555"/> | |
</in> | |
<out> | |
<bind addr="tcp://127.0.0.1:5556"/> | |
</out> | |
</queue> |
This file contains 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
Object.prototype.extend = function(source, destination) { | |
for(var property in source) { | |
destination[property] = source[property] | |
} | |
return destination; | |
} |
This file contains 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="html"/> | |
<xsl:template match="/"> | |
<xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></xsl:text> | |
<html> | |
<head> | |
<title> | |
Xunit Test Results - For: <xsl:value-of select="@name"/> | |
</title> |
This file contains 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
(function(n) { return (!(n>1))? 1 : arguments.callee(n-1)*n; })(0xb4dc0d3); |
This file contains 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
def __init__(self): | |
item = gtk.MenuItem("Manage Services") | |
menu.append(item) | |
item.connect('activate', self.get_or_create_widget('services')) | |
def get_or_create_widget(self, widget_name): | |
widget_name = '%s_dialog' % widget_name | |
if hasattr(self, widget_name): | |
return lambda cb: getattr(self, widget_name).show() | |
return getattr(self, 'create_%s' % widget_name) |
This file contains 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
import threading, thread | |
import gobject, gtk | |
gtk.gdk.threads_init() | |
class GeneratorTask(object): | |
def __init__(self, generator, loop_callback, complete_callback=None): | |
self.generator = generator |
This file contains 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
from Crypto.Hash import HMAC | |
from Crypto.Hash import SHA | |
import hashlib | |
import datetime | |
class Auth: | |
@classmethod | |
def sign(cls, method, c_type, body, uri, key=None): |
This file contains 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
{ | |
"www.nicky.cl": {}, | |
"www.fayerwayer.com": { | |
"www.fayerwayer.com/2012/11/nomina-a-tus-candidatos-para-el-mejor-computador-portatil-del-2012/": [ | |
{ | |
"count": 1, | |
"term_type": { | |
"name": "Company", | |
"id": "Company" | |
}, |
This file contains 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
{ | |
"www.nicky.cl": [], | |
"www.fayerwayer.com": [ | |
{ | |
"category": { | |
"id": "computer_internet", | |
"name": "computer_internet", | |
"created": { | |
"ctime": "Thu Nov 22 00:00:00 2012", | |
"isoweekday": 4, |
This file contains 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
{ | |
"www.nicky.cl": {}, | |
"www.fayerwayer.com": { | |
"www.fayerwayer.com/2012/11/nomina-a-tus-candidatos-para-el-mejor-computador-portatil-del-2012/": [ | |
{ | |
"value": "macbook pro", | |
"created": { | |
"ctime": "Mon Nov 26 00:00:00 2012", | |
"isoweekday": 1, | |
"isoformat": "2012-11-26", |
OlderNewer