Skip to content

Instantly share code, notes, and snippets.

@EugOT
EugOT / README.md
Created October 24, 2019 09:40 — forked from lopspower/README.md
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.

Download This sample on Google Play Store

@EugOT
EugOT / options.zsh
Created January 3, 2019 11:49 — forked from prat0318/options.zsh
`options` command to show all the aliases and functions offered by plugins you have installed via oh-my-zsh
function options() {
PLUGIN_PATH="$HOME/.oh-my-zsh/plugins/"
for plugin in $plugins; do
echo "\n\nPlugin: $plugin"; grep -r "^function \w*" $PLUGIN_PATH$plugin | awk '{print $2}' | sed 's/()//'| tr '\n' ', '; grep -r "^alias" $PLUGIN_PATH$plugin | awk '{print $2}' | sed 's/=.*//' | tr '\n' ', '
done
}