Skip to content

Instantly share code, notes, and snippets.

View LeftoverAtoms's full-sized avatar

Adam Calvelage LeftoverAtoms

View GitHub Profile
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active May 23, 2025 04:26
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@olie304
olie304 / BatchXAnimConvert.mel
Last active March 15, 2024 00:53
Very rough and non-robust script for batch converting animations into XAnims. By default it handles converting SEAnims into xanim_bins. Works with Blackops 3 or other CoDMayaTools compatible games.
// https://github.com/olie304
// Very rough and non-robust script for batch converting animations into XAnims. By default it handles converting SEAnims into xanim_bins
// Tested with Maya 2022, Requires: CoDMayaTools (https://github.com/LunaRyuko/CoDMayaTools) and SETools (https://github.com/dtzxporter/SETools). Make sure you download and build the pull requests that update each plugin for Maya 2022 and Python 3!
// $animPath should be a full, forward slashed, path to a directory with exclusively SEAnims.
// $outputPath is where the xanim_bins should be exported to
// Edit the import options in the `file -import -ty...` command in the script if needed.
// Open the Export XAnim tab in Call of Duty Tools and edit some of the settings if needed. Leave the window open!
{
string $animPath = "C:/my/seanim/dir/";
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active May 16, 2025 16:05
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName