For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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
| #!/bin/sh | |
| # File input | |
| cat "$1" > "tmp.txt" | |
| # Translate italian Chess PNG into english Chess PNG | |
| sed -i'.bak' 's/R/K/g' "tmp.txt" | |
| sed -i'.bak' 's/D/Q/g' "tmp.txt" | |
| sed -i'.bak' 's/T/R/g' "tmp.txt" | |
| sed -i'.bak' 's/A/B/g' "tmp.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
| /** | |
| Small utility to find all unused strings on an android project | |
| Build: | |
| $ kotlinc CheckUnusedStringsAndroid.kt -include-runtime -d CheckUnusedStringsAndroid.jar | |
| Run: | |
| $ java -jar CheckUnusedStringsAndroid.jar $PATH_TO_YOUR_PROJECT | |
| */ |