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
ffmpeg -i movie.mov -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=1 > animated.gif |
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
/** | |
* 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 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 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 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 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 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 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 your_local_user@gmail.com | |
# Check email | |
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
# 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 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
# clean brew cache | |
brew cleanup -s |
OlderNewer