Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Tim Brust timbru31

💭
I may be slow to respond.
View GitHub Profile
@timbru31
timbru31 / DebugLogHandler.java
Last active Dec 26, 2020 — forked from dumptruckman/DebugLogHandler.java
A simple option for enabling debug logging in your Bukkit plugin,
View DebugLogHandler.java
/**
* 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 / keybase.md
Created Oct 27, 2017
keybase.io proof
View keybase.md

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 Apr 6, 2017
OSS analysis JSUnconf 2017
View license-checker.js
'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 / README.md
Created Jan 28, 2016 — forked from smileart/README.md
My ZSH Theme — Agnoster Mod
View README.md

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

@timbru31
timbru31 / run.bat
Last active Sep 8, 2016
Minecraft Server start script (Windows)
View run.bat
@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
View spigot_price_calculator.user.js
// ==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 / .gitconfig
Last active Jan 12, 2018
workspace-setup
View .gitconfig
[user]
name = Tim Brust OR xGhOsTkiLLeRx
email = xx@yy.de
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status -sb
br = branch -av
View README.md
@timbru31
timbru31 / openELEC.sh
Last active Dec 17, 2017
replace (root) password of squashfs from openELEC/LibreELEC // HowTo: https://dustpla.net/NyvMK
View openELEC.sh
#!/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 / git-acp.sh
Last active Aug 29, 2015
Git Add & Commit & Push :)
View git-acp.sh
#!/bin/sh
line() {
echo "$(tput setaf 6)======================================================================"
}
blankLine() {
echo ""
}
echo "========================="