Skip to content

Instantly share code, notes, and snippets.

View BlueFalconHD's full-sized avatar
🧭
Working through Crafting Interpreters

BlueFalconHD BlueFalconHD

🧭
Working through Crafting Interpreters
View GitHub Profile
@BlueFalconHD
BlueFalconHD / info.md
Last active October 12, 2024 03:16
XNU syscalls list.
@BlueFalconHD
BlueFalconHD / give.mcfunction
Created January 1, 2024 21:53
everybreaker
give @p netherite_pickaxe{display:{Name:'[{"text":"everybreaker","italic":false,"color":"dark_green"}]'},CanDestroy:["minecraft:acacia_button", "minecraft:acacia_door", "minecraft:acacia_fence", "minecraft:acacia_fence_gate", "minecraft:acacia_hanging_sign", "minecraft:acacia_leaves", "minecraft:acacia_log", "minecraft:acacia_planks", "minecraft:acacia_pressure_plate", "minecraft:acacia_sapling", "minecraft:acacia_sign", "minecraft:acacia_slab", "minecraft:acacia_stairs", "minecraft:acacia_trapdoor", "minecraft:acacia_hanging_sign", "minecraft:acacia_sign", "minecraft:acacia_wood", "minecraft:activator_rail", "minecraft:air", "minecraft:allium", "minecraft:amethyst_block", "minecraft:amethyst_cluster", "minecraft:ancient_debris", "minecraft:andesite", "minecraft:andesite_slab", "minecraft:andesite_stairs", "minecraft:andesite_wall", "minecraft:anvil", "minecraft:melon_seeds", "minecraft:pumpkin_seeds", "minecraft:azalea", "minecraft:azalea_leaves", "minecraft:azure_bluet", "minecraft:bamboo", "minecraft:bambo
@BlueFalconHD
BlueFalconHD / aoc-day2-part2.js
Created December 4, 2022 18:06
My solution for Advent of Code 2022 day 2 part 2
import fs from "fs/promises"
class Item {
constructor (name, letterme, wins, loses, points) {
this.name = name
this.l = letterme
this.wins = wins
this.loses = loses
this.points = points
}
@BlueFalconHD
BlueFalconHD / catppuccin-mocha.theme.css
Created September 25, 2022 01:52
Catppuccin WIP Mocha
/**
* @name Catppuccin Mocha
* @author winston#0001
* @authorId 505490445468696576
* @version 0.2.0
* @description 🎮 Soothing pastel theme for Discord
* @website https://github.com/catppuccin/discord
* @invite r6Mdz5dpFc
* **/
\:root,
@BlueFalconHD
BlueFalconHD / cursor.js
Created May 18, 2022 02:27
My attempt at a cursor circle
const canvas = document.getElementById('myCanvas');
// make the canvas the size of the window
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
const context = canvas.getContext('2d');
const centerX = canvas.width / 2;
const centerY = canvas.height / 2;
@BlueFalconHD
BlueFalconHD / xkcdcomicviewer.js
Last active November 7, 2021 20:39
View xkcd comics with ease! With a reload button too!
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: teal; icon-glyph: list-alt;
function resolveAfter2Seconds() {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve('resolved')
}, 2000);
});
}
const debug = false
// TODO
// Change values for addtext objects starting at line 83
// neofetch widget
@BlueFalconHD
BlueFalconHD / YoloTerm.js
Created June 29, 2021 16:44
A widget for scriptable! YoloTerm ✌️
/*
_| _| _| _|_|_|_|_|
_| _| _|_| _| _|_| _| _|_| _| _|_| _|_|_| _|_|
_| _| _| _| _| _| _| _|_|_|_| _|_| _| _| _|
_| _| _| _| _| _| _| _| _| _| _| _|
_| _|_| _| _|_| _| _|_|_| _| _| _| _|