Linux installation notes (tested under Ubuntu 12.04LTS), assuming VirtualBox is already installed on host.
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 fs = require("fs"), | |
util = require('util'); | |
// Copy a file asyncrhonously using streams and calls a _callback_ when it | |
// finishes. | |
exports.cp = (function() { | |
return function (src, dst, cback, o) { | |
// Options can have: | |
// | |
// * **force**: (*bool*) wich determines if files are being overriten. |
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
<?php | |
// Report all errors except E_NOTICE | |
error_reporting(E_ALL & ~E_NOTICE); | |
// Report all PHP errors (see changelog) | |
error_reporting(E_ALL); | |
ini_set("display_errors", 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
<body> | |
<div class="container" ng-controller="TestCrtl"> | |
<h1>AngularJS array sum by field/key filter example</h1> | |
<table class="table table-bordered table-condensed"> | |
<thead> | |
<tr> | |
<th>Name</th> | |
<th>Posts</th> | |
<th>Comments</th> | |
</tr> |
Català
Barcelona NodeSchool és part de l'esforç global anomenat NodeSchool que ensenya voluntàriament Node.js a tothom! El codi font pels tallers és completament de codi obert i l'esforç es totalment dirigit per la comunitat. La millor part és, que és totalment gratuït!
NodeSchool per nens té un format especial on nosaltres programarem robots, Tessel2 i altres coses xules a part del programa habitual "Learn You Node" (Aprèn Node).
English
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/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
Verifying that +repejota is my blockchain ID. https://onename.com/repejota |
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
function __promptline_git_changes { | |
local changes=0 | |
if hash git 2>/dev/null; then | |
changes=$( { git status -s --porcelain; } 2>/dev/null | wc -l) | |
if [ $changes -gt -0 ]; then | |
printf "%d " ${changes} | |
fi | |
fi | |
return 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
#!/bin/bash | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo -e "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
OlderNewer