Linux installation notes (tested under Ubuntu 12.04LTS), assuming VirtualBox is already installed on host.
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
#!/bin/bash | |
declare -i f=75 s=13 r=2000 t=0 c=1 n=0 l=0 | |
declare -ir w=$(tput cols) h=$(tput lines) | |
declare -i x=$((w/2)) y=$((h/2)) | |
declare -ar v=( [00]="\x83" [01]="\x8f" [03]="\x93" | |
[10]="\x9b" [11]="\x81" [12]="\x93" | |
[21]="\x97" [22]="\x83" [23]="\x9b" | |
[30]="\x97" [32]="\x8f" [33]="\x81" ) | |
OPTIND=1 |
curl -s https://myurl.com/script.sh | bash /dev/stdin param1 param2 |
Here's the simplest example showing how to do functional options in Golang.
They're a great way to enable users to set options and ease adding new options later.
package main
import (
"flag"
"fmt"
Here's the simplest example showing how to do functional options in Golang.
They're a great way to enable users to set options and ease adding new options later.
package main
import (
"flag"
"fmt"
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"syscall" | |
) | |
func main() { |