Skip to content

Instantly share code, notes, and snippets.


Carsten Teibes carstene1ns

View GitHub Profile
carstene1ns /
Created Mar 14, 2021
Jenkins Agent on Arch Linux Server

Add needed user:

# useradd -m -U jenkins

Enable Service:

# systemctl enable --now jenkins-agent.service
carstene1ns /
Last active Oct 4, 2020
Get all commits of the current branch since creation from another branch


Show all commits the current feature branch has:

$ git show -s $(./

Cherry-Pick all commits the specific pull request (checked out as branch) has:

carstene1ns / dnsmasq.conf
Created May 1, 2018
Minimal dnsmasq configuration for Nintendo Switch homebrew launcher (
View dnsmasq.conf
address=/<IP of your Webserver>
carstene1ns / dump_romfs.rb
Created Apr 26, 2018
Simple tool to get a romFS image out of a .NRO file
View dump_romfs.rb
#!/usr/bin/env ruby
# dump_romfs.rb by carstene1ns, 2018 - under ISC License
# See for reference
# helper
carstene1ns / fonts-noaa.conf
Created Oct 29, 2017
Better font rendering for RPG_RT.exe in wine
View fonts-noaa.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- load default settings -->
<!-- disable anti-aliasing -->
<match target="font">
<edit mode="assign" name="rgba">
carstene1ns /
Last active Aug 18, 2017
HexChat plugin to map bot messages in `<nick> message` format to messages coming from nick directly instead
# Name:
# Author: carstene1ns < dev f4ke de >
# Date: 2017-08-04
# License: This code is put in the public domain.
use strict;
use warnings;
use utf8;
use v5.26.0;
use HexChat;
carstene1ns / write_room_pics.rb
Created Jun 23, 2017
Creates the room description bars in the EasyRPG Testgame
View write_room_pics.rb
rooms = Array[
"Message options",
"Show face",
"Number input",
"Switch operation",
"Variable operation",
carstene1ns / libmad-pkg-config.diff
Created Oct 12, 2015
libmad pkg-config patch, adapted from Arch Linux package. Needs to run autoreconf.
View libmad-pkg-config.diff
diff -Naur libmad-0.15.1b.orig/ libmad-0.15.1b/
--- libmad-0.15.1b.orig/ 2004-01-23 10:41:32.000000000 +0100
+++ libmad-0.15.1b/ 2015-10-12 05:51:12.514078692 +0200
@@ -26,7 +26,7 @@
carstene1ns / unxxd.rb
Last active Jun 5, 2018
`xxd -i` creates header files with hexdumps of any raw file. This simple ruby script saves the content of the header file in raw form.
View unxxd.rb
#!/usr/bin/env ruby
# read
xxd ='file.xxd')
# values are comma separated
chars = xxd.split(',')
# with whitespaces! {|c| c.strip}
# in hex! {|c| c.to_i(16)}
carstene1ns / .gitattributes
Last active Aug 29, 2015
git diff output for rpg maker files using easyrpg's lcf2xml tool
View .gitattributes
*.lmu diff=easyrpg