Skip to content

Instantly share code, notes, and snippets.

View TomK32's full-sized avatar

Thomas R. Koll TomK32

View GitHub Profile
Sehr geehrte Damen und Herren,
Bezugnehmend auf einen Artikel[0] des WKO Vize Fritz Amann möchte ich meine Zwangsmitgliedschaft bei der Wirtschaftskammer kündigen.
Es tut mir sehr leid dass ich als kleiner selbstständiger Softwareentwickler den richtigen Unternehmern in der WKO zur Last gefallen bin. Allerdings hat man mir das nicht schon früher mitgeteilt, sonst wäre ich ja auch schon früher aus der WKO ausgetreten. Herr Amann hat durchaus recht mit seinem Vorwurf der Scheinselbstständigkeit, seit vier Jahren bin ich nur noch für den einen sehr zufriedenen Klienten in Amerika tätig, aber bringen Sie denen Mal bei wie man trans-atlantisch Mitarbeiter anstellt. Ich muss aber auch sagen dass mir die Freiheit meiner selbstständigen Tätigkeit sehr gefällt, welcher Angestellte kann, wie ich, sich mit dem Laptop in die Natur setzen und dort arbeiten? Letztes Jahr war ich sogar drei Wochen Campen ohne dass es meinem Klienten aufgefallen wäre. Wenn ich jetzt im Frühling auf meinem Bankerl in der Linzer Altstadt si
@TomK32
TomK32 / gpgwot
Last active December 27, 2015 09:09 — forked from dtgay/gpgwot
#!/bin/bash
gpg --list-sigs --keyring ~/.gnupg/pubring.gpg | sig2dot > ~/.gnupg/pubring.dot
neato -Tpng ~/.gnupg/pubring.dot > ~/.gnupg/pubring.png
@TomK32
TomK32 / Park-Miller-Carta.lua
Last active December 17, 2015 23:29
Park-Miller-Carta PNRG
--[[
Copyright (c) 2009 Michael Baczynski, http://www.polygonal.de
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:
@TomK32
TomK32 / level1.lua
Last active December 17, 2015 00:29
A level from Summer Tubing.
return {
image = 'images/level_1.png',
start = {x = 120, y = 20},
effects = {
white_water = {
{x = 130, y = 210, width = 60},
{x = 180, y = 400, width = 50},
{x = 120, y = 560, width = 45},
{x = 130, y = 740, width = 20},
{x = 115, y = 820, width = 55}
@TomK32
TomK32 / gist:5168231
Created March 15, 2013 08:08
actually it's an incrementSeed!
function MapGenerator:incrementSeed(dt)
self.seed = self.seed + dt
SimplexNoise.seedP(self.seed)
end
@TomK32
TomK32 / main.lua
Created December 2, 2012 14:51
MoonLander
-- MoonLander. A short game in love2d to get you started in game programming
-- To draw the spaceship try http://pixieengine.com
-- Here we keep any data from the game like height, speed, gravity
game_defaults = {
stopped = false,
startHeight = 200, -- same as hight but won't be changed by the game
-- moving around with my numpad. thanks to #ludumdare
if love.keyboard.isDown('up', 'down','left', 'right', 'kp1', 'kp2', 'kp3', 'kp4', 'kp6', 'kp7', 'kp8', 'kp9') then
if dt_since_last_move + dt > 0.1 then
dt_since_last_move = 0
if love.keyboard.isDown('rshift', 'lshift') then
moves = 5
else
moves = 1
end
movements = {
@TomK32
TomK32 / control_maps.lua
Created November 12, 2012 16:56
control maps in LÖVE2D
-- small improvement from http://tannerrogalsky.com/blog/2012/04/06/control-maps-in-love2d/
-- this version has a cleaner control_map by calling m
class "GameController" {
moveUp = function(self)
end,
control_map = {
keyboard = {
on_press = {
@TomK32
TomK32 / gist:4046128
Created November 9, 2012 14:52
languages that I can write down in 5 minutes or less
sorry, mix of english and german names of the languages. Bonus: Find the five from the british isles.
German
English
Hungarian
Holländisch
Dänisch
Französisch
Baskisch
Spanisch
Portogisisch
@TomK32
TomK32 / frozen.rb
Created September 1, 2011 07:51 — forked from dbackeus/frozen.rb
Referenced document frozen on childs after_destroy callback
class Parent
include Mongoid::Document
field :something, :type => String
has_many :children
after_create :create_child
private
def create_child
children.create
end