Skip to content

Instantly share code, notes, and snippets.

View markusrt's full-sized avatar
🏠
Working from home

Markus Reinhardt markusrt

🏠
Working from home
  • Broadcom
  • Germany
  • 14:45 (UTC +01:00)
  • LinkedIn in/markusrt
View GitHub Profile
@Knappek
Knappek / deploy-ubuntu-on-vcenter.sh
Last active November 7, 2024 11:00
deploy ubuntu VM on vCenter with public ssh key distributed and a static IP address
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
# Prompt for GOVC environment variables if not already set
: "${GOVC_URL:?Please enter the vSphere URL (e.g., https://your-vsphere-server/sdk): }"
: "${GOVC_USERNAME:[email protected]}"
: "${GOVC_PASSWORD:=VMware1!}"
@jessefreeman
jessefreeman / layers_to_sprite_sheet.js
Created March 15, 2011 01:15
This is a PS script to make Sprite Sheets out of layers. Modified from http://www.garagegames.com/community/blogs/view/11527
// Put this file in Program Files\Adobe\Photoshop\Presets\Scripts\
// In PhotoShop menu File > Automate > Scripts: layersToSprite.js
// Arrange layers into a sprite sheet.
if (documents.length > 0)
{
// --------------------------
docRef = activeDocument;