Skip to content

Instantly share code, notes, and snippets.

View theoparis's full-sized avatar

Theo Paris theoparis

View GitHub Profile
@superblaubeere27
superblaubeere27 / index.md
Last active August 2, 2022 02:24
Code injection with Java Agents

Code injection with Java Agents

General information

Java Agents are used to replace code when the application is running. When you are debugging with IntelliJ, Eclipse etc. and you saving / rebuilding your code, an agent will be loaded to do it.

Restrictions

The environment has to be a Java Development Kit (not a Java Runtime Enviroment) to inject the code at runtime. If you want to apply the agent with -javaagent:<agent-jar> it will work for both.

Furthermore the agent can only add classes and change method contents at runtime.

@adisbladis
adisbladis / podman-shell.nix
Last active September 30, 2025 16:33
Use podman within a nix-shell
{ pkgs ? import <nixpkgs> {} }:
let
# To use this shell.nix on NixOS your user needs to be configured as such:
# users.extraUsers.adisbladis = {
# subUidRanges = [{ startUid = 100000; count = 65536; }];
# subGidRanges = [{ startGid = 100000; count = 65536; }];
# };
@kaysond
kaysond / fanctl.sh
Last active August 10, 2025 00:45
Dell Poweredge R710 R720 Fan Noise Control Script
#!/usr/bin/env bash
#You'll need to enable IPMI over lan in idrac first
#iDRAC Settings -> Network -> IPMI Settings
#Channel Privilege Level Limit needs to be Administrator
#You may want to create a dedicated username/pass with IPMI permission in iDRAC Settings -> User Authentication
IPMIHOST=idracip
IPMIUSER=username
IPMIPW=password
IPMIEK=0000000000000000000000000000000000000000
@John-Paul-R
John-Paul-R / FabricModList.md
Last active September 3, 2025 07:46
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.

@bsord
bsord / k3s-deployment.yml
Last active April 11, 2022 16:24
Kubernetes (k3s) deployment using helm to deploy MetalLb, Nginx-Ingress, SSL (cert-mananager), and Rook Ceph, depicted in YAML format.
vms:
OS: Ubuntu 18.04
update, upgrade
static ip
ssh keys
runtime:
- k3s
installCommands:
- Server
@wayou
wayou / emscripten vscode setup.md
Last active February 13, 2025 03:49
setup emscripten for vscode intelli sense

install emscripten

$ brew install emscripten

and setup by following the instruction after the installation.

get the location of emscripten header files

@winuxue
winuxue / puppeteer-ubuntu-1804.md
Created May 22, 2019 01:15
Solution for common dependences issues using puppeteer in ubuntu 18.04 (Bionic)

puppeteer dependeces in ubuntu 18.04 (Bionic)

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

sudo apt-get install libnss3

error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libxss1
@theoparis
theoparis / dev_online_resources.md
Last active May 6, 2019 14:35 — forked from devils-ey3/webdev_online_resources.md
Online Resources For Developers (No Downloading)
@ryanwilsonperkin
ryanwilsonperkin / Dockerfile
Created March 12, 2019 20:00
Comparing the use of apt-get vs apt-fast for installing packages in Debian
# A standard Debian container extended with apt-fast (https://github.com/ilikenwf/apt-fast/)
FROM debian
LABEL maintainer="[email protected]"
# Install gnupg to allow apt-key verification, time to allow profiling
RUN apt-get update
RUN apt-get install -y gnupg time
# Set up PPA for apt-fast
RUN echo deb http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic main >> /etc/apt/sources.list.d/apt-fast.list \