Skip to content

Instantly share code, notes, and snippets.

var parser = new jParser(file, {
header: {
fileId: 'int32',
recordIndex: 'int32',
hash: ['array', 'uint32', 4],
fileName: ['string', 256],
version: 2,
flags: {
precisionFlag: 1,
marker: {
// Generated by CoffeeScript 1.11.1
(function() {
var AnimatedText, AnimatedTextFactory, Bar, BaseDonut, BaseGauge, Donut, Gauge, GaugePointer, TextRenderer, ValueUpdater, addCommas, cutHex, formatNumber, mergeObjects, secondsToString,
slice = [].slice,
hasProp = {}.hasOwnProperty,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
(function() {
var browserRequestAnimationFrame, isCancelled, j, lastId, len, vendor, vendors;
vendors = ['ms', 'moz', 'webkit', 'o'];
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
# The Subject DN can be formed using X501 or RFC 4514 (see RFC 4519 for a description).
# Its sort of a mashup. For example, RFC 4514 does not provide emailAddress.
var g;
function aa(a, c) {
c || console.error('No callback provided');
chrome.tabs.query({
currentWindow: !0,
active: !0
}, function(b) {
1 < b.length && console.warn('Unexpected number of active tabs: ', b.length);
b[0].id === a && c()
zixi://172.31.31.58:61111/full#accept
#!/usr/bin/env python
import numpy as np
import cv2
side_face_fn = "haarcascades/haarcascade_profileface.xml"
cascade_profile = cv2.CascadeClassifier(side_face_fn)
gray = cv2.imread('bug-equed.jpg')
{
total: 6,
data: [
{
id: 29909,
full_name: "AnushaNyc+1",
short_name: null,
picture: {},
is_beta_producer: true,
description: null,
{
total: 6,
data: [
{
id: 29909,
full_name: "AnushaNyc+1",
short_name: null,
picture: {},
is_beta_producer: true,
description: null,
{ "time": 123123123123 }
@paulsc
paulsc / gist:795822
Created January 25, 2011 22:26
sicpex-1
# 1.1
10
12
8
3
6
undefined # a is 3
undefined # b is 4
19