Skip to content

Instantly share code, notes, and snippets.

@samdoran
samdoran / aerohive.md
Last active January 8, 2026 02:25
Configuring Aerohive access points using the CLI

Aerohive

Initial setup

  1. Reset to factory defaults

     reset config bootstrap
     reset config
    

    The username is admin and the password is aerohive, Aerohive1, or admin123.

@dleonard0
dleonard0 / POIs.csv
Last active November 3, 2025 07:59
Hypothetical NBN POI Addresses
Name Ref Geolocation Address
Civic 9CVI -35.27376,149.13163 50 Mort Street, Braddon ACT 2612
Queanbeyan 9QBN -35.35361,149.23189 36 Lowe St, Queanbeyan NSW 2620
Albury 2ALB -36.08194,146.91488 475 Kiewa St, Albury NSW 2640
Asquith Depot 2SYA -33.69570,151.10987 3 Kelray Place, Asquith NSW 2077
Berkeley Vale 2BLV -33.34911,151.43602 3-5 Pindarri Ave, Berkeley Vale NSW 2261
Blacktown 2BLK -33.77027,150.90826 17 Flushcombe Rd, Blacktown NSW 2148
Campbelltown 2CBT -34.06800,150.81187 253 Queen St, Cambelltown NSW 2560
Campsie 2CAM -33.91586,151.10954 395 Canterbury Rd, Campsie 2194
Carramar 2CRR -33.88823,150.96885 6-12 The Horsley Dr, Carramar NSW 2163
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active January 17, 2026 06:07
set -e, -u, -o, -x pipefail explanation
@xbb
xbb / README
Last active January 18, 2026 19:01
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@drolfe
drolfe / ADD User Account to iLO.xml
Last active August 11, 2023 23:14
HP iLO XML Scripts
HPONCFG all << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin">
<USER_INFO MODE="write">
<ADD_USER
USER_NAME="daniel"
USER_LOGIN="daniel"
PASSWORD="daniel123">
<ADMIN_PRIV value ="Yes"/>
<REMOTE_CONS_PRIV value ="Yes"/>
@shamil
shamil / mount_qcow2.md
Last active January 15, 2026 18:05
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@sbiffi
sbiffi / putty.bat
Last active July 2, 2025 21:41
The aim of this vbs script is to launch putty using an URL like ssh://login@host directly from a browser. The .bat is almost the same than .vbs but less robust and just their for older systems.
:: This version is not as powerfull as vbs version, please prefere the other one.
:: It's just there if you need a non-visual basic way to perform this.
:: Restrictions:
:: - Password cannot contain a % or finish with @
:: - Chrome adds a / at the end of the URL, not yet managed
:: The aim of this script is to execute putty with parameters like ssh://login@host
:: Installation:
:: - Launch putty.reg to associate ssh:// and telnet:// to this script
:: - Edit the putty path in parameter below like puttyPath="C:\Program Files (x86)\putty.exe"
@B0073D
B0073D / nmap_trace_extract.py
Created March 4, 2013 03:54
This piece of python will extract hops from the XML output of nmap and write it to a CSV file in a format that Gephi can use.
import xml.etree.ElementTree as etree
tree = etree.parse('wowser.xml')
root = tree.getroot()
hosts = root.findall('host')
output_file = open('nmap_edges.csv', 'w')
output_file.truncate()
output_file.write("Source,Target\n")
for i in hosts: