Skip to content

Instantly share code, notes, and snippets.

View jessebot's full-sized avatar
🥲
Only like 30ish notifications to get through before I'm back on top!

JesseBot jessebot

🥲
Only like 30ish notifications to get through before I'm back on top!
View GitHub Profile
@jessebot
jessebot / renovatebot_with_helm.md
Last active August 9, 2023 07:26
Notes on renovateBot with helm

Setting up Self Hosted RenovateBot via GitHub Actions

There's enough little things necessary here, that you may forget one or two, so I've documented all the files you need to create/change to get RenovateBot automatically creating PRs for your helm chart. This flow uses the renovatebot/github-action.

Example .github/config.js

Set the repositories to your own repo. In this case, jessebot/vaultwarden references github.com/jessebot/vaultwarden.

The regexManagers bumps the Chart.yaml appVersion, based on the command in the Chart.yaml below. See docs.

@ffenix113
ffenix113 / README.md
Created February 1, 2023 16:59
Home Assistant Keycloak authentication using Direct access grant

Simple auth CLI script to authenticate with Keycloak with username and password.


How to use this:

  1. In direct_auth.py modify configuration, and optionally get_meta_attributes and login_hook functions to your needs.
  2. Place direct_auth.py script into Home assistant. I.e. pass it to Docker container through Volume. Remember where it is located
  3. Merge authenticator configuration from configuration.yml to Home assistant config file and change command to path to direct_auth.py
@agzam
agzam / zathura-client.org
Last active March 16, 2024 03:06
Open pdf files with Zathura on Mac

Zathura on Mac

I want to open PDF files with Zathura on Mac. Problem is - Zathura does not have a proper App Bundle. So you cannot go in Finder to a pdf file, navigate to ‘Get Info’ and set pdf files to be opened with Zathura.

Luckily, you can create a custom App Bundle that wraps up a script that does that

But that is not as straightforward as you think it is, you can’t just execute a shell script. What if the file already opened with one of the instances of zathura process? Since Zathura is not a native OSX app, it will create a new process instance every time you open it.

The following script opens a file in Zathura, and if it was already opened, it would only activate the right window.

How to use it

# Source: https://gist.github.com/820aecf0799d679d9082eef00d07b515
#############################################################################
# Bitnami Sealed Secrets #
# How To Store Kubernetes Secrets In Git Repositories Without Getting Fired #
# https://youtu.be/xd2QoV6GJlc #
#############################################################################
# Referenced videos:
# - What Is GitOps And Why Do We Want It?: https://youtu.be/qwyRJlmG5ew
@A6GibKm
A6GibKm / mu4e.md
Last active April 21, 2024 12:13
Read your emails with mu4e

Connecting emacs and Protonmail Bridge

This guide will cover the basics on how to integrate emacs with protonmail-bridge using

Configuring mbsync

Fixing NeoMutt's Browser

Discussions

I suggest we try, as much as possible to focus our work on browser.c/h and not altering the code of any other file. This way, we can work in a specific branch and have a specific architecture in the file that will merge more efficiently. Then, when we merge, we can split the content of the file into many smaller files if that is relevant, of course.

Yes, or a separate file completely. New file, new history.

@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active May 2, 2024 16:19
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@jedberg
jedberg / gist:4a048040c2c3c14452a8
Created February 11, 2015 21:37
my .screenrc
hardstatus alwayslastline "%{= kr}%?%-Lw%?%{= rw}%n*%f %t%?(%u)%?%{= kr}%?%+Lw%?%{= kr} %=%H %l | %c %m/%d/%Y"
escape `a
term xterm-color
vbell off
startup_message off
screen -t mail
screen -t root
screen -t local
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 20, 2024 16:52
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\