$ brew install selenium-server-standalone chromedriver
$ git clone [email protected]:theintern/intern.git
$ cd intern
$ npm install --production
$ ln -s .. node_modules/intern
$ curl https://gist.github.com/neonstalwart/6630466/raw/f0e4e4efbefa40c746f7c68e2bb4fa0dd5215047/selftest.local.intern.js > 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
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 | |
# Set up ssh-agent | |
SSH_ENV="$HOME/.ssh/environment" | |
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}" |
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
nc helsinki.solfisk.dk 8080 | perl -MTime::HiRes=time -ne '$|++; $start = time; read STDIN, $dummy, 1024*100; print time - $start, "\n"' | tee network-timing.txt |
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 | |
nmap 192.168.0-4.1-255 -sT -O -oG nmap.out | |
nbi2.pl nmap.out |
Test schedule for LYT
Login:
- 1: Log on using correct username + password
- 2: Log on using correct username + incorrect password without illegal
characters
- 3: Log on using incorrect username without illegal characters + correct
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 | |
# Bugzilla burndown data extraction script. | |
# Author: Michael Zedeler. | |
# License: this script is licensed under the same license as perl itself. | |
# Version: 1.1 | |
# Source: https://gist.github.com/879278 | |
use strict; | |
use warnings; |
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 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 http://dev.perl.org/licenses/. | |
package github_downloader; | |
use Moose; | |
with 'MooseX::Getopt'; | |
use YAML::Any; |
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 perl | |
# | |
# Git prompt helper | |
# | |
# Make your bash prompt with current branch and a dirty flag if | |
# you have uncommitted stuff. | |
# | |
# Author: Michael Zedeler <[email protected]> | |
# | |
# How to use: |
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 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. |