Skip to content

Instantly share code, notes, and snippets.


Michael Zedeler mzedeler

View GitHub Profile
mzedeler / .bashrc_ssh
Last active Mar 11, 2020 — forked from bluegraybox/.bashrc_ssh
bashrc snippet for initializing ssh agent and adding ssh key
View .bashrc_ssh
# Set up ssh-agent
function start_agent {
echo "Initializing new SSH agent..."
touch $SSH_ENV
chmod 600 "${SSH_ENV}"
/usr/bin/ssh-agent | sed 's/^echo/#echo/' >> "${SSH_ENV}"
$ brew install selenium-server-standalone chromedriver
$ git clone
$ cd intern
$ npm install --production
$ ln -s .. node_modules/intern
$ curl > tests/selftest.local.intern.js
$ java -jar /usr/local/opt/selenium-server-standalone/selenium-server-standalone-2.35.0.jar -p 4444 &
$ node node_modules/intern/runner.js config=tests/selftest.local.intern
nc 8080 | perl -MTime::HiRes=time -ne '$|++; $start = time; read STDIN, $dummy, 1024*100; print time - $start, "\n"' | tee network-timing.txt
mzedeler /
Last active May 18, 2018
Autoconfiguration of Nagios.
nmap 192.168.0-4.1-255 -sT -O -oG nmap.out nmap.out
mzedeler /
Created Nov 1, 2012
Comments on LYT/doc/

Test schedule for LYT


- 1: Log on using correct username + password

- 2: Log on using correct username + incorrect password without illegal 

- 3: Log on using incorrect username without illegal characters + correct
mzedeler /
Created Mar 21, 2011
Extracts a burndown report from a local bugzilla installation.
# Bugzilla burndown data extraction script.
# Author: Michael Zedeler.
# License: this script is licensed under the same license as perl itself.
# Version: 1.1
# Source:
use strict;
use warnings;
#!/usr/bin/env perl
# This script is free software; you can redistribute it and/or modify it under the same terms
# as Perl 5.10.0. For more details, see
package github_downloader;
use Moose;
with 'MooseX::Getopt';
use YAML::Any;
View git-prompt-helper
#!/usr/bin/env perl
# Git prompt helper
# Make your bash prompt with current branch and a dirty flag if
# you have uncommitted stuff.
# Author: Michael Zedeler <>
# How to use:
#!/usr/bin/env perl
# 20100517 Michael Zedeler
# This pre-commit hook script runs perlcritic against any file
# recognized as being perl (using file name and file content heuristics).
# Files resulting in critic violations at the level returned by
# git config perlcritic.level are rejected.
# Use --no-verify to override.