This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
# | |
require 'csv' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import org.parboiled.Rule; | |
import org.parboiled.matchers.FirstOfMatcher; | |
import org.parboiled.matchers.Matcher; | |
import org.pegdown.Parser; | |
import org.pegdown.ast.InlineHtmlNode; | |
import org.pegdown.plugins.InlinePluginParser; |
Warning: Filter API is not stable yet.
Filters are not triggered when sending e-mail directly using the sendmail command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# vim: set ts=4: | |
crashed=$(sudo rc-status --crashed) | |
if [ -n "$crashed" ]; then | |
echo "CRITICAL - crashed services: ${crashed//$'\n'/, }" | |
exit 2 | |
else | |
echo 'OK' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!upstart | |
description "GitLab (Sidekiq)" | |
author "Jakub Jirutka" | |
start on starting gitlab | |
stop on stopping gitlab | |
env sidekiq_logfile="/var/log/gitlab/sidekiq.log" | |
env sidekiq_queues="-q post_receive -q mailer -q system_hook |
This project has been moved to https://github.com/jirutka/qemu-openrc.
UPDATE: Kdo si chcete jenom počíst a napsat mi, že byt nepotřebujete, tak prosím třeba přes Facebook https://www.facebook.com/lstrojil - děkuji, zájemci o byt prosím pište přes kontaktní formulář. :-)
Prodám byt. Je to moc hezký byt.
Přesto ho prodám. Jinak bych musel prodat děti a ženu a těch pár tun věcí, co nám tu společně nashromáždili.
Má všechno, co takový byt potřebuje: dveře (a ne jedny!), okna, podlahy, stropy, vodu, elektriku, sousedy, koupelnu, garáž, záchod, internet, sklep, komoru, komodu, šatnu, atmosféru, hypotéku...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mqtt_host = 'mqtt.example.org' | |
mqtt_topics = { | |
'git/foo/+', | |
'git/bar/+', | |
} | |
origin_url = 'git://git.example.org/%s' | |
mirror_url = 'git@github.com:example/%s.git' |