Skip to content

Instantly share code, notes, and snippets.

View stiliajohny's full-sized avatar
🦜
Catching Parrots

John Stilia stiliajohny

🦜
Catching Parrots
View GitHub Profile
@chriswayg
chriswayg / create-cloud-template.sh
Last active August 4, 2025 12:17
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
  1. Open Automator.app
  2. Create new Quick Action
  3. Select Run AppleScript
  4. Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
	set inputVolume to 100
	display notification "Volume set to 100" with title "✅ Microphone is on"
@reegnz
reegnz / Dockerfile.eat-my-data
Created June 12, 2020 11:46
Docker image build speedup tricks
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y eatmydata \
&& eatmydata apt-get install -y \
openjdk-11-jdk awscli azure-cli # just some big packages to notice the speedup \
&& rm -rf /var/lib/apt/lists/*
@rupeshtiwari
rupeshtiwari / material-icon.md
Last active July 22, 2025 12:45
Custom Material Icon Folder ( customize folder icons vscode material theme)
tags title
vscode, material,customize folder icons vscode material theme
How to add custom folder icon in Material icons

Steps to add custom folder icon in Material icons

Go to Settings.json file

@j-un
j-un / spotify.html
Last active May 8, 2025 16:00
[Hugo] Shortcode for Spotify embed code
<!--
Parameters:
type - (Required) album / track / playlist / artist
id - (Required) Target ID
width - (Optional) width
height - (Optional) height
-->
{{ if .IsNamedParams }}
<iframe src="https://open.spotify.com/embed/{{ .Get "type" }}/{{ .Get "id" }}"
@sanskritkm
sanskritkm / VMware Fusion Player 12 license key.txt
Last active January 25, 2024 02:29
VMware Fusion Player 12 license key
If you'r using MAC Intel CPU you want to use VMware to virtual your desired OS such Windows or Ubuntu on the MAC OS you need to download VMware Fusion Player first then it has two version Pro and Player, the Player version is free for personal use but you need to create VM account to download and licence key.
You can create account to download yourself here:
https://customerconnect.vmware.com/group/vmware/evalcenter?p=fusion-player-personal
If you don't want to create account to get license, you can try below original license key for VMware Fusion Player:
COMPONENT:
VMware Fusion Player – Personal Use