Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
user="metalx1000" newcomputer="192.168.1.158" sudo apt install i3blocks i3lock i3lock-fancy i3status tmux git vim-nox dunst zsh openssh-server pcmanfm pulsemixer mpv curl sudo wget pulseaudio xorg xfce4-terminal adduser $user sudo visudo #copy basic settings/configs #!!!!!!!!run on old install!!!!!!!! scp -r .tmux* $newcomputer: scp -r .config/dunst $newcomputer:.config/ scp -r .config/i3 $newcomputer:.config/ scp -r .conkyrc $newcomputer: scp -r ~/.imgs $newcomputer: scp -r ~/.zsh* $newcomputer: scp -r ~/.bg.jpg $newcomputer: scp -r ~/.config/xfce4 $newcomputer:.config/ #back to new machine sudo scp -r $user@192.168.1.150:/usr/local/bin/* /usr/local/bin/ #set timezone ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime /sbin/hwclock --systohc #set sudo adduser metalx1000 sudo #vim and fzf git clone "https://gitlab.com/metalx1000/My-Vim-Setup.git" cd My-Vim-Setup ./install.sh full #ohmyzsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" #set web folders sudo apt install apache2 php mkdir $HOME/www sudo ln -s $HOME/www /var/www/html/metalx1000 sudo rm /var/www/html/index.html echo ''|sudo tee /var/www/html/index.php #ssh ssh-keygen -o ssh-copy-id -i ~/.ssh/id_rsa
#copy for git cat ~/.ssh/id_rsa.pub #youtube-dl sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl #add user to groups usermod -a -G pulse,pulse-access,vboxusers,dialout $user
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)