Skip to content

Instantly share code, notes, and snippets.

View IMB11's full-sized avatar

Calum H. IMB11

View GitHub Profile
@IMB11
IMB11 / Mr.js
Created December 31, 2024 14:18
const axios = require('axios');
async function getProjects() {
const url = "https://api.modrinth.com/v2/search";
let page = 0;
const projectsInfo = [];
while (true) {
const params = {
index: "relevance",
@IMB11
IMB11 / at_protocol_change_handle.js
Created December 27, 2024 12:13
This script changes your bluesky handle. For custom domains make sure you have everything setup like the bluesky frontend tells you (DNS record or .well-known) file.
// Run using node handle.js
// Install axios using npm install axios
// nodejs v18+
const axios = require('axios');
// =====================
// === Configuration ===
// =====================
// Replace these constants with your actual credentials and desired handle
@IMB11
IMB11 / aoc1.1.js
Created December 1, 2024 16:09
Advent Of Code 2024 Day 1
// Day 1 Part 1
const input = ``
const split = input.split("\n");
let list1 = [];
let list2 = [];
for (let item of split) {

Loqui is archived. Please see the modrinth page for more information.