Skip to content

Instantly share code, notes, and snippets.


Christian Bargmann cbrgm

View GitHub Profile
Neo23x0 /
Last active Oct 12, 2022
Log4j RCE CVE-2021-44228 Exploitation Detection

log4j RCE Exploitation Detection

You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228

Grep / Zgrep

This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders

sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
dskindell / .skhdrc
Last active Oct 19, 2021
OSX Yabai Configuration
View .skhdrc
####### Shortcut Hotkeys #############
# open terminal
alt - return : $HOME/.config/skhd/
# restart Yabi, SpaceBar, and SKHD
alt + shift - r : \
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \
skhd --reload
import os
import glob
import math
import random
import numpy as np
import matplotlib.pyplot as plt
import cv2
from tensorflow.python import keras
View nukeMediumEverywhere.js
// ==UserScript==
// @name Nuke medium everywhere!
// @namespace
// @version 0.1
// @description Yes, for the love of God!
// @author Richard Vasquez
// @match *://*/*
// @grant none
// ==/UserScript==
juancarlospaco /
Last active Apr 25, 2022
Arch Linux Thermal Printer USB 58mm / 80mm Drivers & Config
tallclair / dynamic_crds.go
Last active Oct 20, 2022
Example of using CRDs with the dynamic go client
View dynamic_crds.go
package main
import (
apixv1beta1 ""
sevkin / url_open.go
Last active Nov 16, 2022
golang open url in default browser
View url_open.go
// open opens the specified URL in the default browser of the user.
func open(url string) error {
var cmd string
var args []string
switch runtime.GOOS {
case "windows":
cmd = "cmd"
args = []string{"/c", "start"}
danielcosta /
Created Apr 7, 2017
Run docker-compose inside a container
# Run docker-compose in a container
# This script will attempt to mirror the host paths by using volumes for the
# following paths:
# * $(pwd)
# * $(dirname $COMPOSE_FILE) if it's set
# * $HOME if it's set
itzg / README libvirt cloud-init with static
Last active Nov 13, 2022
Configuring a libvirt domain with a static IP address via cloud-init local datasource
View README libvirt cloud-init with static

Here is how to create a cloud-init disk image and OS disk image suitable for configuring into a libvirt domain file.

In my case I am naming my domain (a.k.a. virtual machine or VM) xenial with a static IP address of The filenames "network-config" and "user-data" files are arbitrary, so they can be named with a prefix for the domain, etc.

First, get the cloud image and convert into QCOW2 format:

qemu-img convert -O qcow2 xenial-server-cloudimg-amd64-disk1.img xenial-server-cloudimg-amd64-disk1.qcow2
cydh /
Last active Apr 8, 2022
How to change MAX LEVEL from 99 to 255 for rAthena

How to change MAX LEVEL from 99 to 255 for rAthena

Adding EXP tables for Base Level 255 from level 99

All you need is Notepad++ to change max level from 99 to 255 by editing the job_exp.txt file. Follow these quick instructions:

  1. Open job_exp.txt (pre | re) by using Notepad++
  2. Create a new blank file
  3. Makes 156 empty lines, because to add max level from 99 to 255 needs 156 more EXP entries 156 empty lines
  4. In that empty blank file at first line, click Edit menu > choose Column Editor..., or press ALT+C Open Column Editor