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
| ffmpeg -i movie.mov -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=1 > animated.gif |
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
| /** | |
| * huffman.cpp | |
| * Huffman Encoding (Data Compression) | |
| * | |
| * How to compile | |
| * g++ huffman.cpp -o huffman | |
| * | |
| * Compressing | |
| * ./huffman -i in.txt -o out.huff | |
| * |
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 |
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
| 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
| 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
| 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
| 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
| # 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
| # connect | |
| ./jboss-cli.sh --connect controller=localhost:9990 | |
| # deploy | |
| deploy /tmp/meuprojeto/target/meuprojeto.war --force | |
| # undeploy | |
| undeploy meuprojeto.war |
OlderNewer