Skip to content

Instantly share code, notes, and snippets.

@Qubus0
Qubus0 / mod-list.json
Last active April 3, 2023 00:06
A list of current dome keeper mods
[
{
"title": "Legacy Mod loader",
"description": "Loader to use mods. Read the README file included in the download.",
"authors":
[
"Hello World"
],
"tags":
[
@bashbunni
bashbunni / .zshrc
Created October 27, 2022 21:41
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
// y(x) = x + 7
// f(x) = x + 7
let f x = x + 7
(f 4).Dump("f(4)")
let a1 = Some 4
let a2 = None
((Option.map f) a1).Dump("option_f(a1")
@adamantonio
adamantonio / chbs.py
Last active December 18, 2022 22:21
Correct Horse Battery Staple Password Generator - https://www.youtube.com/watch?v=7rT_kqxOCXw
import gooeypie as gp
from random import choice
nouns = open('words-nouns.txt').read().splitlines()
adjectives = open('words-adjectives.txt').read().splitlines()
def generate_password(event):
"""Generates and displays a new random password"""
word1 = choice(adjectives)
word2 = choice(nouns + adjectives)
@huytd
huytd / wordle.md
Last active April 1, 2025 00:28
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@codebykyle
codebykyle / connect.ps1
Last active March 20, 2025 00:57
Windows Terminal Split Pane Powershell Script - v2
using namespace System.Collections.Generic
# Encapsulate an arbitrary command
class PaneCommand {
[string]$Command
PaneCommand() {
$this.Command = "";
}
@Mashpoe
Mashpoe / main.c
Last active January 25, 2025 13:25
ASCII Tesseract Rotation C Program
#include <stdio.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <windows.h>
// width and height of screen
#define ww 100
#define wh 50
void clr(CHAR_INFO* d)
@davidfowl
davidfowl / .NET6Migration.md
Last active April 11, 2025 11:12
.NET 6 ASP.NET Core Migration
@davidfowl
davidfowl / MinimalAPIs.md
Last active March 16, 2025 16:47
Minimal APIs at a glance
@kepano
kepano / obsidian-web-clipper.js
Last active April 21, 2025 06:17
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */