I hereby claim:
- I am enko on github.
- I am 0xaffe (https://keybase.io/0xaffe) on keybase.
- I have a public key whose fingerprint is 9055 4415 45C7 4387 9E80 1E90 0774 0725 A83D CDBB To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright (c) 2010 Christoph Heer ([email protected]) | |
# Copyright (c) 2015 Tim Schumacher ([email protected]) | |
# | |
# 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 |
#!/usr/local/bin/python | |
def mac2ll(mac): | |
mac = mac.split(":") | |
mac.insert(3,'fe') | |
mac.insert(3,'ff') | |
mac[0] = str(int(mac[0]) ^ 6) | |
return "fe80::%s:%s:%s:%s" % ("".join(mac[0:2]),"".join(mac[2:4]),"".join(mac[4:6]),"".join(mac[6:8])) | |
#!/usr/local/bin/python | |
def mac2ll(mac): | |
mac = mac.split(":") | |
mac.insert(3,'fe') | |
mac.insert(3,'ff') | |
mac[0] = str(int(mac[0]) ^ 6) | |
return "fe80::%s:%s:%s:%s" % ("".join(mac[0:2]),"".join(mac[2:4]),"".join(mac[4:6]),"".join(mac[6:8])) |
#!/bin/bash | |
i="0" | |
while [ $i -lt 60 ] | |
do | |
curl -k https://r.datenknoten.me | |
echo -e "" | |
sleep 60 | |
i=$[$i+1] | |
done |
var xmpp = require('node-xmpp'); | |
var util = require('util'); | |
var sys = require('sys'); | |
var ZabbixSender = require('zabbix-sender'); | |
var config = require('./config').config; | |
var start = process.hrtime(); |
<?php | |
function calculateRatio(DateTime $now, DateTime $startdate, DateTime $enddate, $duration_type) { | |
$months = 0; | |
switch($duration_type) { | |
case OrderItemAttribute::DURATION_QUARTER: | |
$months = 3; | |
break; | |
case OrderItemAttribute::DURATION_HALFYEAR: | |
$months = 6; | |
break; |
I hereby claim:
<?php | |
require_once 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
$client = new Client('http://192.168.0.5:5280'); |
node_modules |
var xmpp = require('node-xmpp'); | |
var util = require('util'); | |
var sys = require('sys'); | |
var ZabbixSender = require('zabbix-sender'); | |
var config = { | |
server : "192.168.0.5", | |
real_server : "boese-ban.de", | |
user : "[email protected]/check", |