Skip to content

Instantly share code, notes, and snippets.

View leifjones's full-sized avatar

LJ Jones leifjones

  • Cedar Rapids, Iowa, United States
View GitHub Profile
@mgold
mgold / arithmetic-diff.py
Last active December 17, 2015 07:29
Play with the differences between linear values, quadratic values, exponential values, and whatever else you like.
DEPTH = 6
LENGTH = 12
#Change me!
def f(i):
return i
#also try:
#return i**2
#return 2**i
@axdotl
axdotl / keycloak-export-import-k8s.md
Last active October 30, 2023 08:43
Keycloak Export in Kubernetes

Perform Keycloak Export and Import on Kubernetes

  • Setup Keycloak in non-HA mode (replica 1)
  • Disable UserFederation
  • You might have to increase the resource limits to avoid that pod beeing killed by memory or CPU limits

See Keycloak Documentation for more details.

Export

@j1elo
j1elo / cit0day-breach-check.sh
Created November 19, 2020 12:58
Cit0Day Breach Check
#!/bin/bash
# Step 1: Obtain a list of our personal hosts.
# Export from Bitwarden, LastPass, 1Password, or similar:
my_passwords.txt
# Next commands will assume the LastPass export format, which is CSV with the URL in the first field:
# url,username,password,[... more fields]