Skip to content

Instantly share code, notes, and snippets.

Avatar
💬
twitter.com/denzuko

Dwight Spencer denzuko

💬
twitter.com/denzuko
View GitHub Profile
View console.log
$ sudo apt-get update
... # trunicated # ...
Ign https://packagecloud.io jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
View 200iq.c
int main(int i){for(;i-5000;i++,puts("I will not use classes"));}
@denzuko
denzuko / helo.bas
Last active Mar 11, 2021
Arduino64
View helo.bas
5 FALSE = .:TRUE = NOT FALSE
10 HI=255: LO=0:DEV=56579:COMM=56577
15 DIM D(7)
20 D(0)=1:D(1)=2:D(2)=4:D(3)=8
22 D(4)=16:D(5)=32:D(6)=64:D(7)=128
25 POKE DEV,HI:POKE COMM,LO
100 FOR X=0 TO 7: GOSUB 300:NEXT
200 FOR X=7 TO 1 STEP -1: GOSUB 300:NEXT
250 GOTO 100
@denzuko
denzuko / bbslink.py
Created Oct 4, 2020
bbslink.mpy door menu - InterBBS Server
View bbslink.py
@denzuko
denzuko / POWERBALL.BAS
Created Aug 22, 2020
Random Program found while restoring a C128. Author is unattributed. Seems to print five random numbers after each press of return...
View POWERBALL.BAS
100 REM**RANDOM NUMBERS**
200 REM**CLEAR THE SCREEN**
210 PRINT CHR$(147)
220 REM**GET A NUMBER**
240 PRINT "PRESS RETURN"
260 INPUT NUM
300 REM**PRINT RANDOM NUMBERS**
310 FOR N=1TO5
315 V=INT(RND(0)*41)+5
320 PRINT INT(V)
@denzuko
denzuko / bbs.lua
Created Jul 27, 2020
telnetbbsguide.com client in opencomputers lua (defaults to xmcore bbs, usage: bbs <host:port | "" for bbs.dapla.net:23>
View bbs.lua
local component = require("component")
local internet = require("internet")
local shell = require("shell")
local term = require("term")
local text = require("text")
local event = require("event")
local gpu = component.gpu
local w, h = gpu.getResolution()
View profile.ps1
function Invoke-Editor {
[cmdletbinding()]
[alias("edit")]
param(
[ValidateNotNullOrEmpty()]
[string] $Path = $(throw "-Path is required"),
[string] $Editor = "notepad"
)
Invoke-Expression "$($Editor) $($Path)"
@denzuko
denzuko / docker-compose.yml
Last active May 19, 2020
Minecraft server
View docker-compose.yml
---
version: "3.7"
volumes:
mc-data:
networks:
default:
external: true
name: 'public'
View crashlog.txt
---- Minecraft Crash Report ----
WARNING: coremods are present:
llibrary (llibrary-core-1.0.11-1.12.2.jar)
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
BlurPlugin (Blur-1.0.4-14.jar)
Quark Plugin (Quark-r1.5-167.jar)
CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)
ratscore (rats-3.2.6.jar)
SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)
@denzuko
denzuko / Makefile
Last active Mar 2, 2020 — forked from aldemirenes/android_build_run.sh
Shell scripts for Android development without needing to use Android Studio
View Makefile
PACKAGE_NAME := $(shell basename "$(shell pwd)")
APP_PID := $(shell adb shell ps | awk -F q=$(PACKAGE_NAME) '$0 ~ q { print $2 }')
APKFILE := app/build/outputs/apk/apk-debug.apk
.PHONY: all clean build logs install
all: build install logs
build:
@./gradlew assembleDebug