Skip to content

Instantly share code, notes, and snippets.

View ThatOneCalculator's full-sized avatar

Kainoa Kanter ThatOneCalculator

View GitHub Profile
TrillCyborg /
Last active May 5, 2024 22:42
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone live
# Change directory to ~/live

cd ~/live

MPThLee / enableDiscordExperiments.js
Last active June 20, 2024 12:30
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
* !!!! This code doesn't work anymore !!!!
* - You can check working code on comments. I won't update this code anymore.
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
aqua-lzma / owoify.js
Last active January 2, 2023 18:36
OwO'ify discowd hehe makes it vewy funny :3 (Check comments for usage)
(function () {
// OwO whats this vewsion 6.9.?c ~ :3
// I h-hope you l-like it...
let stutterChance = 0.1
let prefixChance = 0.05
let suffixChance = 0.15
let words = {
love: 'wuv',
mr: 'mistuh',
sawaYch / Determination.txt
Last active January 15, 2024 10:46
+ You are filled with Determination +
┃ ┃
┃ ❤️ |
| |
soygul / youtube-upload.js
Last active May 9, 2024 04:14
YouTube video uploader using JavaScript and Node.js
// YouTube API video uploader using JavaScript/Node.js
// You can find the full visual guide at:
// You can find the brief written guide at:
// Upload code is adapted from:
const fs = require('fs');
const readline = require('readline');
const assert = require('assert')
const {google} = require('googleapis');
arnvgh / screensht
Created April 13, 2023 08:01
Screenshot go brrrr
set -o pipefail
# Directory
# Color
bagder /
Last active February 17, 2024 12:08
Master curl in two hours. A video course by Daniel

The idea is to make a two and a half hour (give or take) video course explaining and detailing curl, the command line tool. How it works, how to use it, from the basics to some more advanced uses. This will be done by Daniel Stenberg, founder and lead developer of the curl project.

The recording and live-stream is scheduled for August 31, 2023. In the US morning and Euro evening.

See blog post for details.

The project (10 min)

attituding /
Created August 25, 2023 20:36
Share your contact information in a fun way with a NFC tag. Compatible with both Android and iOS.


Share your contact information in a fun way with a NFC tag.


The resulting NFC tag is compatible with both iOS and Android, see the notes for additional information.


This process will probably take you about 5-10m to create a vCard, about 5-10m to host your .vcf file, and 5m to write the vCard to your NFC tag.


ThatOneCalculator /
Created January 7, 2024 22:48
A dead simple batch gguf importing script. Just place/run it in the same directory as your ggufs.
#!/usr/bin/env bash
for gguf_file in ./*.gguf; do
base_name=$(basename "$gguf_file" .gguf)
echo "Making modelfile for $base_name"
echo "FROM ./$gguf_file" > "$model_file"
ollama create "$base_name" -f "$model_file"
rm "$gguf_file"
rm "$model_file"