Skip to content

Instantly share code, notes, and snippets.

View cbrgm's full-sized avatar
👋

Christian Bargmann cbrgm

👋
View GitHub Profile
@cbrgm
cbrgm / gist:b0625bbc06c0e2f53bf45a98f2e26d68
Created May 5, 2018 17:41
Install / Update jsonnet from source
# $ cat install.sh
# /bin/bash
set -e
# Clone and compile
git clone https://github.com/google/jsonnet.git
cd jsonnet
make
@cbrgm
cbrgm / install-JabRef.sh
Last active May 16, 2019 14:39
Install JabRef 4.2 Ubuntu 18.04
#!/bin/bash
# Install java packages + javafx
sudo apt-get install default-jdk
sudo apt-get install openjfx
# Download Jabref
sudo wget -P /etc/jabref -O jabref.jar https://www.fosshub.com/JabRef.html/JabRef-4.2.jar
# Create startup script
sudo mkdir /etc/jabref
@cbrgm
cbrgm / i3-config
Last active November 30, 2018 20:19
i3 config
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
# set windows key as mod-key
set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# The following packages are required: pacman -S ttf-roboto otf-font-awesome
@cbrgm
cbrgm / .zshrc
Created November 30, 2018 20:25
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/chris/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@cbrgm
cbrgm / install-ro.sh
Last active August 9, 2023 01:38
Install rAthena RagnarokOnline Server on Ubuntu 18.04
#!/bin/bash
######################################################
# Basic settings
######################################################
# server base directory
RAGNAROK_DIR=/rAthena
# mysql database settings
MYSQL_ROOT_PW="changeme"
################################################################################
# World server configuration #
################################################################################
[MangosdConf]
ConfVersion=2017021400
################################################################################
# CONNECTIONS AND DIRECTORIES
#
@cbrgm
cbrgm / mangosd.conf
Last active October 3, 2024 03:18
cmangos config
#####################################
# MaNGOS Configuration file #
#####################################
[MangosdConf]
ConfVersion=2019020601
###################################################################################################################
# CONNECTIONS AND DIRECTORIES
#
@cbrgm
cbrgm / gen-kubeconfig.sh
Created April 8, 2019 10:23
Create a kubeconfig for an existing serviceaccount in kubernetes
#!/bin/bash
# your server name goes here
server=https://my.k8s.cluster:6443
# the name of the secret containing the service account token goes here
name=super-secret-token-2l269
# the namespace containing the secret
namespace=kube-system
# don't touch this!
@cbrgm
cbrgm / PKGBUILD
Created May 9, 2019 22:01
PKGBUILD cuelang-cue-git
# Configure, Unify, Execute.
# CUE is an open source data constraint language which aims to simplify tasks involving defining and using data.
# It is a superset of JSON, allowing users familiar with JSON to get started quickly.
# Maintainer: Christian Bargmann <[email protected]>
pkgname=cuelang-cue-git
pkgver=r157.ad10d9d
pkgrel=1
pkgdesc='The CUE Data Constraint Language'
@cbrgm
cbrgm / .skhdrc
Created June 16, 2021 16:32
yabai + skhd + spacebar dotfiles
####### Shortcut Hotkeys #############
# open terminal
alt - return : open -n /Applications/Alacritty.app
# restart Yabi, SpaceBar, and SKHD
alt + shift - r : \
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \
skhd --reload