https://hexdocs.pm/elixir/Kernel.html
- === (strict)
- !== (strict)
- == (relaxed)
- !=
https://hexdocs.pm/elixir/Kernel.html
{ | |
// "editor.fontFamily": "Fira Code", | |
"editor.fontSize": 14, | |
"editor.tabSize": 2, | |
"editor.detectIndentation": true, | |
"editor.insertSpaces": true, | |
// "editor.fontLigatures": false, | |
// "go.formatTool": "goimports", | |
// "go.goroot": "/Users/gert/go_appengine/goroot", | |
// "go.testTimeout": "36000s", |
--------- | |
CLIENT | |
--------- | |
root@localhost:/src/ | |
-avzh | |
--delete | |
--dry-run -n | |
--include '.*' |
rm -rf /usr/local/lib/node_modules | |
brew uninstall node | |
brew install node --without-npm | |
echo prefix=~/node >> ~/.npmrc | |
curl -L https://www.npmjs.com/install.sh | sh | |
set -x JSBIN $HOME/node_modules/bin |
#!/usr/local/bin/fish | |
# brew install fish | |
# echo /usr/local/bin/fish | sudo tee -a /etc/shells | |
# chsh -s /usr/local/bin/fish | |
# fish | |
# fish_config | |
# set fish_color_valid_path | |
# set -e fish_greeting |
[user] | |
name = Gert Cuykens | |
email = gert.cuykens@gmail.com | |
[push] | |
default = simple |
#!/bin/bash | |
#IPADDR=`ifconfig -a | grep -A1 en0 | grep inet | awk '{ print $2 }'` | |
IPADDR=`curl -s ifconfig.me/ip` | |
LASTIP=`nslookup nyhostname.dtdns.net ns1.darktech.org | grep -A1 myhostname | | |
grep Address | awk '{ | |
print $2 }'` | |
echo -n "`date` - " | |
package main | |
import "fmt" | |
func main() { | |
ch := make(chan int) | |
go fibs(ch) | |
for i := 0; i < 20; i++ { | |
fmt.Println(<-ch) | |
} |