Skip to content

Instantly share code, notes, and snippets.

View MBLAHO13's full-sized avatar

Mark Blaho MBLAHO13

  • Drexel University
  • Philadelphia
View GitHub Profile
@MBLAHO13
MBLAHO13 / keybase.md
Created August 29, 2017 00:18
Keybase verification file.

Keybase proof

I hereby claim:

  • I am mblaho13 on github.
  • I am mblaho (https://keybase.io/mblaho) on keybase.
  • I have a public key ASBXTh_rgbwG8nY5mkTctX-_RlLVwvQ7RIzCchNc8OEzpgo

To claim this, I am signing this object:

@MBLAHO13
MBLAHO13 / findVM
Created November 3, 2014 18:59
Finds a VirtualBox Ip based on name. Requires fping package.
#!/bin/bash
fping -qg 192.168.1.2 192.168.1.254
#quietly updates the ARP table
for arg in "${@:1}";
do
MAC=`vboxmanage showvminfo "$arg" --details 2>&1 | grep 'NIC 1:' | sed -re 's/.*MAC: (.+), Attachment.*/\1/' -e 's/(\w{2})/\1:/g' -e 's/:$//'`;