Skip to content

Instantly share code, notes, and snippets.

View nycki93's full-sized avatar

Nycki nycki93

View GitHub Profile
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 2026-02-17
// @description try to take over the world!
// @author You
// @match https://bsky.app/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bsky.app
// @grant none
// ==/UserScript==
#!/bin/bash
while true
do
java -Xmx3G -jar forge-1.12.2-14.23.5.2859.jar nogui
echo "restarting in 5 seconds"
sleep 5
done
@nycki93
nycki93 / gumbo.md
Last active January 11, 2025 23:58
Rules to Gumbo, v1.0

Gumbo

A trick-taking game where you never know what you'll get. v1.0 by Nycki, 2025.

Summary: play rounds of 5 tricks, with each trick being a high-card competition. The first team to 10 points wins the game.

Set up: Pick out the 9, 10, J, Q, K, A of each suit, plus one Joker, for 25 cards in total. Only these cards will be used. Choose a player to deal first, deal rotates clockwise.

Each round: Shuffle 25 cards and deal 5 to each player. The remaining 5 cards are left in the middle, called the Boneyard.

#!/usr/bin/env python3
# kcs_decode.py
#
# Author : David Beazley (http://www.dabeaz.com)
# Copyright (C) 2010
#
# Modified by : Nick "Nycki" Lamicela (http://nycki.net)
# 2024
#
# Requires Python 3.1.2 or newer
@nycki93
nycki93 / afk.js
Created July 4, 2024 22:38
mineflayer afk script
import { readFileSync } from 'node:fs';
import { createInterface, moveCursor } from 'node:readline';
import { createBot } from 'mineflayer';
const config = JSON.parse(readFileSync('config.json'));
const { host, port, username, password } = config;
const PROMPT = '> ';
import Rx from 'rxjs';
/* library code */
function* count() {
let i = 0;
while (true) {
yield i;
i += 1;
}
@nycki93
nycki93 / scoops.md
Created December 10, 2023 20:54
Scoops - A procedurally-generated rummy variant.

Scoops v1.0

A procedurally-generated rummy variant by 'Nycki' Lamicela, 2023.

Each round, generate a random contract by rolling four dice. Whoever goes out first wins the contract and gets 1 point. First to 3 points wins the game.

Rubber-band rule: If exactly one player has the lowest score, they may look at their cards first, then choose which dice to assign to which generator. Otherwise, assign dice in the order rolled.

Most rules will require you to group cards into sets.

  • A set (or "meld") is either a book or a run.
  • A book is three or more cards of the same rank.
@nycki93
nycki93 / bottles.nift
Last active November 21, 2023 18:16
nift seximal bottles
version: 0.2.1
depends: (
nift: 0.0.2
)
description: "Sings the '99 bottles' song, but in seximal."
constants: (
MAX: 35 # fifsy-five
)
# (a / b / c d e) is shorthand for (a (b (c d e)))
(
html
:lang en
(meta :encoding utf-8)
(title "My Website")
(style ":root" (:text-align center))
(h1 "Hello World!")
(br)
(p "Lorem ipsum dolor sit amet")
)
@nycki93
nycki93 / backup.sh
Created June 25, 2021 19:53
my backup script
#!/bin/bash
_run ()
{
echo $@
if [ "$DRY_RUN" == false ]; then
$@
fi
}