Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🧈

Johannes Donath dotStart

💭
🧈
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dotstart on github.
  • I am start (https://keybase.io/start) on keybase.
  • I have a public key ASC3FHVsjWFmXfwBiJsQQSwzGwUKtHihIQAY71C7aRdLqQo

To claim this, I am signing this object:

View PetThePup.asl
state("PetThePup") {
uint Level : 0x10A5500;
uint TotalPupsPetted : "mono.dll", 0x001F8CC0, 0xF0, 0x44, 0x58C;
}
start {
return current.Level != 0 && current.Level != 101 && current.TotalPupsPetted == 0;
}
split {
View keybase.md

Keybase proof

I hereby claim:

  • I am lordakkarin on github.
  • I am start (https://keybase.io/start) on keybase.
  • I have a public key ASCOWTUXT-i1JIde3asqYSN5UHX9MK9fzHjBJiyOtepCMgo

To claim this, I am signing this object:

View brainpower.html
<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/xhtml/">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:700" />
<style typte="text/css">
body {
font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', sans-serif;
font-size: 18px;
@dotStart
dotStart / MinecraftService.md
Last active March 18, 2023 23:14
Systemd services for Minecraft Servers
View MinecraftService.md

Minecraft systemd Services

This gist contains service descriptors which may be used to automatically start and re-start Minecraft servers using systemd. This allows proper control of your server startup on modern Linux distributions and will automatically manage all required tasks on startup for you.

Requirements

View Hack.java
/**
* 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.
*/
@Nonnull
public static <I> Consumer<I> sneakyConsumer(@Nonnull final SneakyConsumer<I> consumer) {
return (i) -> {
@dotStart
dotStart / gitio.py
Last active January 30, 2016 11:40
Provides a simple Hexchat plugin for replacing GitHub URLs with shortened links.
View gitio.py
#
# Copyright 2015 Johannes Donath <johannesd@torchmind.com>
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@dotStart
dotStart / PKGBUILD
Created June 6, 2015 21:20
Provides an LXD package for Ach Linux which may be built with makepkg.
View PKGBUILD
# Maintainer: Johannes Donath <johannesd@torchmind.com>
pkgname=lxd-git
pkgver=0.9
pkgrel=0
pkgdesc="A container hypervisor and a new user experience for LXC."
provides=('lxd')
arch=('i686' 'x86_64')
url="https://linuxcontainers.org/lxd/"
license=('Apache')
groups=()
@dotStart
dotStart / screenshot
Last active October 5, 2015 06:12
Provides a simple Amazon S3 screenshot tool.
View screenshot
#!/bin/bash
#----------
# Akkarin's Simple S3 Screenshot Script
#
# Requirements:
# - shutter
# - awscli
# - zenity
#
# Note: The directory defined in $SCREENSHOT_PATH needs to exist!
@dotStart
dotStart / gist:42388fa597866e535f0c
Created October 15, 2014 01:59
A simple hexchat script which makes ZNCs stickychan module slightly less annoying.
View gist:42388fa597866e535f0c
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):