Skip to content

Instantly share code, notes, and snippets.

View BlueFalconHD's full-sized avatar
🧭

BlueFalconHD BlueFalconHD

🧭
View GitHub Profile
@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 ✌️
/*
_| _| _| _|_|_|_|_|
_| _| _|_| _| _|_| _| _|_| _| _|_| _|_|_| _|_|
_| _| _| _| _| _| _| _|_|_|_| _|_| _| _| _|
_| _| _| _| _| _| _| _| _| _| _| _|
_| _|_| _| _|_| _| _|_|_| _| _| _| _|