KEMBAR78
Discover gists · GitHub
Skip to content

Instantly share code, notes, and snippets.

const DATA_ENTRY_SHEET_NAME = "Sheet1";
const TIME_STAMP_COLUMN_NAME = "Timestamp";
const FOLDER_ID = "";
const FILE_LINK_COLUMN_NAME = "FileLink";
const UPLOADED_FILE_NAME_COLUMN = "UploadedFileName";
const FORM_FILE_INPUT_NAME = "theFile";
function doPost(e) {
try {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active October 24, 2025 12:53
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@nntrn
nntrn / espn-api-list.md
Last active October 24, 2025 12:47
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

@AntonMiles
AntonMiles / dockerfile
Created July 15, 2017 15:04
Creating A .NET Windows Docker Container With Internal IIS SSL (From PFX File) and HTTPS Support
# The following won't work as-is, I use '<>' to denote variables you need to replace, including a name so you can keep them straight!
# A list of all of them, for searching follows.
# app_directory
# app_name
# ssl_password
# ssl_name
#base machine is meant to contain IIS as well as asp/.net requirements
FROM microsoft/aspnet
#Expose port 443 to allow incoming traffic over the default HTTPS port
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active October 24, 2025 12:44
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@EverythingSmartHome
EverythingSmartHome / All open windows and doors
Last active October 24, 2025 12:43
A collection of useful templates for Home Assistant dashboards
{{ states.binary_sensor
| selectattr('attributes.device_class', 'in', ['door','window'])
| selectattr('state', 'equalto', 'on')
| list | count }}
import random
import argparse
import tempfile
import ipaddress
from time import sleep
from shlex import split
from os import path, remove
from scapy.all import sniff
from threading import Thread
from subprocess import Popen, PIPE
@felschr
felschr / firefox-parse-site-security.nu
Last active October 24, 2025 12:41
Parsing & editing `SiteSecurityServiceState.bin` via nushell script.
#! /usr/bin/env nu
# See format description for `SiteSecurityServiceState.bin`:
# https://gitlab.torproject.org/tpo/applications/tor-browser/-/blob/tor-browser-128.7.0esr-14.5-1/security/manager/ssl/data_storage/src/lib.rs#L349-353
# Format is [checksum][score][last accessed][key][value]
let browsers = [
{ name: "Firefox" path: "~/.mozilla/firefox" }
{ name: "Tor Browser" path: "~/.tor project/firefox" }