Skip to content

Instantly share code, notes, and snippets.

View hh's full-sized avatar

Hippie Hacker hh

View GitHub Profile
@hh
hh / iisp.org
Created November 30, 2022 02:17
@hh
hh / vmi.yaml
Created October 20, 2022 16:41
KubeVirt MachineTemplate unable to create no cloud init;
apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
annotations:
kubevirt.io/latest-observed-api-version: v1
kubevirt.io/storage-observed-api-version: v1alpha3
creationTimestamp: "2022-10-18T23:02:50Z"
finalizers:
- kubevirt.io/virtualMachineControllerFinalize
- foregroundDeleteVirtualMachine
@hh
hh / pair-emacs28-nativecomp.sh
Last active July 27, 2022 01:27
Upgrade pair-instance to emacs28-nativecomp
# https://github.com/sharingio/environment/issues/22
yes | sudo unminimize
# https://github.com/sharingio/environment/issues/23
sudo apt-get install -y man info
# https://github.com/sharingio/environment/issues/24
sed -i -e "/'org-babel-tangle-collect-blocks/,+1d" ~/.emacs.d/bin/org-tangle
# https://github.com/sharingio/environment/issues/25
sudo apt remove --autoremove emacs emacs-common # if emacs-nox is installed
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt install -y emacs28-nativecomp
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
CNCF_GCP_ORG=758905017065
echo "# Auditing CNCF CGP Org: ${CNCF_GCP_ORG}"
echo "## Iterating over Projects"

Issue Reporting Checklist

Instructions

Execute the src blocks one at a time with ctrl-c ctrl-c to ensure that ob-async-org-babel-execute-src-block is used for files with the :async header-arg. If by the end of this file your issue isn’t solved, open an issue on Github with the contents of this file.

@hh
hh / podspec.mkd
Created July 30, 2019 18:36
apisnoop - swagger query - PodSpec

pod spec related kinds

select distinct t.name , p.required , property , param_kind, param_type
from properties p , types t
where (t.name like '%PodSpec' or p.param_kind like '%PodSpec')
-- and p.param_kind like 'io%'
-- and p.required
@hh
hh / bdd-kep.mkd
Last active July 8, 2019 16:12
BDD Markdown KEP
@hh
hh / .xbindkeysrc
Last active August 29, 2018 03:26
Awesome Config
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.