Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View timbru31's full-sized avatar
🏠
Working from home

Tim Brust timbru31

🏠
Working from home
View GitHub Profile
@timbru31
timbru31 / Test
Last active May 30, 2022 09:56
Test
4
@timbru31
timbru31 / DebugLogHandler.java
Last active December 26, 2020 13:20 — forked from dumptruckman/DebugLogHandler.java
A simple option for enabling debug logging in your Bukkit plugin,
/**
* Copyright 2019 dumptruckman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
* the Software.
@timbru31
timbru31 / .gitconfig
Last active January 12, 2018 15:53
workspace-setup
[user]
name = Tim Brust OR xGhOsTkiLLeRx
email = xx@yy.de
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status -sb
br = branch -av
@timbru31
timbru31 / openELEC.sh
Last active December 17, 2017 22:07
replace (root) password of squashfs from openELEC/LibreELEC // HowTo: https://dustpla.net/NyvMK
#!/bin/sh
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# Tested with openELEC v4.0.6, v4.2.1, v5.0.8 and v6.0.0 #
# Tested with LibreELEC v7.90.002 #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# author: Tim "xGhOsTkiLLeRx" Brust
@timbru31
timbru31 / keybase.md
Created October 27, 2017 13:39
keybase.io proof

Keybase proof

I hereby claim:

  • I am timbru31 on github.
  • I am timbru31 (https://keybase.io/timbru31) on keybase.
  • I have a public key whose fingerprint is 6897 7384 F2A1 A030 0127 DC13 94EA 4986 FA50 F11B

To claim this, I am signing this object:

@timbru31
timbru31 / license-checker.js
Last active April 6, 2017 11:09
OSS analysis JSUnconf 2017
'use strict';
const licenseChecker = require('license-checker');
const exclude = `MIT,MIT*,ISC,WTFPL,(WTFPL OR MIT),(BSD-2-Clause OR MIT),(MIT AND CC-BY-3.0),Apache 2.0,Apache-2.0,(MIT OR Apache-2.0),BSD,BSD-2-Clause,BSD-3-Clause,
(BSD-2-Clause OR MIT OR Apache-2.0),Unlicense,Public Domain,Artistic-2.0,CC-BY-3.0`;
const dependenciesWhitelist = [/*{
name: 'json-schema@0.2.3',
reason: 'Invalid package.json field (uses licenses), but code is actually (BSD-3-Clause OR AFL-2.1)',
@timbru31
timbru31 / spigot_price_calculator.user.js
Last active January 6, 2017 19:52
Spigot Price Calculator
// ==UserScript==
// @name Spigot Price Calculator
// @namespace http://dustplanet.de
// @version 0.1.2
// @description Calculates the total amount you have earned with your premium plugin.
// @author xGhOsTkiLLeRx
// @match https://www.spigotmc.org/resources/*/buyers
// @grant none
// ==/UserScript==
@timbru31
timbru31 / run.bat
Last active September 8, 2016 09:30
Minecraft Server start script (Windows)
@echo off
title MC 1.10.2 Server DEV
:: set folder
set BINDIR=%~dp0
cd /D "%BINDIR%"
:: initial variables
set java=8
set jar=craftbukkit
@timbru31
timbru31 / README.md
Created January 28, 2016 18:30 — forked from smileart/README.md
My ZSH Theme — Agnoster Mod

My modified fork of agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

Compatibility