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
| git filter-branch --tree-filter 'rm -rf games.md' HEAD |
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
| sudo apt-get install realmd -y | |
| realm join $DOMAIN --user $USER |
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
| echo "Installing JDK8" | |
| sudo mkdir -p /opt/java/jdk8 | |
| sudo tar -xzf jdk-8u251-linux-x64.tar.gz -C /opt/java/jdk8 --strip-components=1 jdk1.8.0_251 | |
| echo "Installing JDK11" | |
| sudo mkdir -p /opt/java/jdk11 | |
| sudo tar -xzf jdk-11.0.7_linux-x64_bin.tar.gz -C /opt/java/jdk11 --strip-components=1 jdk-11.0.7 | |
| echo "Installing JDK13" | |
| sudo mkdir -p /opt/java/jdk13 |
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
| sudo setfacl -m user:$USER:rw /var/run/docker.sock |
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
| sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu bionic main universe' | |
| sudo apt install -t bionic libwebkitgtk-1.0-0 |
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
| sudo sysctl -w vm.max_map_count=262144 |
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
| sudo apt-get install -y dos2unix # Installs dos2unix Linux | |
| sudo find . -type f -exec dos2unix {} \; # recursively removes windows related stuff |
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
| echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
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 /etc/resolv.conf the namespaces: | |
| nameserver 8.8.8.8 | |
| nameserver 8.8.4.4 | |
| sudo systemctl restart docker | |
| sudo systemctl daemon-reload |
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
| select * from | |
| (select count(*) used from pg_stat_activity) q1, | |
| (select setting::int res_for_super from pg_settings where name=$$superuser_reserved_connections$$) q2, | |
| (select setting::int max_conn from pg_settings where name=$$max_connections$$) q3; |
NewerOlder