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
#!/bin/bash | |
green="\033[32m" | |
reset="\033[0m" | |
SCALING=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver) | |
EPP_SETTING=$(cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference) | |
GOVERNOR_SETTING=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) | |
echo |
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
#!/bin/bash | |
if [[ "$1" == "-c" ]]; then | |
git checkout "$(git branch | awk '{$1=$1};1' | awk '!/\*/ {print $0}' | gum choose --height=20)" && git pull | |
else | |
#PREFIX=$(gum input --placeholder "Prefix" --value "CU") | |
PREFIX="CU" | |
TASK=$(gum input --placeholder "ClickUP Task ID") | |
TASK="${PREFIX}-${TASK:1}" |
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
[user] | |
name = Dan Rabb | |
email = dan@danrabb.com | |
[core] | |
askpass = git-gui--askpass | |
editor = vim | |
[alias] | |
last = log -1 HEAD | |
logline = log --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)(%an) %C(reset)%s\" --date=short | |
lol = logline |
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
#!/bin/bash | |
echo "$1" | bc -l |