Skip to content

Instantly share code, notes, and snippets.

/tmp/ruby-build.20140402203247.23283 ~
ruby-2.1.1/
ruby-2.1.1/sprintf.c
ruby-2.1.1/regerror.c
ruby-2.1.1/hash.c
ruby-2.1.1/eval_intern.h
ruby-2.1.1/parse.h
ruby-2.1.1/main.c
ruby-2.1.1/regenc.h
ruby-2.1.1/misc/
@mkroman
mkroman / PKGBUILD
Created April 27, 2014 08:49
Suggested PKGBUILD for the megahal AUR package
# Contributor: Thomas Mudrunka <harvie@@email..cz>
# Maintainer: Thomas Mudrunka <harvie@@email..cz>
# You can also contact me on http://blog.harvie.cz/
# Contributor: Mikkel Kroman <mk@maero.dk>
pkgname=megahal
pkgver=9.1.1
pkgrel=2
pkgdesc="conversation simulator: a computer program which responds in natural language to what you type"
arch=('i686' 'x86_64')
@mkroman
mkroman / PKGBUILD
Created July 28, 2014 19:55
ricochet-git PKGBUILD
# Maintainer: Boohbah <boohbah at gmail.com>
# Contributor: Mikkel Kroman <mk@maero.dk>
pkgname=ricochet-git
pkgver=1.0.1.r42.g04e0536
pkgrel=2
pkgdesc="Ricochet is an experiment with a different kind of instant
messaging that doesn't trust anyone with your identity, your contact
list, or your communications.a"
arch=('i686' 'x86_64')
@mkroman
mkroman / local-time-byte-size.c
Created September 12, 2014 22:59
A sad little tool for determining the minimum size for a character array that is supposed to hold the contents of strftime's %X specifier when supporting multiple locales.
/*
* Copyright (c) 2014, Mikkel Kroman <mk@maero.dk>
*
* 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:

Keybase proof

I hereby claim:

  • I am mkroman on github.
  • I am mkn (https://keybase.io/mkn) on keybase.
  • I have a public key whose fingerprint is 3FD3 9B74 B16E FE19 5D90 38DE EFB6 7C4F CFD3 219C

To claim this, I am signing this object:

#!/usr/bin/env ruby
# encoding: utf-8
$:.unshift '~/Projects/DSI/lib'
require 'dsi'
require 'dsi/extensions'
options = {
hostname: 'irc.phora.net',
nickname: 'anura'
}
#!/usr/bin/env ruby
# encoding: utf-8
#
# This library makes the user able to retrieve the tv schedules from a single
# or multiple channels via DR's DBService
# (http://www.dr.dk/tjenester/programoversigt/dbservice.ashx).
#
# Author:: Mikkel Kroman
# Copyright:: Copyright (c) 2010 Mikkel Kroman
# License:: Distributes under the GNU license
#!/usr/bin/env ruby
# encoding: utf-8
require 'date'
module DR
class TV
attr_reader :channels
def initialize options = {}
@client = DR::Client.new
#!/usr/bin/env ruby
# encoding: utf-8
$:.unshift '~/Projects/DSI/lib'
require 'dsi'
require 'dsi/extensions'
options = {
hostname: 'irc.phora.net',
nickname: 'anura'
}
# mplextended (the equivalent of screen_away.pl for irssi) for weechat.
# Copyright (C) 2010, Mikkel Kroman
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of