Skip to content

Instantly share code, notes, and snippets.

View NorkzYT's full-sized avatar
💻
Always Coding, & Learning!

Richard Lora NorkzYT

💻
Always Coding, & Learning!
  • 03:20 (UTC -04:00)
View GitHub Profile
@aravindanve
aravindanve / bypass-disable-devtool.md
Last active May 2, 2025 17:57
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.

Opening devtools

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.

@thesamesam
thesamesam / xz-backdoor.md
Last active April 29, 2025 14:00
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

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.

Background

@NorkzYT
NorkzYT / proxmox-lxc-cifs-share.sh
Last active May 3, 2025 05:38
Proxmox CIFS Share Mount Wizard Script
#!/bin/bash
# This script is designed to assist in mounting CIFS/SMB shares to a Proxmox LXC container.
# It automates the process of creating a mount point on the Proxmox VE (PVE) host, adding the
# CIFS share to the /etc/fstab for persistent mounts, and configuring the LXC container to
# recognize the share. This script is intended for use on a Proxmox Virtual Environment and
# requires an LXC container to be specified that will access the mounted share.
#
# Prerequisites:
# - Proxmox Virtual Environment setup.
@NorkzYT
NorkzYT / gitMirror.sh
Created January 23, 2024 11:17
Git Mirror Script
#!/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
@proffapt
proffapt / gentokenjson.py
Last active March 15, 2025 13:20
Script to generate `token.json` from `credentials.json` file for gmail enabled google api
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())
@grifx
grifx / 0000_hello_world.md
Last active May 3, 2025 12:26
Create your own roadmaps from roadmap.sh with checkboxes on GIST

Hello,

My SO is learning coding. I wanted a convenient way for her to consume the content from roadmap.sh.

I hope it can help someone else.

If you want your own roadmap:

  1. Fork or Copy-paste the md files you are interested in your own gist.
@amit08255
amit08255 / nexus_prisma_cheatsheet.md
Last active June 4, 2024 06:19
Nexus + Prisma CheatSheet

Nexus + Prisma CheatSheet

Creating model in Prisma

First create generator and datasource entry in your .prisma file like below:

generator client {
  provider = "prisma-client-js"
}
@tobychui
tobychui / install-go.sh
Created August 5, 2021 05:16
Go installer script for Linux ARM SBC
#/bin/bash
echo "Input the go arch to install (arm/arm64/amd64)"
read -p "Architecture: " arch
if [ "$arch" = "arm" ]; then
echo "Installing arm version of go"
wget https://golang.org/dl/go1.15.3.linux-armv6l.tar.gz
fi
if [ "$arch" = "arm64" ]; then
echo "Installing arm64 version of go"
@mnghn07
mnghn07 / gitCommitEmoji.md
Created August 10, 2020 10:32
Git Commit Message Emoji