This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
sudo mkdir /mnt/n | |
sudo mount -t drvfs 'N:' /mnt/n |
sudo apt install openssh-server | |
sudo systemctl enable ssh | |
sudo systemctl start ssh | |
sudo systemctl status ssh |
https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH | |
# tmux start | |
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then | |
tmux a || tmux new -s MAIN | |
fi |
function arrayToCSV (twoDiArray) { | |
// Modified from: http://stackoverflow.com/questions/17836273/ | |
// export-javascript-data-to-csv-file-without-server-interaction | |
var csvRows = []; | |
for (var i = 0; i < twoDiArray.length; ++i) { | |
for (var j = 0; j < twoDiArray[i].length; ++j) { | |
twoDiArray[i][j] = '\"' + twoDiArray[i][j] + '\"'; // Handle elements that contain commas | |
} | |
csvRows.push(twoDiArray[i].join(',')); | |
} |
$ ssh [email protected]
$ mkdir test
$ cd test
https://alia5.github.io/GloSC/ | |
https://github.com/ViGEm/ViGEmBus/releases |
# xserver on windows support | |
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 | |
export LIBGL_ALWAYS_INDIRECT=1 |