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 / Kazam microphone Unknown.txt
Created January 24, 2023 17:08
Kazam microphone Unknown on ubuntu 20.04
Update the function "time.clock()" in pulseaudio.py file with "time.perf_counter()"
File location : /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py
RUN THIS COMMAND FROM TERMINAL
sudo sed -i 's/time.clock/time.perf_counter/g' /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py
'time.clock()' is deprecated from Python V3.3 and removed from Python v3.8
@aleksseven
aleksseven / Montar un usb en Arch linux.txt
Last active June 16, 2021 23:52
Montar un usb en Arch Linux
1. sudo pacman -S ntfs-3g
2. sudo fdisk -l
3. mkdir /mnt/myusb
4. sudo mount -t ntfs-3g /dev/sdb /mnt/myusb/
Para desmontar:
5. sudo umount -t ntfs-3g /dev/sdb /mnt/myusb/
# add the repository
1. sudo add-apt-repository ppa:neovim-ppa/unstable
2. sudo apt-get update
3. sudo apt-get install neovim
4. Setup init.vim with "nvim" command.
5. Press :
6. After execute :call mkdir(stdpath('config'), 'p')
# this command create a directory to hold the init.vim file
1. For stable version.
sudo add-apt-repository ppa:neovim-ppa/stable
2. For unstable version.
sudo add-apt-repository ppa:neovim-ppa/unstable
3. sudo apt update
4. sudo apt install neovim
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc make perl net-tools hercules x3270
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"
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)
@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'

sudo add-apt-repository ppa:mmstick76/alacritty

sudo apt-get update

sudo apt install alacritty

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