Skip to content

Instantly share code, notes, and snippets.

Avatar

Hippie Hacker hh

View GitHub Profile
@hh
hh / pair-emacs28-nativecomp.sh
Last active Jul 27, 2022
Upgrade pair-instance to emacs28-nativecomp
View pair-emacs28-nativecomp.sh
# 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
View audit-gcp.sh
#!/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"
View troubleshooting.org

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 Jul 30, 2019
apisnoop - swagger query - PodSpec
View podspec.mkd

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 Jul 8, 2019
BDD Markdown KEP
View bdd-kep.mkd
@hh
hh / .xbindkeysrc
Last active Aug 29, 2018
Awesome Config
View .xbindkeysrc
# 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.
@hh
hh / kubeadm-dind.org
Last active Aug 27, 2018
Org mode with explorations for APISnoop
@hh
hh / Dockerfile
Last active Jul 10, 2018
Patching and Running GitLab with a Custom CI Config Path as a URL
View Dockerfile
FROM gitlab/gitlab-ce:10.7.3-ce.0
COPY *.patch /opt/gitlab/embedded/service/gitlab-rails/
RUN apt-get update ; apt-get install -y patch
# Allows http urls for .gitlab-ci.yml
# This patch may need some work cleanly apply with recent versions
RUN cd /opt/gitlab/embedded/service/gitlab-rails ; \
patch -p1 < ci_yaml_http.patch