Skip to content

Instantly share code, notes, and snippets.

View dotStart's full-sized avatar


View GitHub Profile
dotStart / gist:9209296
Last active August 29, 2015 13:56
Atlassian OnDemand status image
// register error handler
set_error_handler(function($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
// defines
define ('IMAGE_DIR', dirname (__FILE__).'/image/'); // by default images (success.png, failed.png and unknown.png) are stored in ./image/
define ('KEY_REGEX', '~^([A-Za-z0-9]+)\-([A-Za-z0-9]+)$~'); // You usually won't need to change this
define ('SERVER_URL', ''); // set your Bamboo URL
dotStart / README
Created May 4, 2014 07:37
Clone Command Block MCEdit filter
Clone Command Block MCEdit Filter
This filter helps you to clone big structures from one position to any other
position in the level (as long as it is loaded). To achieve this it splits up
the zone in smaller 15x15x15 chunks which may be copied even though the overall
structure has more than 4096 blocks.
* Select the source structure
dotStart / gist:42388fa597866e535f0c
Created October 15, 2014 01:59
A simple hexchat script which makes ZNCs stickychan module slightly less annoying.
import hexchat;
# Module Metadata
__module_name__ = 'ZNC Stickychan'
__module_author__ = 'Akkarin'
__module_version__ = '1.0.0'
__module_description__ = 'Makes stickychan less annoying.'
# Handles messages.
def privmsg_cb (word, word_eol, userdata):
dotStart / PKGBUILD
Created June 6, 2015 21:20
Provides an LXD package for Ach Linux which may be built with makepkg.
# Maintainer: Johannes Donath <>
pkgdesc="A container hypervisor and a new user experience for LXC."
arch=('i686' 'x86_64')
dotStart / screenshot
Last active October 5, 2015 06:12
Provides a simple Amazon S3 screenshot tool.
# Akkarin's Simple S3 Screenshot Script
# Requirements:
# - shutter
# - awscli
# - zenity
# Note: The directory defined in $SCREENSHOT_PATH needs to exist!
<!-- ... -->
<nav id="mainNavigation">
<a href="#">
<img src="icon" alt="" />
dotStart /
Last active January 30, 2016 11:40
Provides a simple Hexchat plugin for replacing GitHub URLs with shortened links.
# Copyright 2015 Johannes Donath <>
# and other copyright owners as documented in the project's IP log.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
<!DOCTYPE html>
<html xmlns="">
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="" />
<style typte="text/css">
body {
font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', sans-serif;
font-size: 18px;
* Creates a "sneaky" consumer which disguises all thrown exceptions to work around Javac's checked exceptions.
* @param consumer the sneaky consumer.
* @param <I> the input type.
* @return the consumer.
public static <I> Consumer<I> sneakyConsumer(@Nonnull final SneakyConsumer<I> consumer) {
return (i) -> {

Keybase proof

I hereby claim:

  • I am lordakkarin on github.
  • I am start ( on keybase.
  • I have a public key ASCOWTUXT-i1JIde3asqYSN5UHX9MK9fzHjBJiyOtepCMgo

To claim this, I am signing this object: