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
➜ v0.12 git:(v0.12.0-release) ✗ diff -urN out/doc/api /tmp/api | |
diff -urN out/doc/api/_toc.html /tmp/api/_toc.html | |
--- out/doc/api/_toc.html 2015-02-24 14:18:33.000000000 -0800 | |
+++ /tmp/api/_toc.html 2015-02-24 14:13:09.000000000 -0800 | |
@@ -85,6 +85,7 @@ | |
<li><a href="string_decoder.html">String Decoder</a></li> | |
<li><a href="timers.html">Timers</a></li> | |
<li><a href="tls.html">TLS/SSL</a></li> | |
+<li><a href="tracing.html">Tracing</a></li> | |
<li><a href="tty.html">TTY</a></li> |
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
# source: http://unix.stackexchange.com/a/20413 | |
# prevent loading the alias if it's not an interactive shell | |
[ -z "$PS1" ] && return | |
function cd { | |
builtin cd "$@" && ls -F | |
} |
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
var http = require('http'); | |
exports.query = function(cb) { | |
var cbCalled = false; | |
http.get({ host: 'jsonip.com' }, function(res) { | |
var buffer = ''; | |
res.setEncoding('utf8'); | |
res.on('data', function(d) { | |
buffer += d; |
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
var loopback = require('loopback'); | |
module.exports = function(MyModel) { | |
//remote method | |
MyModel.importProducts = function(storeConfigId, storeId, cb) { | |
//cb(null, sound + ' ' + sound + ' ' + sound); | |
var ctx = loopback.getCurrentContext(); | |
console.log(loopback.getCurrentContext()); |
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
adb logcat CordovaActivity:V CordovaWebView:V CordovaWebViewClient:V IceCreamCordovaWebViewClient:V CordovaLog:V *:S |
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
class MercadoPago | |
require 'rubygems' | |
require 'json/add/core' | |
require 'uri' | |
require 'net/https' | |
attr_accessor :client, :secret, :currency | |
def initialize(options={}) | |
@client = options[:client_id] |
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
var http = require('http') | |
var fork = require('child_process').fork; | |
function fib(n) { | |
if (n < 2) { | |
return 1; | |
} else { | |
return fib(n - 2) + fib(n - 1); | |
} | |
} |
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
{ | |
"extends": "airbnb/base", | |
"plugins": [ | |
"react" | |
], | |
"env": { | |
"node": true, | |
"jasmine": true, | |
}, | |
"rules": { |
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
// Answer to http://github.com/ry/http-parser/issues/#issue/1 | |
// UNTESTED | |
struct line { | |
char *field; | |
size_t field_len; | |
char *value; | |
size_t value_len; | |
}; |
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
## | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Ryan Morrissey | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
OlderNewer