I hereby claim:
- I am cnandreu on github.
- I am cnandreu (https://keybase.io/cnandreu) on keybase.
- I have a public key ASCuzxRPg3pAi_2FV_tvztGNNU26xZ2cfzdkBeYzWlEOeAo
To claim this, I am signing this object:
#!/bin/bash | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <carlos.andreu[at]upr.edu> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. | |
# ---------------------------------------------------------------------------- | |
#Your home.uprm.edu login goes here: |
I hereby claim:
To claim this, I am signing this object:
//Code to invoke adapters using promises | |
var invokeAdapterWithPromises = function (adapterName, procedureName, params) { | |
var deferred = $.Deferred(), | |
invocationData = { | |
adapter : adapterName, | |
procedure : procedureName, | |
parameters : params | |
}; |
function wlCommonInit(){ | |
//The code below must run after the deviceready event (inside wlCommonInit or after) | |
var collections = { | |
customers : { | |
searchFields : { | |
'CUSTOMERCODE' : 'string' | |
} | |
} |
function fish_prompt | |
if not set -q __git_cb | |
set __git_cb (set_color magenta)(git branch ^/dev/null | grep \* | sed 's/* //')(set_color normal) | |
end | |
echo #space between commands | |
set_color yellow | |
printf '%s' (whoami) |
{ | |
"javascript_linter": "jshint", | |
"jshint_options": { | |
"regexdash": true, | |
"browser": true, | |
"devel" : true, | |
"jquery" : true, | |
"wsh": true, | |
"trailing": true, |
var file = require('file'), | |
fs = require('fs'), | |
musicmetadata = require('musicmetadata'), | |
rootDir = '/Users/carlosmarx/musicfiles', | |
SPACE = '\n', | |
getMetaData = function (file, cb) { | |
var result = {}, | |
parser = new musicmetadata(fs.createReadStream(file)); |
Host IP: 136.145.116.44 | |
Web Server: Apache/2.2.22 (Ubuntu) | |
Powered-by: PHP/5.3.10-1ubuntu3.3 | |
Keyword Found: Maraton | |
DB Server: MySQL >=5 | |
Selected Column Count is 14 | |
Valid String Column is 1 | |
Current DB: g13 | |
Data Base Found: information_schema | |
Data Base Found: g13 |
##Install
yt.js
and package.json
to your computer.npm install
to download dependencies.chmod +x yt.js
so you can execute it.##Usage Example
/** | |
* WL.Server.invokeHttp(parameters) accepts the following json object as an argument: | |
* | |
* { | |
* // Mandatory | |
* method : 'get' or 'post', | |
* path: value, | |
* | |
* // Optional | |
* returnedContentType: any known mime-type or one of "json", "css", "csv", "javascript", "plain", "xml", "html" |