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
// Hidden message from Dinosaur Comic | |
javascript:unescape(document.querySelector('span.rss-content a[href^=mailto]').href.match(/subject=(.*)$/)[1]) |
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
>>> from itertools import izip | |
>>> | |
>>> def izip_op(op=tuple, *lists): | |
... return (op(x) for x in izip(*lists)) | |
... | |
... | |
... | |
>>> list(izip_op(sum, [1,2,3], [4,5,6])) | |
[5, 7, 9] | |
>>> list(izip_op(lambda x: reduce(operator.mul, x), [1,2,3], [4,5,6])) |
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
# XXX Black Magic warning: | |
# Since 'None' could be one of the grouping values, we are using some | |
# random shit as our "undefined" value. This black magic makes our | |
# code easier to read. Enjoy. | |
UNDEFINED = object() |
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
" LAS VIm color theme | |
" (Somehow) by Renzo Carbonara <[email protected]>, 2010 | |
" | |
" Based on the random theme generated by Inspiration at Sweyla | |
" http://inspiration.sweyla.com/code/seed/966607/ | |
" which seems to be under the "Public Domain", whatever that means. | |
" | |
" It's named LAS after Luis Alberto Spinetta, who once said: | |
" 'Vemos todos los colores, sin saber lo que es hoy un color' | |
" which translates to: |
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
callback({ | |
"status": "OK", | |
"payload": { | |
"proyecto": { | |
"uuid": "6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7", | |
"tipo": "R", | |
"fundamentos": "", | |
"url": "/api/0/congreso/diputados/proyectos/6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7/", | |
"comisiones": [ | |
{ |
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
<?xml version="1.0" encoding="utf8"?> | |
<response status="OK"> | |
<payload> | |
<proyecto url="/api/0/congreso/diputados/proyectos/6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7/" uuid="6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7"> | |
<tipo>R</tipo> | |
<fundamentos/> | |
<comisiones> | |
<comision url="/api/0/congreso/diputados/comisiones/6128e64e-3542-4d59-a1b3-1ffd05732a72/" uuid="6128e64e-3542-4d59-a1b3-1ffd05732a72"/> | |
</comisiones> | |
<fecha>2010-05-10</fecha> |
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
{ | |
"status": "OK", | |
"payload": { | |
"proyecto": { | |
"uuid": "6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7", | |
"tipo": "R", | |
"fundamentos": "", | |
"url": "/api/0/congreso/diputados/proyectos/6d21c24e-6f33-45b7-9d2e-8ebba2ce0ce7/", | |
"comisiones": [ | |
{ |
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
...:::BLUE GROOVE CONCEPCION DEL URUGUAY:::... | |
Este Jueves 15 te esperamos con el 1er evento de musica electronica en Concepcion del Uruguay... | |
Bufalo Disco & Eventos Electronicos de Concepcion del Uruguay te Presentan un Warm Up Increible | |
Line Up: | |
2:00 to 4:00 hs Enrique Castellanos ( Minimal Tech ) @ Parana, Entre Rios |
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
autocmd! | |
syntax on | |
set background=dark | |
set showmatch | |
set showtabline=2 | |
set nu | |
set nuw=4 | |
set cursorline | |
set nowrap | |
set modifiable |
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
from random import randint | |
def blamatrix(m, n, min=-100, max=100): | |
a = [[randint(min, max) for j in range(n)] for i in range(m)] | |
for i,row in enumerate(a): | |
others_sum = sum(map(abs, row[:i])) + sum(map(abs, row[i+1:])) | |
if abs(row[i]) <= others_sum: | |
row[i] = others_sum + 1 | |
return a |