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
| # Start PostFix | |
| sudo launchctl start org.postfix.master | |
| # Send | |
| mail -s testing [email protected] | |
| # Check email | |
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
| Hardware assisted virtualization and data execution protection must be enabled in the BIOS | |
| http://stackoverflow.com/questions/39684974/docker-for-windows-error-hardware-assisted-virtualization-and-data-execution-p | |
| If the features described are enabled the problem is with Hyper-V that is disabled or Hypervisor agent not running | |
| Open PowerShell as administrator and | |
| a) Enable Hyper-V with |
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
| # connect | |
| ./jboss-cli.sh --connect controller=localhost:9990 | |
| # deploy | |
| deploy /tmp/meuprojeto/target/meuprojeto.war --force | |
| # undeploy | |
| undeploy meuprojeto.war |
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
| # WebApp | |
| mvn archetype:generate \ | |
| -DgroupId=meugrupo \ | |
| -DartifactId=meuprojeto \ | |
| -DarchetypeArtifactId=maven-archetype-webapp \ | |
| -DinteractiveMode=false | |
| # Console App - Java 7 | |
| mvn archetype:generate \ | |
| -DgroupId=com.mycompany.app \ |
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
| pbpaste | highlight --syntax=js -O rtf | pbcopy | |
| pbpaste | highlight --syntax=css -O rtf | pbcopy | |
| pbpaste | highlight --syntax=java -O rtf | pbcopy | |
| etc |
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://flukeout.github.io/ | |
| #01 plate | |
| #02 bento | |
| #03 #fancy | |
| #04 plate > apple | |
| #05 #fancy pickle | |
| #06 .small | |
| #07 orange.small | |
| #08 bento > orange.small |
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
| https://testmysite.thinkwithgoogle.com/ |
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
| https://fast.com/ |
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
| adb logcat | grep 'Web Console' | |
| # or | |
| adb logcat | grep "CONSOLE" |
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 '{"id": 1,"enabled": true, "name": "A green door","price": 12.50,"tags": ["home", "green"]}' | python -mjson.tool |