Instantly share code, notes, and snippets.

View index.js
var event = require('value-event/event')
var listener = function (data) {
console.log('data', data)
var elem = document.getElementById('foo')
.addEventListener('click', event(listener, {
clicked: true

pamatcher is a pattern matching library for JavaScript iterators. Example of use in browser.

View gist:6254407
asf_decoder.c:66:21: error: return type is an incomplete type
static enum CodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag)
asf_decoder.c: In function 'ff_codec_get_id':
asf_decoder.c:71:7: warning: 'return' with a value, in function returning void [enabled by default]
return tags[i].id;
asf_decoder.c:74:5: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
if( toupper((tag >> 0)&0xFF) == toupper((tags[i].tag >> 0)&0xFF)
View gist:5243781
main: () => int
x:= 5
1.upto 3, (i: Integer) { i }
=> x.toint
View gist:4177601
require 'sequel'
DB = Sequel.sqlite 'test'
class MyModel < Sequel::Model(:My_Table)
m = MyModel.first
m.columns #=> [:x_c1, :x_c2, :c3]
m.x_c1 #=> undefined method!!!
View gist:1020856
self.m$puts("Hello, world! Running in the browser..");
"All code is generated to keep the same line as the original ruby";
self.m$puts(("This code is generated from line " + (8).m$to_s() + ", in file: " + __FILE__.m$to_s()));
View gist:606916
patricio@patricio-pc:~/prog/oos$ gdb --symbols=oos.exe
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Para las instrucciones de informe de errores, vea: