This gist contains implementations of the MMIX linear congruential generator in Python and C.
This file contains hidden or 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
| """ | |
| Copyright (c) 2026 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
VS Code’s Python extension auto‑activates environments in every new terminal.
If your interpreter comes from pyenv, this triggers pyenv automatically.
That’s why you see unexpected pyenv shell calls when opening terminals.
To disable this behavior, set "python.terminal.activateEnvironment": false in VS Code settings.
After that, terminals will stop auto‑activating pyenv.
This file contains hidden or 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
| """ | |
| Copyright (c) 2026 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
This file contains hidden or 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/env bash | |
| # Basic recursive copy with verbose output and human-readable sizes | |
| rsync -avh --progress --stats src/ dst/ | |
| # Mirror a directory (delete extraneous files in destination) | |
| rsync -avh --delete src/ dst/ | |
| # Copy only updated or new files (skip existing identical files) | |
| rsync -avhu src/ dst/ |
This file contains hidden or 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/env bash | |
| pip freeze | xargs pip uninstall -y |
This file contains hidden or 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/env bash | |
| docker system prune -a --volumes --force |
This file contains hidden or 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
| gh repo list phoenixthrush --limit 1000 | while read -r repo _; do | |
| gh repo clone "$repo" | |
| done |
nano /boot/firmware/config.txt
dtoverlay=dwc2
nano /boot/firmware/cmdline.txt
modules-load=dwc2
This file contains hidden or 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
| https://strm.hdtvizlecanli.com/live/vox.m3u8 |
NewerOlder