Create and Enable Virtual Environment
python -m venv .venv
source .venv/bin/activate| 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; |
To call a function from your HTML file, include a script tag that references your JavaScript file, like above. Then, in your JavaScript file, define the function and attach it to the global object (e.g., window):
// your-script.js
function myFunction() {
// function implementation
}
window.myFunction = myFunction;In your HTML file, you can then call the function using its global name:
You can pass arguments to avoid getting prompts. This works for me;
apt-get update
apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade--force-confold (my choice) will make these "What do you want to do about modified configuration file" questions default to N (keep your currently-installed version)