Skip to content

Instantly share code, notes, and snippets.

View Donkey Konga 2 Chart.RTrackTemplate
<TRACK
NAME Chart
PEAKCOL 32559202
BEAT -1
AUTOMODE 0
VOLPAN 0.4316101837015 0 -1 -1 1
MUTESOLO 0 0 0
IPHASE 0
PLAYOFFS 0 1
ISBUS 1 1
@dotcomboom
dotcomboom / 99-bottles.e
Last active Aug 19, 2020
99 Bottles of Beer on the Wall (E sample program)
View 99-bottles.e
Checkpoint Start.
<-- Defines a checkpoint named Start. You can go back to it with Goto, as seen on line 13. Also, every operation ends with a period.
Set Drink to "Dr. Pepper".
Set Bottles to 0.
<-- This sets the variable Bottles. Variables store values.
<-- Similarly to other languages, quotes around text makes them a string (string of characters, or text)
Add 99 to Bottles.
<-- Add 99 bottles. (Shown here as an example. You could just Set Bottles to 99.)
@dotcomboom
dotcomboom / ccso.py
Last active Jul 27, 2020
CCSO/Ph Server in Python 3
View ccso.py
## Read-only CCSO server for Python 3.7+ by dotcomboom for somnol
## Originally worked on ~5/29/2019, finished 7/6/2020
## What is implemented:
## - "status" command
## - "fields" command
## - Title-cases fields for the frontend's description
## - query command
## - reload when any command passed has "reload" in it (with cooldown)
## - reading entries from json
View wow.py
import simplegui
c1x = 0
c2x = 0
p1x = 0
p2x = 0
p3x = 0
def draw_handler(canvas):
global c1x, c2x, p1x, p2x, p3x
@dotcomboom
dotcomboom / weather-rpc.py
Last active Jun 28, 2022
Weather rich presence for Discord that uses wttr.in's public api (Weatherbit.io version is in revisions, or check forks)
View weather-rpc.py
from pypresence import Presence
import requests
import json
import time
client_id = 704435320808276108
city = 'Minneapolis, MN'
url = 'https://wttr.in/{}?format=j1'.format(city)
@dotcomboom
dotcomboom / Old Pets.js
Last active Mar 10, 2020
Neopets userscript, very early version probably. Tested with https://github.com/janekptacijarabaci/greasemonkey/releases/tag/3.31.4Fork on Pale Moon.
View Old Pets.js
// ==UserScript==
// @name Old Pets (Sidebar/lookups, config needed)
// @namespace neopets.com
// @include http://www.neopets.com/*
// @version 1
// @grant none
// ==/UserScript==
// Here's the manual bit, in case you want the right color to show up instead of just yellow. Add an entry for each pet name.
// Keep it lowercase for the sake of convenience.
View contacts.txt
dotcomboom@somnolescent.net
dotcomboom#1395
https://dotcomboom.somnolescent.net
View recovered-ascii-art.txt
/\/\____
| .. \
| \/__ /\
\ / \ / \
U U
~dcb
@dotcomboom
dotcomboom / gnu.txt
Created Oct 3, 2019
woke computer kid national anthem
View gnu.txt
I'd fair-and-square corresponding to interject for a moment. What you're refering to every bit Linux, is fashionable fact, GNU/Linux, or every bit I've recently appropriated to vocation it, wildebeest advantageous Linux. Linux is not associate in nursing in operation organization unto itself, merely preferably additional self-governing constituent of a to the full functioning wildebeest organization successful multipurpose aside the wildebeest corelibs, carapace utilities and life-sustaining organization components comprehension a weighed down operating system every bit circumscribed aside POSIX.
Many information processing system users black market a restricted interlingual rendition of the wildebeest organization every day, without realizing it. through and through a particular change by reversal of events, the interlingual rendition of wildebeest which is widely secondhand nowadays is a great deal known as Linux, and numerous of its users are not knowledgeable that it is fundamentally the wildebeest syste