Skip to content

Instantly share code, notes, and snippets.

View vlaxa's full-sized avatar

Vladan Laxa vlaxa

View GitHub Profile
@agentsim
agentsim / highsierra_bootable.sh
Created June 10, 2017 02:23
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
@dangtrinhnt
dangtrinhnt / report_snapshots.ps1
Last active April 5, 2017 08:57
Report snapshots of all the virtual machines in your VMWare environment with PowerCLI
<#
.DEPLOY INSTRUCTIONS
http://www.dangtrinh.com/2016/01/generate-snapshots-report-of-all-vmware.html
.SYNOPSIS
Simple HTML report showing all snapshots on your VMware vSphere
environment
.DESCRIPTION
Run this script to produce a simple HTML report showing all the
snapshots in your vSphere environment. This script is designed to
run without prompting you for credentials, saving the password in
@PatrickTerlisten
PatrickTerlisten / Get-LunPathState.ps1
Last active January 5, 2020 06:54
PowerCLI Script that outputs a list of all LUN paths for all ESXi hosts
#requires -Version 2
#requires -PSSnapin VMware.VimAutomation.Core
function Get-LUNPathState {
<#
.SYNOPSIS
No parameters needed. Just execute the script.
.DESCRIPTION
This script outputs the number of paths to each LUN.
#requires -Version 3.0
<#
.SYNOPSIS
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication.
.DESCRIPTION
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication. This report can be customized to report on Backup, Replication,
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 7, 2024 09:29
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k