Skip to content

Instantly share code, notes, and snippets.

smelling the roses

dcb dotcomboom

smelling the roses
View GitHub Profile
dotcomboom / Image Tag
Last active July 25, 2018 23:03
Generate IMG tags for every file in a folder
View Image Tag
import os
for filename in os.listdir(input('Path: ')):
print('<img src="' + filename + '" />')
dotcomboom / redirect_date.js
Last active July 28, 2018 02:54
Redirect to another URL based on the current date
View redirect_date.js
/* configuration */
var redirectDays = [
['7/27/2018', ''],
['7/28', '']
]; /* mm/dd/yyyy or mm/dd format */
var milliseconds = 2000;
/* sleep function from */
function sleep(milliseconds) {
var start = new Date().getTime();
dotcomboom / beespeak.txt
Last active May 24, 2019 01:44
The entire Bee Movie script in Newspeak courtesy of @mat1
View beespeak.txt
according to all known laws of aviation there is no way a bee should be able to fly its wings are too small to get its fat little body off ground the bee of course flies anyway because bees dont care what humans think is impossible yellow black yellow black yellow black yellow black ooh black and yellow lets shake it up a little barry breakfast is ready ooming hang on a second hello barry adam oan you believe this is happening i cant ill pick you up looking sharp use stairs your father paid good money for those sorry im excited heres graduate were plusproud of you son a perfect report card all bs plusproud ma i got a thing going here you got lint on your fuzz ow thats me wave to us well be in row 118000 bye barry i told you stop flying in house hey adam hey barry is that fuzz gel a little special day graduation never thought id make it 3 days grade school 3 days high school those were awkward three days college im glad i took a day and hitchhiked around hive you did come back different hi barry artie growing
dotcomboom / Form1.vb
Created August 27, 2019 23:30
Background Worker
View Form1.vb
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Button1.Enabled = False
Button2.Enabled = True
End Sub
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
Dim i = 0
dotcomboom / Roam.lua
Created September 14, 2019 02:45
Roam source code from June 11, 2018
View Roam.lua
-- roam
-- by dotcomboom
-- init functions
function clear()
for i=1, 30 do
dotcomboom / gnu.txt
Created October 3, 2019 03:15
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
dotcomboom / Old Pets.js
Last active March 10, 2020 03:44
Neopets userscript, very early version probably. Tested with on Pale Moon.
View Old Pets.js
// ==UserScript==
// @name Old Pets (Sidebar/lookups, config needed)
// @namespace
// @include*
// @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.
dotcomboom / contacts.txt
Last active March 15, 2020 02:26
View contacts.txt
View recovered-ascii-art.txt
| .. \
| \/__ /\
\ / \ / \
import simplegui
c1x = 0
c2x = 0
p1x = 0
p2x = 0
p3x = 0
def draw_handler(canvas):
global c1x, c2x, p1x, p2x, p3x