Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Michael Brown Supermathie

🏠
Working from home
Block or report user

Report or block Supermathie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@warewolf
warewolf / menu.ipxe
Last active Aug 29, 2015
authenticated iscsi login retry
View menu.ipxe
#!ipxe
# boot-url and sanboot-url is set in bootstrap.ipxe
# Setup some basic convenience variables
set menu-timeout 5000
set submenu-timeout ${menu-timeout}
set base-iqn iqn.2012-12.com.xabean.sandbox
set base-iscsi iscsi:${iscsi-server}:::1:${base-iqn}
@thwarted
thwarted / resize-java-iKVM-viewer
Last active Feb 4, 2019
resize-java-iKVM-viewer: find all supermicro Java iKVM Viewer windows and resize them to display all the content
View resize-java-iKVM-viewer
#!/bin/bash
# find all supermicro Java iKVM Viewer windows and resize
# them to display all the content
#
# for reasons that are beyond sanity, this shitty closed source program
# sets the min and max window sizes to the same values, making it unresizable
# through dragging.
# this wouldn't be so bad if it actually resized the window to display all
# the content. it constantly resizes based on the resolution of the
anonymous
anonymous / cloudtobutt.user.js
Created Jun 11, 2013
Cloud-to-Butt
View cloudtobutt.user.js
// ==UserScript==
// @name s/the cloud/my butt/g
// @description Replaces the word "the cloud" with "my butt".
// @match *://*/*
// ==/UserScript==
function buttize(str) {
return str.replace(/the cloud/g,"my butt")
.replace(/the Cloud/g,"my Butt")
.replace(/The Cloud/g,"My Butt")
@robinsmidsrod
robinsmidsrod / _INSTALL.md
Last active Jan 11, 2020
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)
View _INSTALL.md

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup

You can’t perform that action at this time.