Skip to content

Instantly share code, notes, and snippets.

View aleksseven's full-sized avatar
👁️
Learning

Alex Sanchez aleksseven

👁️
Learning
  • NEM
  • Tarma-Lima
View GitHub Profile
@aleksseven
aleksseven / .tmux.conf
Last active November 27, 2020 17:26
Tmux conf
# Example tmux config
# Some tweaks to the status line
set -g status-right "%H:%M"
set -g window-status-current-style "underscore"
# If running inside tmux ($TMUX is set), then change the status line to red
%if #{TMUX}
set -g status-bg red
%endif

sudo add-apt-repository ppa:kelleyk/emacs

sudo apt update

For user interfaces

sudo apt install emacs27 #This is with an user interface.

or

sudo apt install emacs27-nox #This is with terminal-based.

----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
5653E0A0 BACE3948 BB2EE45E 422D2C87

Install

dotnet tool install --global dotnet-aspnet-codegenerator --version 3.1.4

Add to PATH

export PATH="$HOME/.dotnet/tools:$PATH"

sudo apt-get install ppa-purge sudo ppa-purge ppa:oibaf/graphics-drivers

sudo add-apt-repository ppa:mmstick76/alacritty

sudo apt-get update

sudo apt install alacritty

@aleksseven
aleksseven / NVIM AS ROOT USER.txt
Last active May 20, 2021 06:20
Create a symbolic link from your default user $HOME to /root/.config directory.
sudo ln -s $HOME/.config/nvim /root/.config/
sudo ln -s ~/.local/share/nvim/site/ /root/.local/share/nvim
sudo ln -s ~/.nvm /root/
1. sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
2. sudo sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \\
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
1. sudo sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
2. sudo ln -s $HOME/.zshrc /root/.zshrc
If you have .zshrc file first remove these, and then do the system link command required to create it again
sudo ln -s $HOME/.zshrc /root/.zshrc
3. sudo ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
4. sudo chmod 744 /root/.zshrc
5. chsh -s $(which zsh) $(whoami)
1. Start your VM and press Shift.
2. Select "advanced options for .Ubuntu" in the grub menu.
3. Select recovery mode and press enter.
4. select "Root – Drop to root shell prompt".
5. execute "mount -rw -o remount /"
6. exit
7. select the boot "resume normal boot"
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc make perl net-tools hercules x3270