Skip to content

Instantly share code, notes, and snippets.

View taciturnaxolotl's full-sized avatar
:bowtie:
Cooking up a new idea to get obsessed over for a week

Kieran Klukas taciturnaxolotl

:bowtie:
Cooking up a new idea to get obsessed over for a week
View GitHub Profile
@taciturnaxolotl
taciturnaxolotl / wordle.ts
Created July 4, 2025 02:12
get every wordle answer ever
export {};
for (let date = new Date('2021-06-19'); date <= new Date(); date.setDate(date.getDate() + 1)) {
const formattedDate = date.toISOString().split('T')[0];
const url = `https://www.nytimes.com/svc/wordle/v2/${formattedDate}.json`;
const response = await fetch(url).then(u => u.json());
console.log(`${response.print_date} ${response.solution}`)
}
@taciturnaxolotl
taciturnaxolotl / bookmarklet.js
Last active April 24, 2025 04:32
bluesky custom verifiers bookmarklet
javascript:(()%3D%3E%7Bif(window.bskyTrustedUsersInitialized)return%20void%20console.log(%22Trusted%20Users%20script%20already%20initialized%22)%3Bwindow.bskyTrustedUsersInitialized%3D!0%3Bconst%20e%3D%22bsky_trusted_users%22%2Ct%3D%22bsky_verification_cache%22%2Cn%3D()%3D%3E%7Bconst%20t%3DlocalStorage.getItem(e)%3Breturn%20t%3FJSON.parse(t)%3A%5B%5D%7D%2Co%3Dt%3D%3E%7BlocalStorage.setItem(e%2CJSON.stringify(t))%7D%2Cr%3De%3D%3E%7Bconst%20t%3Dn()%3Bt.includes(e)%7C%7C(t.push(e)%2Co(t))%7D%2Cs%3De%3D%3E%7Bconst%20t%3Dn().filter((t%3D%3Et!%3D%3De))%3Bo(t)%7D%2Ci%3D()%3D%3E%7Bconst%20e%3DlocalStorage.getItem(t)%3Breturn%20e%3FJSON.parse(e)%3A%7B%7D%7D%2Cc%3De%3D%3E%7BlocalStorage.setItem(t%2CJSON.stringify(e))%7D%2Cd%3De%3D%3Ei()%5Be%5D%7C%7Cnull%2Cl%3De%3D%3Ee%26%26Date.now()-e.timestamp%3C864e5%2Ca%3De%3D%3E%7Bconst%20t%3Di()%3Bt%5Be%5D%26%26(delete%20t%5Be%5D%2Cc(t)%2Cconsole.log(%60Removed%20%24%7Be%7D%20from%20verification%20cache%60))%7D%3Blet%20p%3D%5B%5D%2Cu%3Dnull%3Bconst%20m%3Dasync%20e%3D%3E%7Bu%3De%3
@taciturnaxolotl
taciturnaxolotl / tangled-fork.go
Created April 7, 2025 19:45
Go git clone mvp test
package main
import (
"fmt"
"os/exec"
)
func main() {
source := "https://tangled.sh/@tangled.sh/core"
repoPath := "core" // local folder name
@taciturnaxolotl
taciturnaxolotl / modlist.json
Created March 23, 2025 02:56
ember server mod list
[
{
"name": "3d-Skin-Layers",
"version": "1.7.4"
},
{
"name": "Advancement Plaques",
"version": "1.6.8"
},
{
@taciturnaxolotl
taciturnaxolotl / test.ts
Last active March 12, 2025 13:43
slack profile set with user token
(async () => {
const formData = new FormData();
formData.append("token", process.env.SLACK_USER_TOKEN as string);
formData.append(
"profile",
JSON.stringify({
status_emoji: ":thinking:",
status_expiration: 1742011199, // omit for no expiration
status_text: "test status",
}),
@taciturnaxolotl
taciturnaxolotl / proof.md
Created February 28, 2025 04:24
keyoxide proof

aspe:keyoxide.org:QMHCMT55EODYTEBQ5C7QOAFN6A

@taciturnaxolotl
taciturnaxolotl / ray-tracer.html
Last active February 27, 2025 01:14
a physics ray tracing diagram generator for circular convex and concave mirrors
<div
id="rayTracer"
style="display: flex; flex-direction: column; min-height: 30rem"
>
<div class="controls" style="display: flex; flex-direction: column">
<div style="display: flex; gap: 20px; align-items: center">
<div>
<label>Mirror Type:</label>
<select id="mirrorType">
<option value="concave">Concave Mirror</option>
@taciturnaxolotl
taciturnaxolotl / postgres-new-user.md
Created December 12, 2024 23:05
How to make a new user and give them perms to a db in postgres

PostgreSQL New User Guide

This assumes the new user is kierank and the database is hackatime

Guide

1. Generate a Random 16-Character Password

To generate a strong 16-character password, you can use the following command:

Latex font example

This is an example of what the different fonts and sizes look like in latex

Fonts

Font Examples

Roman Text

$$\rm \tiny \text{tiny roman text}$$

@taciturnaxolotl
taciturnaxolotl / slack-watermark.js
Created December 12, 2024 03:30
Watermark your messages in slack via Proxypin
console.log("Request handler started");
async function onRequest(context, request) {
console.log("Incoming request:", context);
if (!context.session.channelHistory) {
context.session.channelHistory = [];
}
const k = JSON.parse(request.body);