Skip to content

Instantly share code, notes, and snippets.

View alexmagaddino's full-sized avatar
🏠
Working from home

Alessandro Magaddino alexmagaddino

🏠
Working from home
View GitHub Profile
@alexmagaddino
alexmagaddino / ChessPNGItaToEng.sh
Created January 17, 2025 20:06
Chess PNG from Italian to english annotation
#!/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"
@albertogarrido
albertogarrido / CheckUnusedStringsAndroid.kt
Last active March 6, 2024 10:54
Check unused strings android
/**
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
*/
@lopspower
lopspower / README.md
Last active December 9, 2025 21:11
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha: