Skip to content

Instantly share code, notes, and snippets.

View InAnimaTe's full-sized avatar
🕹️
Decomposing the Monolith

Mario InAnimaTe

🕹️
Decomposing the Monolith
View GitHub Profile
@InAnimaTe
InAnimaTe / common-media-sync.md
Last active July 15, 2025 17:22
Rsync Command Cheat Sheet

Quick Adds

  • Direction: Pull
  • User: inanimate
  • Remote module name <mod>/<path>/*
  • Enabled
  • Recursive
  • Times
  • Archive
  • Preserve Extended Attributes
  • Delay Updates
@dims
dims / README.md
Last active July 23, 2025 08:20
Kubernetes Resources
@InAnimaTe
InAnimaTe / applied yaml
Created May 6, 2020 01:23
API Version weirdness...
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: engage-ingress
annotations:
kubernetes.io/ingress.class: nginx-external
spec:
rules:
- host: engage.staging.example.com
http:
@bruvv
bruvv / chromecast.xml
Created March 30, 2018 13:26
Chromecast Ultra profile for plex 2018 (4k support)
<?xml version="1.0" encoding="utf-8"?>
<Client name="Chromecast">
<TranscodeTargets>
<VideoProfile protocol="http" container="matroska" codec="h264,h265,hevc" audioCodec="eac3,ac3,aac,mp3" context="streaming" />
<VideoProfile protocol="http" container="mkv" codec="h264,h265,hevc" audioCodec="eac3,ac3,aac,mp3" context="streaming" />
<VideoProfile protocol="http" container="mp4" codec="h264,h265,hevc" audioCodec="eac3,ac3,aac,mp3" context="streaming" />
<MusicProfile container="matroska" codec="mp3" />
<MusicProfile container="mkv" codec="mp3" />
<PhotoProfile container="jpeg" />
<SubtitleProfile container="ass" codec="ass" />
@InAnimaTe
InAnimaTe / kcc
Last active December 5, 2018 10:53
kubectl context/namespace switcher!
function kcc () {
usage () {
echo -en "Usage: $0 <context> <namespace>\n"
}
result () {
echo -en "-> Context: \e[96m$context\e[0m\n-> Namespace: \e[92m$namespace\n\e[0m"
}
if [ $# -eq 0 ] ; then
## If no options, print the current context/cluster and namespace
context="$(kubectl config current-context 2>/dev/null)"
@philips
philips / users.md
Last active April 5, 2023 14:17
Kubernetes Third-Party Resource Users
@tillkuhn
tillkuhn / nginx-ingress-lb.yaml
Created November 22, 2016 17:41
Kubernetes configuration file to create and expose Nginx Ingress Controller Service with sticky sessions, virtual host stats and default backend
---
################################################################################
## K8S Default Backend for Nginx if no endpoint is available e.g. 404 servers
###############################################################################
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-default-backend
namespace: kube-system
labels:
@schmich
schmich / termbin-encrypted-data.md
Last active April 19, 2024 04:47
Sharing encrypted data via termbin.com with only netcat and OpenSSL

Single file

Source

  • cat /foo/bar/file.txt | openssl enc -aes-256-cbc -base64 | nc termbin.com 9999
  • Enter password twice (quickly), note termbin.com URL

Destination

  • curl -s http://termbin.com/{id} | openssl enc -aes-256-cbc -base64 -d &gt; file.txt
@InAnimaTe
InAnimaTe / pacaur_install.sh
Created August 25, 2016 21:30 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
# Unzip
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/