Skip to content

Instantly share code, notes, and snippets.

View denzuko's full-sized avatar
💬
twitter.com/denzuko

Dwight Spencer (denzuko@mastodon.social) denzuko

💬
twitter.com/denzuko
View GitHub Profile
@denzuko
denzuko / bbs.lua
Created July 27, 2020 19:47
telnetbbsguide.com client in opencomputers lua (defaults to xmcore bbs, usage: bbs <host:port | "" for bbs.dapla.net:23>
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()
@denzuko
denzuko / profile.ps1
Created July 6, 2020 01:34
windows-fixed
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 23:31
Minecraft server
---
version: "3.7"
volumes:
mc-data:
networks:
default:
external: true
name: 'public'
---- 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 March 2, 2020 00:35 — forked from aldemirenes/android_build_run.sh
Shell scripts for Android development without needing to use Android Studio
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
@denzuko
denzuko / hosts.txt
Created February 23, 2020 21:11
gamespy -> everid
162.243.230.247 swbfront2pc.available.gamespy.com
162.243.230.247 swbfront2pc.master.gamespy.com
162.243.230.247 swbfront2pc.ms6.gamespy.com
162.243.230.247 available.gamespy.com
162.243.230.247 master.gamespy.com
162.243.230.247 gamestats.gamespy.com
162.243.230.247 key.gamespy.com
162.243.230.247 peerchat.gamespy.com
162.243.230.247 motd.gamespy.com
162.243.230.247 gpsp.gamespy.com
@denzuko
denzuko / nmap-bbs.dapla.net.txt
Last active January 26, 2020 12:52
nmap scan results - 2020-01-26
denzuko@prlxjump:~$ nmap -Pn bbs.dapla.net
Starting Nmap 7.60 ( https://nmap.org ) at 2020-01-26 06:43 CST
Nmap scan report for bbs.dapla.net (52.90.75.190)
Host is up (0.033s latency).
Not shown: 999 filtered ports
PORT STATE SERVICE
9090/tcp open zeus-admin
Nmap done: 1 IP address (1 host up) scanned in 66.10 seconds
#!/usr/bin/which python3
## Coding Challenge: Nov. 25 (find the hidden message)
## (C)2019 Dallas Makerspace. All Rights Reserved.
## Distributed under Modified BSD 3 Class Licence.
## Author(s):
## - Dwight Spencer (@Denzuko)
channels = [
['48', '61', '70'],
['70', '79', '20'],
00:15:40] [Client thread/INFO] [minecraft/AdvancementList]: Loaded 72 advancements
[00:15:40] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 13094ms behind, skipping 261 tick(s)
[00:15:46] [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: epicsquid.mysticallib.util.ItemUtil.spawnItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_221]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_221]
at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.integrated.Integrat