Create and Enable Virtual Environment
python -m venv .venv
source .venv/bin/activate| #Create Backup of Main (optional) | |
| git fetch --all --tags | |
| git checkout main | |
| git pull | |
| git branch main-backup-$(date +%Y%m%d) | |
| git push origin main-backup-$(date +%Y%m%d) | |
| # Reset Main to dev: | |
| git checkout main |
| sudo -u <user> bash |
| const isHermes = global?.HermesInternal ? 'Hermes' : 'JSC'; | |
| const isFabric = global?.nativeFabricUIManager ? 'Fabric' : 'Paper'; | |
| console.log(`Engine: ${isHermes}`); | |
| console.log(`Renderer: ${isFabric}`); |
| import logging | |
| logger = logging.getLogger(__name__) | |
| logging.basicConfig( | |
| level=logging.INFO, | |
| format="%(asctime)s [%(levelname)s] %(name)s: %(message)s", | |
| ) |
You can press SHIFT+F10 keys to open Command Prompt.
Execute OOBE\BYPASSNRO command then.
After this, setup will reboot the computer and after reboot, you’ll get a new option I don’t have Internet or Continue with limited setup to skip the Internet requirement.
To avoid any misunderstandings, I'm talking about stuff that you would find under
/Library/SystemExtensions/
Usually sitting in a folder with a cryptic folder named like AAHHV55HIWJF&VHDI9 and often containing an item like com.nordvpn.macOS.Shield.systemextension.
This is not about the Finder extensions that you would normally find in the System Settings app.
It is actually in my case said NordVPN Shield system extensiont that I just couldn't remove even using sudo via the Terminal. Here's what to do (only works on Intel Macs, I don't know how to get into recovery mode on Apple Silicon Macs).
| services: | |
| frontend: | |
| image: frontend | |
| profiles: [frontend] | |
| phpmyadmin: | |
| image: phpmyadmin | |
| depends_on: [db] | |
| profiles: [debug] |
Navigation fix: https://snippets.cacher.io/snippet/79f0ae552f4c1f1a95bc
Install oh-my-zsh via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <!-- in functions.php add --> | |
| function debug_cf7_add_error( $items, $result ) | |
| { | |
| if ( 'mail_failed' == $result['status'] ) { | |
| // invoke global phpmailer object | |
| global $phpmailer; | |
| // append error info to ajax response. | |
| $items['errorInfo'] = $phpmailer->ErrorInfo; | |
| } | |
| return $items; |