Skip to content

Instantly share code, notes, and snippets.

@edsw
edsw / hp-ilo-serial-numbers.sh
Last active June 7, 2016 16:44
Get serial numbers from HP servers using iLO using bash/awk
# This one-liner gets the serial numbers of HP servers from their
# iLO adapter, assuming contiugious IP addresses (i.e. 65-104).
# On some of our servers with older iLO the web server never closed
# the connection, hence the "timeout 1". You might need to tweak
# the timeout value if servers are unresponsive.
for i in `seq 65 104`; \
do wget https://10.44.1.$i/xmldata?item=All -O - -q --no-check-certificate --timeout 1 --tries 1 | \
awk -v i="$i" -F'[<>]' '/SBSN/{gsub(/[ \t]+$/,"", $3); print "cn"i","$3}'; \
done
@edsw
edsw / CC-Region-7-Agenda.md
Last active August 29, 2015 14:14
CC Region 7 Agenda

XSEDE Campus Champions Region 7 Meeting

Agenda Ideas

  • Welcome and introduction to Regional Champion concept

  • Attendee introductions - share your organization's story (10 min. each)

  • Highlight specific projects underway at member organizations that may be opportunities for collaboration or knowledge transfer (20 min each)

@edsw
edsw / keybase.md
Last active August 29, 2015 14:06

Keybase proof

I hereby claim:

  • I am edsw on github.
  • I am edsw (https://keybase.io/edsw) on keybase.
  • I have a public key whose fingerprint is 7D70 EF9E 7837 C3FF C553 2626 E0E4 474F 339A 90D4

To claim this, I am signing this object: