This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # run this command to remove broken packages in Debian and derivates. | |
| # package_name have to be the name of the package, for example: com.brave.brave-browser | |
| sudo dpkg --remove --force-remove-reinstreq package_name | |
| sudo apt-get update | |
| # EXTRA: if we need see the package with errors we can use this commands: | |
| sudo apt-get clean | |
| sudo dpkg --configure -a | |
| sudo apt-get autoremove |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VMware® Workstation 16 Player (16.1.1 build-17801498) | |
| FA1M0-89YE3-081TQ-AFNX9-NKUC0 | |
| VMware Workstation Pro v16 Serial Key - DiamondMonday | |
| ZF3R0-FHED2-M80TY-8QYGC-NPKYF | |
| YF390-0HF8P-M81RQ-2DXQE-M2UT6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In Debian | |
| sudo dpkg --add-architecture i386 | |
| sudo apt update | |
| sudo apt install libgl1-mesa-dri:i386 libgl1:i386 | |
| sudo apt install libgl1-nvidia-glvnd-glx:i386 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # insert the new value into the system config | |
| echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
| # check that the new value was applied | |
| cat /proc/sys/fs/inotify/max_user_watches | |
| # config variable name (not runnable) | |
| fs.inotify.max_user_watches=524288 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # For Deepin | |
| xdg-mime default dde-file-manager.desktop inode/directory application/x-gnome-saved-search |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| apt-get -y install aptitude | |
| dpkg --add-architecture i386 | |
| aptitude -y install gnupg2 software-properties-common | |
| wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - | |
| sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/ | |
| wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add - | |
| echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list | |
| sudo aptitude -y update | |
| sudo apt -y install --install-recommends winehq-stable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add to the end of the file .bashrc | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| export PS1="\e[92;1m\u@\h \[\e[94;1m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ " | |
| # after that type the next command: | |
| # source ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| source /etc/network/interfaces.d/* | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example config file /etc/vsftpd.conf | |
| # | |
| # The default compiled in settings are fairly paranoid. This sample file | |
| # loosens things up a bit, to make the ftp daemon more usable. | |
| # Please see vsftpd.conf.5 for all compiled in defaults. | |
| # | |
| # READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
| # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
| # capabilities. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Solution for the message "No such file or directory" But the file exists! | |
| # First lests to see is the file is a 32-bit file writing the command: | |
| # file nameOfTheFile | |
| # and pressing ENTER | |
| # is possible of you get a message like that: "...ELF 32-bit LSB executable.." | |
| # so, is right, is a 32-bit file | |
| # now we have to install the 32-bit packages to execute that file write this command: | |
| sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install ia32-libs && sudo aptitude -y install lib32z1 |