-t -- /bin/sh -c 'tmux has-session && exec tmux attach || exec tmux'
start new:
tmux
Your task is now to create a user authentication system.
This document will guide you through all the features and implication of such system, so that you don't have to search them yourself.
We will focus on web/browser-technologies, however similar concept can be widely applied. This guide, is a work in progress, feel free to comment and provide feedbacks.
I have a pet project I work on, every now and then. CNoEvil.
The concept is simple enough.
What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?
| # The definitive guide to setup my Python workspace | |
| # Author: Henrique Bastos <[email protected]> | |
| PY3=3.8.0 | |
| #PY2=2.7.16 | |
| PY3TOOLS="youtube-dl pandas s3cmd fabric pytest" | |
| #PY2TOOLS="rename mercurial" | |
| VENVS=~/.ve | |
| PROJS=~/workspace |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| # Microphone Realtime background noise reduction script | |
| # author Luigi Maselli - https://grigio.org licence: AS-IS | |
| # credits: http://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio | |
| # run as: sudo && pulseaudio -k | |
| # wget -qO - https://gist.github.com/adrianolsk/bfa32f3227dc674eff72a2008f6c0316 | sudo bash && pulseaudio -k | |
| sudo cp /etc/pulse/default.pa /etc/pulse/default.pa.bak | |
| sudo cat <<EOT >> /etc/pulse/default.pa | |
| load-module module-echo-cancel source_name=noechosource sink_name=noechosink |
| #!/usr/bin/env bash | |
| cd $(dirname $0) | |
| docker run --rm -it -v "$(pwd)":/home/rust/src -v cargo-git:/home/rust/.cargo/git -v cargo-registry:/home/rust/.cargo/registry -v "$(pwd)/target/":/home/rust/src/target ekidd/rust-musl-builder:nightly-2021-01-01 sudo chown -R rust:rust /home/rust/.cargo/git /home/rust/.cargo/registry /home/rust/src/target | |
| docker run --rm -it -v "$(pwd)":/home/rust/src -v cargo-git:/home/rust/.cargo/git -v cargo-registry:/home/rust/.cargo/registry -v "$(pwd)/target/":/home/rust/src/target ekidd/rust-musl-builder:nightly-2021-01-01 cargo build --release |