Skip to content

Instantly share code, notes, and snippets.

View quacksire's full-sized avatar
💭
Distracted, as usual

Sam Jeffs quacksire

💭
Distracted, as usual
View GitHub Profile
@quacksire
quacksire / _.md
Last active December 29, 2023 08:57
NextJS Routing

App Router

/app
    /page.tsx - index page
    /layout.tsx - the layout of the root page
                  This may include the header, footer, etc.
    /path1
        /page.tsx - path1 page
                  - since no layout, use the root layout
### Keybase proof
I hereby claim:
* I am quacksire on github.
* I am quacksire (https://keybase.io/quacksire) on keybase.
* I have a public key ASCHX7cAuRwZ58euHQj7WIoKdIZCdiK2iVl4L3YCYkZkCAo
To claim this, I am signing this object:
@quacksire
quacksire / counties.js
Created August 1, 2023 06:33
CA Counties
let counties = [
"Alameda",
"Alpine",
"Amador",
"Butte",
"Calaveras",
"Contra Costa",
"Colusa",
"Del Norte",
"El Dorado",
@quacksire
quacksire / cities.js
Created August 1, 2023 06:31
CA Cities
const cities = [
'Alameda',
'Albany',
'American Canyon',
'Anaheim',
'Antioch',
'Arcadia',
'Arcata',
'Arroyo Grande',
'Artesia',
(() => {
var e = {
1989: (e, t, o) => {
var n = o(1789),
r = o(401),
i = o(7667),
a = o(1327),
c = o(1866);
function s(e) {
var t = -1,
@quacksire
quacksire / finance-app.itunes.apple.com.paths.txt
Last active July 17, 2023 05:42
finance-app.itunes.apple.com Paths
https://finance-app.itunes.apple.com/test-page
https://finance-app.itunes.apple.com/musicTerms
https://finance-app.itunes.apple.com/subscriptions/manage
https://finance-app.itunes.apple.com/subscriptions/edit/:id
https://finance-app.itunes.apple.com/subscriptions/landing-sheet
https://finance-app.itunes.apple.com/subscriptions/test-page
https://finance-app.itunes.apple.com/subscriptions/transition
https://finance-app.itunes.apple.com/subscriptions/privacy
https://finance-app.itunes.apple.com/subscriptions/activate
https://finance-app.itunes.apple.com/subscriptions/applecare-setup
@quacksire
quacksire / routes.json
Created May 27, 2023 06:24
Apple MediaKit API Routes
routes": {
"activityDecorateLive": {
"host": "https://uts-api.itunes.apple.com/",
"needsLocation": true,
"needsMescal": false,
"path": "/uts/v2/activity/decorate/live",
"requiredParamsType": "Default",
"url": "https://uts-api.itunes.apple.com/uts/v2/activity/decorate/live"
},
"activityDecorateLiveEbs": {
// ==UserScript==
// @name DuoPower
// @namespace Violentmonkey Scripts
// @match https://*.duolingo.com/*
// @grant none
// @version 2.3
// @author Mikail Deniz Cayoglu
// @description Duolingo Auto-Solver cheat [WORKING APRIL 2023]
// Feel free to donate something at: https://www.patreon.com/MikailCayoglu/membership
// Published on Greasyfork: https://greasyfork.org/de/scripts/463285
@quacksire
quacksire / info.js
Created December 20, 2022 01:25
connect commands (needs to be guild specific)
const { SlashCommandBuilder, PermissionFlagsBits, EmbedBuilder} = require('discord.js');
const firebase = require('../firebase.js');
const {getFirestore} = require("firebase-admin/firestore");
const {getDatabase} = require("firebase-admin/database");
module.exports = {
data: new SlashCommandBuilder()
.setName('info')
.setDescription('Get specifc information about a user.')
.addUserOption(option =>
option.setName('user')
@quacksire
quacksire / background.js
Created November 19, 2022 05:52
Apple iCloud Passwords for Edge/Chrome
var pwlog = void 0,
pwerror = void 0;
function isStringEmpty(e) {
return !e || 0 === e.length
}
function humanReadableFormType(e) {
switch (e) {
case WBSAutoFillFormTypeUndetermined: