Made for people
Datenstrom Yellow is for people who make small websites. Installing is unzipping one file and you are ready to go. The most important things for small
git init --bare $HOME/.dotfiles
$HOME, and git dir as .dotfilesalias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config config status.showUntrackedFiles no
config status
config add .config/mpv
config commit -m "Added mpv config"
config remote add origin <link>
config push origin master
ssh -L 8111:localhost:80 user@server
curl "http://localhost:8111" # on host
Your server:80 is mapped to localhost:8111. Now in your host system you can access your server’s local service. [host]8111—<—-[ssh]—<–80[server]
ssh -R 8011:localhost:5000 user@server
curl "http://localhost:8011" # on server
Your localhost:5000 is mapped to server:8011. Now in server you can access your host systems local service. [host]5000—->—[ssh]—>—8011[server]
kill -9 $(lsof -t -i:80)
fuser -k 80/tcp
~/.ssh.cp /path/to/my/key/id_rsa ~/.ssh/id_rsa
cp /path/to/my/key/id_rsa.pub ~/.ssh/id_rsa.pub
sudo chmod 600 ~/.ssh/id_rsa
sudo chmod 644 ~/.ssh/id_rsa.pub
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
NOTE: If using
fishshell,then just execute thessh-agent -sand then export those printed vars. No need to import public key.
UseCase: After updating a group, you want to take effect of it without logging out.
newgrp command followed by group name you updatednewgrp <group>
id $USER