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
| # 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
| # 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
| #!/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
| # 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
| # 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
| # 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
| 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
| # 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
| We can download the application also from the command line, using the curl utility; if we combine it with tar via a pipe, we can extract the tarball "on the fly". All we have to do is to run the following command: | |
| $ curl --location | |
| "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US" \ | |
| | tar --extract --verbose --preserve-permissions --bzip2 | |
| We invoked curl using the --location option which is needed to make curl follow redirections, and providing the download URL. If not otherwise specified, curl writes its output to stdout (standard output), so we use a pipe | to redirect said output and use it as the standard input (stdin) of the tar application. | |
| We used the latter with some options: --extract to perform an extraction, --verbose (optional) to make the name of the extracted files be printed on the terminal when they are extracted, --preserve-permissions to preserve the files permissions, and --bzip2 to specify how the tarball should be decompressed. If everything g |