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
#!/bin/sh | |
# This script depends on jd, to install it using Homebrew: brew install jd | |
next="https://api.vzaar.com/api/v2/videos?category_id=9488&per_page=100" | |
while [ ! "$next" == "null" ] | |
do | |
echo "*** Starting page: $next ***" | |
data=$(curl -s --request GET \ |
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
# Ionic 2 developer environment based on Saddey's Dockerfile | |
# See https://blog.saddey.net/2016/07/03/jump-start-into-angular-2-and-ionic-2 | |
FROM ubuntu:16.04 | |
MAINTAINER Lucas Moulin <[email protected]> | |
LABEL Description="Interactive Ionic 2 Framework example using volume /projects as the root for your app directories" | |
RUN apt-get update |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/akz/.nvm/versions/node/v7.4.0/bin/node', | |
1 verbose cli '/Users/akz/.nvm/versions/node/v7.4.0/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'test' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'pretest', 'test', 'posttest' ] | |
5 info lifecycle [email protected]~pretest: [email protected] | |
6 silly lifecycle [email protected]~pretest: no script for pretest, continuing |
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
../src/ffi.cc:111:11: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations] | |
target->ForceSet(Nan::New<String>("RTLD_NEXT").ToLocalChecked(), WrapPointer((char *)RTLD_NEXT), static_cast<PropertyAttribute>(ReadOnly | DontDelete)); | |
^ | |
/Users/akz/.node-gyp/iojs-1.4.13/deps/v8/include/v8.h:2702:22: note: 'ForceSet' has been explicitly marked deprecated here | |
bool ForceSet(Local<Value> key, Local<Value> value, | |
^ | |
../src/ffi.cc:114:11: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations] | |
target->ForceSet(Nan::New<String>("RTLD_DEFAULT").ToLocalChecked(), WrapPointer((char *)RTLD_DEFAULT), static_cast<PropertyAttribute>(ReadOnly | DontDelete)); | |
^ | |
/Users/akz/.node-gyp/iojs-1.4.13/deps/v8/include/v8.h:2702:22: note: 'ForceSet' has been explicitly marked deprecated here |
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
Running 'run:before' gulp task before run | |
[16:01:46] Starting '[36mclean[39m'... | |
[16:01:46] Finished '[36mclean[39m' after [35m44 ms[39m | |
[16:01:46] Starting '[36mbuild[39m'... | |
[16:01:46] Starting '[36msass[39m'... | |
[16:01:46] Starting '[36mhtml[39m'... | |
[16:01:46] Starting '[36mfonts[39m'... | |
[16:01:46] Starting '[36mscripts[39m'... | |
[16:01:46] Starting '[36mic_notification[39m'... |
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
// BOOTSTRAP FIX | |
$(function() { | |
$('body').on("click", "ul.dropdown-menu a[data-remote='true'].no-bootstrap", function(e) { | |
e.stopPropagation(); | |
e.preventDefault(); | |
$(e.target).trigger('click.rails'); | |
}); | |
}); |
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
BR_STATES = { | |
'AC': 'Acre', | |
'AL': 'Alagoas', | |
'AP': 'Amapá', | |
'AM': 'Amazonas', | |
'BA': 'Bahia', | |
'CE': 'Ceará', | |
'DF': 'Distrito Federal', | |
'ES': 'Espírito Santo', | |
'GO': 'Goiás', |