I hereby claim:
- I am tsalzer on github.
- I am ketchup (https://keybase.io/ketchup) on keybase.
- I have a public key whose fingerprint is E43E 705E A732 47E4 548C 0161 1BCD 79F6 7CE0 393E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# | |
# Provoke the SCP error on large files. | |
# You must provide the remote resource location to download as SCP would accept it: | |
# | |
# provoke_scp_error user@host:/path/to/large/file | |
# | |
require 'rubygems' | |
gem 'net-ssh', '2.0.21' | |
gem 'net-scp', '1.0.2' |
#!/bin/sh | |
# Something like lsof. | |
# | |
# Original code found at: | |
# http://blog.pebcak.de/archives/913-Solaris-Poor-mans-lsof-unter-Solaris.html | |
if [ -n "$1" ] ; then | |
for pid in $(ls /proc) ; do | |
pfiles $pid | grep AF_INET | grep $1 >/dev/null && \ | |
echo "PID $pid is listening on port $1"; |
#!/bin/bash | |
# | |
# install git on CentOS 5.x | |
# see https://gist.github.com/gists/146206 | |
# | |
# originally found at | |
# http://www.how-to-linux.com/2009/01/install-git-161-on-centos-52/ | |
# | |
# You need to run this as root (at least the yum and make install bits). | |
# |