Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# This script prepare a bootable pendrive from a VMware ESXi iso image.
# the official install steps are documented here:
# https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-67-installation-setup-guide.pdf
# Use at Your own risk!
ISO=$1
DEVICE=$2
@Zrubi
Zrubi / qubes-display
Created July 27, 2020 07:27
This tool is used to help switching pre-defined display settings
#!/bin/bash
if [[ -z "$1" ]] || [[ "$1" == "--help" ]]
then
echo ""
echo "This tool is used to help switching pre-defined display settings"
echo ""
echo -e "Usage:\t$0 <Name>"
echo ""
exit
@Zrubi
Zrubi / .preprocess.conf
Created July 29, 2020 12:02
My very basic Photo pre-processing script
work_dir = /home/user/tmp/import
<model>
<default>
prefix = OOO_00
author = Z
</default>
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
# geteltorito.pl: a bootimage extractor
# Script that will extract the first El Torito bootimage from a
# bootable CD image
#!/bin/sh
# uImage generator for U-Boot
# place this file to /etc/kernel/postinst.d/ directory,
# and make it executable
# reference: https://forum.doozan.com/read.php?2,12096
uImage="/boot/uImage"
die () {
#!/bin/sh
# uInitrd generator for U-Boot
# place this file to /etc/initramfs/post-update.d/ directory,
# and make it executable
# reference: https://forum.doozan.com/read.php?2,12096
uInitrd="/boot/uInitrd"
die () {
#!/bin/sh
# This script going to fix the IMM (v1) web access,by enabling HTTPS.
# Reference: https://support.lenovo.com/hu/en/solutions/ht504331
# First, you have to download and install the IBM Advanced Settings Utility.
# Then adjust your hostname, username and password. The script assuming factory defaults.
# self signed cert generation:
/opt/lenovo/toolscenter/asu/asu64 set IMM.https_service enable --host=192.168.70.125 --user=USERID --password=PASSW0RD