PHP Version : 8.0 Wordpress version : 5.7.2 Caddy version : v2.4.3
This one is outdated: please check the offical guide here
| #The PyMongo distribution contains tools for interacting with MongoDB database from Python | |
| import pymongo | |
| import urllib.parse | |
| #def adduser(update, context): | |
| # db(update) | |
| def db(data): | |
| user = "username" | |
| pwd = urllib.parse.quote("password") | |
| DATABASE_NAME = '' #Your Database Name here. |
| #!/bin/bash | |
| sudo snap remove snap-store -y | |
| sudo snap remove gtk-common-themes -y | |
| sudo snap remove gnome-3-34-1804 -y | |
| sudo snap remove core18 -y | |
| sudo apt purge snapd -y | |
| echo "Snap and Snapd are removed!" | |
| sudo apt-mark hold snap snapd | |
| echo "Snap/Snapd are now blocked from Ubuntu!" | |
| sudo apt purge yelp -y |
PHP Version : 8.0 Wordpress version : 5.7.2 Caddy version : v2.4.3
This one is outdated: please check the offical guide here
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": | |
| [ | |
| { | |
| "command": | |
| { | |
| "action": "copy", | |
| "singleLine": false |
| # Store the start time | |
| $startTime = Get-Date | |
| # Create WScript.Shell object | |
| $wshell = New-Object -com "Wscript.Shell" | |
| # Function to format timespan in a human readable way | |
| function Format-TimeSpan { | |
| param ( | |
| [TimeSpan]$TimeSpan |