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
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) |
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
# 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 |
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
#!/env/bash | |
if [ -z "$1" ] | |
then | |
echo "No theme name supplied as script argument." | |
exit 1 | |
fi | |
BASH_RC=~/.bashrc | |
MAGE_ROOT=~/magento2 |