Skip to content

Instantly share code, notes, and snippets.

View lukaspustina's full-sized avatar

Lukas Pustina lukaspustina

View GitHub Profile
{
"builders": [{
"type": "qemu",
"format": "qcow2",
"headless": false,
"accelerator": "kvm",
"qemuargs": [
[ "-display", "none" ]
],
#!/usr/bin/python
import sys
from time import mktime, strptime
from datetime import datetime
threshold = 2000000000
# 116260 15:45:30.398605232 3 keepalived (10400) > sendmsg fd=13(<4r>192.168.205.8->224.0.0.18) size=40 tuple=0.0.0.0:112->224.0.0.18:0
def process_line(line):
colorscheme solarized
#!/usr/bin/python
###############################################################################
# Lukas Pustina
# This script takes a dictionary (one word by line) as well as multiple text
# files and checks how many words of these text files are part of the
# dictionary.
#
# Primary use is to analyse the quality of tesseract.
###############################################################################
# Example:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
server {
listen 8080;
server_name docker-network-demo;
location / {
proxy_set_header X-Root-IP $remote_addr;
proxy_set_header X-Forward-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:18080
}
<a id="back_fn_1"></a>Bla<sup><a href="#fn_1">1</a></sup> blupp
<h4>Footnotes</h4>
1. <a id="fn_1"></a>1. bla <a href="#back_fn_1">&crarr;</a>
auto p2p1
iface p2p1 inet manual
bond-master bond1
auto p2p2
iface p2p2 inet manual
bond-master bond1
auto bond1
iface bond1 inet manual
extern crate rustc_serialize;
use rustc_serialize::{Decodable, Encodable, json};
use rustc_serialize::json::Json;
#[derive(RustcDecodable, RustcEncodable, Debug)]
pub enum Message {
First {msg: FirstMsg},
Second {msg: SecondMsg}
}
version: '2'
services:
opentsdb:
image: rheinwerk/opentsdb:opentsdb-2.2
ports:
- "4242:4242"
volumes:
- ./vol/data/hbase:/data/hbase
bosun:
image: rheinwerk/bosun:0.5.0-rc2