This file contains 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
import java.util.regex.Pattern; | |
import javax.swing.text.AttributeSet; | |
import javax.swing.text.BadLocationException; | |
import javax.swing.text.PlainDocument; | |
/** | |
* | |
* @author Altieres de Matos | |
*/ | |
public class DocumentRightLeft extends PlainDocument { |
This file contains 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 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
cd Developer | |
echo Permissions | |
sudo chmod 777 /usr/share/applications | |
echo Create App Java | |
sudo mkdir -p /opt/java | |
echo Install JDK 6 | |
sudo mkdir -p /opt/java/jdk6 |
This file contains 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 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 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 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 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 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 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 |
NewerOlder