Skip to content

Instantly share code, notes, and snippets.

View CodeF53's full-sized avatar
:atom:

Cassie CodeF53

:atom:
View GitHub Profile
@CodeF53
CodeF53 / demo.js
Last active January 13, 2026 18:38
Minimal Google Calendar API event fetching JS
const client_id = '...'
const client_secret = '...'
const authorizationCodeURL = `https://accounts.google.com/o/oauth2/v2/auth?${new URLSearchParams({
scope: 'https://www.googleapis.com/auth/calendar',
response_type: 'code',
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
client_id,
})}`
const authorizationCode = prompt(`${authorizationCodeURL}\nauth code:`)!.trim()
@CodeF53
CodeF53 / horseReact.js
Last active July 31, 2023 22:57
Horse Reactor
(() => {
// Edit this stuff to configure where and who you are horse reacting
const serverId = '398590278404931584' // Max0r's server
const channelId = '717498714259980378' // memes channel
// const userId = '629352120231133190' // Snaxy
const userId = '355016563109396482' // Kyuri
// use discord's internal request api, so we don't need to worry about session cookies
const wreq = webpackChunkdiscord_app.push([[Symbol()],{},r=>r])
webpackChunkdiscord_app.pop()