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
| To bind a key to a command install the "xbindkeys", using the below command: | |
| sudo apt-get install xbindkeys | |
| Later create the default config file for xbindkeys, using the following command: | |
| xbindkeys --defaults > ~/.xbindkeysrc | |
| To facilitate the key binding install the "xbindkeys-config" program, using the following command: |
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
| Linux: | |
| pkill -f tomcat | |
| Windows: | |
| Runs the below command: | |
| netstat -aon |find /i "listening" |find "8080" |
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
| # non-ASCII to Unicode | |
| # Use executo the below command on terminal: | |
| native2ascii -encoding UTF-8 from.txt to.txt | |
| # Unicode to UTF-8 | |
| # Use executo the below command on terminal: | |
| native2ascii -encoding UTF-8 -reverse from.txt to.txt |
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
| .forEachChild(@i) when (@i > 0) { | |
| SELECTOR:nth-child(@{i}) {//Define the selector | |
| //Put the styles here | |
| } | |
| .forEachChild(@i - 1); | |
| } | |
| @selectorsList: ~"h1", ~"h2", ~"h3"; |
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
| # Less | |
| LESS path: | |
| /usr/local/bin/lessc --clean-css | |
| Enable the "Open Output on Error" option | |
| Disable the "Generate source maps" option |
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
| #Initializes the version control: | |
| git init | |
| #Adds files to Git management: | |
| git add * | |
| #Remove files from the index: | |
| git rm file | |
| #Commit the files stored in the index area: |
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
| To install: | |
| Extract the file.tar.gz into "/opt/jdk/" folder. | |
| Open the terminal as super user and execute: | |
| update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_05/bin/java 100 | |
| update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_05/bin/javac 100 | |
| To remove: | |
| Open the terminal as super user and execute: | |
| update-alternatives --remove java /opt/jdk/jdk1.8.0_05/bin/java | |
| update-alternatives --remove javac /opt/jdk/jdk1.8.0_05/bin/javac |
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
| # http://openjdk.java.net/jeps/118 | |
| # Adds the below plugin in the pom.xml file | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.7.0</version> |
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
| #Normal version: | |
| jdbc:mysql://localhost:3306/DATABASE_NAME?useSSL=true&useTimezone=true&serverTimezone=America/Recife | |
| #XML verison: | |
| jdbc:mysql://localhost:3306/DATABASE_NAME?useSSL=true&useTimezone=true&serverTimezone=America/Recife |
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
| ObjectMapper mapper = new ObjectMapper().enable(INDENT_OUTPUT); |
OlderNewer