Skip to content

Instantly share code, notes, and snippets.

View semick-dev's full-sized avatar

Scott Beddall semick-dev

View GitHub Profile
@semick-dev
semick-dev / running-arcana-server.md
Last active August 29, 2025 20:24
Running a minecraft server

Running a Minecraft NeoForge arcana server

Unless otherwise noted, all operations should be completed on the raspberry pi aka server-side.

Download prereqs

You basically only need OpenJDK 21. So I can't test this because my test machine is a ubuntu machine, but this is what chatgpt says about installing it.

# download, extract, and move to under a tools directory
@semick-dev
semick-dev / log.md
Last active August 5, 2024 05:52
Another example

Failure details

removingHandlerCancelsTimeout
org.opentest4j.AssertionFailedError: expected: <null> but was: <ScheduledFutureTask@5454300b(success, task: COMPLETED, deadline: 2707436309, period: 0)>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
@semick-dev
semick-dev / storage_failure_summary.md
Last active August 5, 2024 01:54
A dump of a java - storage failure from the perspective of the test-proxy.

Summary

The audit log is built by the proxy continuously adding atomic entries to a ConcurrentQueue, to avoid any chance of multithread locking causing a log to be lost or written at the wrong time. Relevant tools PR

2024-08-04T08:23:25.1419890Z 84f69d4d-5987-4a75-a2a2-d1c1f41908fd,2024-08-04T08:09:32.4381237Z,,,Starting playback for path sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceApiTests.setAndGetPropertiesWithInvalidArgs[1].json, which will return recordingId 84f
@semick-dev
semick-dev / vim.md
Last active August 29, 2025 20:24
A vim reference for myself.
@semick-dev
semick-dev / Test-Proxy.psm1
Last active August 29, 2025 20:24
A few convenience functions for the test-proxy.
Set-StrictMode -Version 4
$AVAILABLE_TEST_PROXY_BINARIES = @{
"Windows" = @{
"AMD64" = @{
"system" = "Windows"
"machine" = "AMD64"
"file_name" = "test-proxy-standalone-win-x64.zip"
"executable" = "Azure.Sdk.Tools.TestProxy.exe"
}
}
@semick-dev
semick-dev / debugging-test-proxy-per-language.md
Last active August 29, 2025 20:24
How does one debug a test-proxy session?

How to debug test-proxy issues

This writeup is NOT a reference on how to install or run the test-proxy, it is a shortcut guide to helping a test-proxy dev debug each language's tests.

.NET

To run storage tests, azurite must be installed

  1. Install npm, ensure node is available on PATH
  2. Install npm version of azurite, npm install -g azurite
@semick-dev
semick-dev / configure-pypy-on-wsl.md
Last active August 29, 2025 20:24
Configure a usable pypy39 environment on WSL (Ubuntu 20.04)

Getting a pypy Virtual Env on WSL

All of the details in this instruction are being run from the default user folder of your WSL. For me, that's /home/semick/. ~ is also used to refer to this same /home/semick directory.

So install Ubuntu 20.04 LTS from Microsoft Store! (If you aren't using the new windows terminal I HIGHLY recommend it)

Finally, get a usable venv for pypy39

sudo apt update &amp;&amp; sudo apt upgrade
@semick-dev
semick-dev / Dockerfile
Last active August 29, 2025 20:24
An adjusted Haskell community codespaces configuration that boots successfully instead of failing with `error code 3`.
FROM debian:bullseye-slim
ENV LANG C.UTF-8
ENV BOOTSTRAP_HASKELL_NONINTERACTIVE 1
# [Option] Install zsh
ARG INSTALL_ZSH="true"
# [Option] Upgrade OS packages to their latest versions
ARG UPGRADE_PACKAGES="false"
@semick-dev
semick-dev / tomlappend.py
Last active August 29, 2025 20:24
Update the management packages pyproject.toml (or create one if one doesn't exist) with a name/value pair.
import argparse
from ci_tools.functions import discover_targeted_packages
from ci_tools.parsing import ParsedSetup, update_build_config
from ci_tools.functions import omit_mgmt
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="")
parser.add_argument(
@semick-dev
semick-dev / java-repro-ubuntu.md
Last active August 29, 2025 20:24
Repro Resource Manager on Ubuntu

azure-resourcemanager-compute on ubuntu 20.04

Get mvn

wget https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz
sudo tar -xzf apache-maven-3.8.8-bin.tar.gz -C /opt/
mv /opt/apache-maven-3.8.8 /opt/maven
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH