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!
\
| 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 |
| #!/bin/bash | |
| name=$RANDOM | |
| url='http://localhost:9093/api/v1/alerts' | |
| echo "firing up alert $name" | |
| # change url o | |
| curl -XPOST $url -d "[{ | |
| \"status\": \"firing\", |
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.
This guide will cover the basics on how to integrate emacs with protonmail-bridge using
- mu4e
- mbsync
- smtpmail
- protonmail-bridge
| # 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 |
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.
Simple auth CLI script to authenticate with Keycloak with username and password.
How to use this:
- In
direct_auth.pymodify configuration, and optionallyget_meta_attributesandlogin_hookfunctions to your needs. - Place
direct_auth.pyscript into Home assistant. I.e. pass it to Docker container through Volume. Remember where it is located - Merge authenticator configuration from
configuration.ymlto Home assistant config file and changecommandto path todirect_auth.py
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.
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.