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
Wir sind alle an Tagen geboren in denen viele Menschen schrecklich starben und doch nennen wir es Gebutstag...Yeaha... - #idonthavabirthday |
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
Am X-Copyright-Header kann man also auch sehen, daß die Techniker und | |
insbesondere Kristian zum Recht ein pragmatisches Verhältnis haben. | |
Fehlt nur noch ein pragmatisches Verhältnis der Juristen zur Technik, | |
und alles wird gut. | |
-- Ulf Möller | |
% | |
Smileys werden nur von Leuten verwendet die das, was sie meinen, | |
nicht sagen, und das, was sie sagen, so nicht meinen. | |
-- Klaus Schilling | |
% |
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
function levenshtein (s1, s2) { | |
if (s1 == s2) { return 0; } | |
if (s1.length === 0 || s2.length===0) { return s2.length+s1.length; } | |
var split = false; | |
try { | |
split = !('0')[0]; | |
} catch (e) { | |
split = true; |
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/python | |
import sys | |
import usb.core | |
import usb.util | |
VENDOR_ID = 0x0801 | |
PRODUCT_ID = 0x0002 | |
DATA_SIZE = 337 |
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
# NMEA to GPX converter | |
# Peter Pearson | |
# version 0.11 | |
import csv | |
import sys | |
import time | |
from time import strftime | |
def convert_dms_to_dec(value, dir): |
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/perl | |
# Nagios plugin for IPMI sensors status checking. | |
# | |
# Especially useful on Dell Poweredge servers, and others that | |
# implement the Intelligent Platform Management Interface (IPMI) | |
# interface. | |
# | |
# (C) Chris Wilson <check_ipmi@qwirx.com>, 2005-06-04 | |
# Released under the GNU General Public License (GPL) |
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 sys | |
import cartopy.crs as ccrs | |
import cartopy.io.shapereader as shpreader | |
import matplotlib.pyplot as plt | |
import json | |
# Downloaded from http://biogeo.ucdavis.edu/data/gadm2/shp/DEU_adm.zip | |
fname = 'DEU_adm1.shp' | |
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/bash | |
# This is a script to create a video from series of JPEG images | |
# Call it in a folder full of JPEGs that you want to turn into a video. | |
# Written on 2013-01-08 by Philipp Klaus <philipp.l.klaus →AT→ web.de>. | |
# Check <https://gist.github.com/4572552> for newer versions. | |
# Modified Version from: nv1t (coz of many image files) | |
# Resources | |
# * http://www.itforeveryone.co.uk/image-to-video.html |
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
function poodle() { HOST=$1;PORT=$2;NAME=$(host $1 |cut -d " " -f 5 | tr "\n" ' '| grep -v NXDOMAIN);timeout 1 openssl s_client -connect $HOST:$PORT -ssl3 2> /dev/null > /dev/null; if [[ $? == 124 ]]; then echo "FAIL: ${HOST}:${PORT} - ${NAME}"; else echo "OK: ${HOST}:${PORT} - ${NAME}"; fi; } | |
PORT=$2; RANGE=$1; zmap -p ${PORT} -o /tmp/zmap.results.${PORT}.csv -B 10M $RANGE | |
for i in $(cat /tmp/zmap.results.${PORT}.csv | sort -t . -k 3,3n -k 4,4n); do poodle $i $PORT; done; |
OlderNewer