I hereby claim:
- I am beenotung on github.
- I am beenotung (https://keybase.io/beenotung) on keybase.
- I have a public key ASCuGEFXtQCZuqwFt8qhtCY2l7-CjpU5M84qt8hFc7wsqQo
To claim this, I am signing this object:
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=2.2 |
I hereby claim:
To claim this, I am signing this object:
For beginner
Artificial Intelligence library written in Golang
Neural Network
Back Propagation
| <!DOCTYPE html> | |
| <html lang="en" dir="ltr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" | |
| content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <meta name="format-detection" content="telephone=no"> | |
| <meta name="msapplication-tap-highlight" content="no"> | |
| </head> | |
| <body> |
| export let M = 0 | |
| export let F = 0 | |
| export type gender = 'm' | 'f' | |
| export function add(gender: gender) { | |
| switch (gender) { | |
| case 'm': | |
| return M++; | |
| case 'f': | |
| return F++; |
| var ProgressBar = require('progress'); | |
| var bar = new ProgressBar(' demo-ing progress [:bar] :percent :etas',{ | |
| complete: '=', | |
| incomplete: ' ', | |
| width: 20, | |
| total: 100, | |
| }); | |
| var timer = setInterval(()=>{ | |
| if(bar.curr<bar.total) { | |
| bar.tick(1); |
| function transfer | |
| if test (count $argv) -eq 0 | |
| echo "No arguments specified. Usage:\ntransfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
| return 1 | |
| end | |
| ## get temporarily filename, output is written to this file show progress can be showed | |
| set tmpfile ( mktemp -t transferXXX ) | |
| ## upload stdin or file |
| #!/bin/bash | |
| ## use git to compress a single folder or file | |
| ## TODO use tmp folder to support operation within a git repo | |
| set -e | |
| set -o pipefail | |
| with_progress=0 | |
| filename='' | |
| dest='' |
| #!/bin/bash | |
| ## extract files archived from git-compress | |
| ## TODO use tmp folder to support operation within a git repo | |
| set -e | |
| set -o pipefail | |
| with_progress=0 | |
| filename='' | |
| if [ "$1" == "-p" ] || [ "$1" == "--progress" ]; then |