Some stats: - Total number of links: 24459
import sys | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
scopes = [f"https://www.googleapis.com/auth/gmail.{sys.argv[1]}"] | |
flow = InstalledAppFlow.from_client_secrets_file("credentials.json", scopes) | |
creds = flow.run_local_server(port=0) | |
with open("token.json", "w") as token: | |
token.write(creds.to_json()) |
#!/bin/bash | |
# This script is designed to add a target remote to your Git repository and then | |
# force-push all branches and tags to this target. It's particularly useful for | |
# mirroring or backing up repositories. The script prompts for the target's username, | |
# personal access token, and repository URL. Be cautious with force-pushing as it | |
# can overwrite changes in the target repository. | |
# Bash script to add a remote and force-push all branches and tags |
proxmox-lxc-cifs-share.sh
is an interactive helper that mounts a network CIFS/SMB share on a Proxmox VE node and bind-mounts it into one or more unprivileged LXC containers in one pass.
It automates:
- Creating a host-side mountpoint under
/mnt/lxc_shares/<folder>
. - Writing a properly-tuned
/etc/fstab
entry (systemd.automount
,uid/gid
mapping, etc.). - Mounting the share immediately.
- Injecting the bind-mount (
mpX:
) into the live LXC configuration withpct set
. - Stopping and restarting each container to apply the mount.
This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.
Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.
Bypass disable-devtool
(Working as of 2025-02-09)
There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.
If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.