Skip to content

Instantly share code, notes, and snippets.

View ScarlettSamantha's full-sized avatar

Scarlett Samantha Verheul ScarlettSamantha

View GitHub Profile
from direct.showbase.ShowBase import ShowBase
from panda3d.core import WindowProperties
class MyApp(ShowBase):
def __init__(self):
ShowBase.__init__(self)
# Optional: Hide the default Panda3D mouse cursor
props = WindowProperties()
props.setCursorHidden(False)
@ScarlettSamantha
ScarlettSamantha / auto-cpufreq.conf
Created January 20, 2025 14:09
ROG Zephyrus G16 - Auto-cpufreq configuration
# settings for when connected to a power source
[charger]
# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# preferred governor
governor = performance
# EPP: see available preferences by running: cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences
energy_performance_preference = performance
# EPB (Energy Performance Bias) for the intel_pstate driver
#!/env/bash
if [ -z "$1" ]
then
echo "No theme name supplied as script argument."
exit 1
fi
BASH_RC=~/.bashrc
MAGE_ROOT=~/magento2