Inspired by parmentf/GitCommitEmoji.md
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Inspired by parmentf/GitCommitEmoji.md
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#!/bin/bash | |
OS=$(uname -s) | |
#CPU flag detection | |
echo "****Getting CPU flag capabilities and number of cores" | |
if [ "$OS" = "Linux" ]; then | |
cat /proc/cpuinfo | egrep "(flags|model name|vendor)" | sort | uniq -c | |
elif [ "$OS" = "Darwin" ]; then | |
sysctl -a | grep machdep.cpu.features | |
fi |