Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Thinking

Bagaev Dmitry bvdmitri

🤔
Thinking
View GitHub Profile
@bvdmitri
bvdmitri / throttle.sh
Created Feb 12, 2018
OSX CPU throttling script
View throttle.sh
#!/usr/local/bin/bash
function disable_throttling() {
echo "Disabling CPU throttling"
for pid in `pgrep cputhrottle`; do
kill "$pid"
done
}
if [[ "$UID" -ne 0 ]]; then
You can’t perform that action at this time.