Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Tobi G. t0b1hh

I may be slow to respond.
  • Hamburg
View GitHub Profile
t0b1hh /
Created Aug 24, 2021 — forked from deviantony/
Portainer admin password in a docker-compose environment

Portainer compose deployment with admin password preset

This file aims to explain how to deploy Portainer inside a compose file with the admin password already set.

Generate the admin password

For this example, we'll use the password superpassword.

Use the following command to generate a hash for the password:

t0b1hh / Toom Baumarkt Feedback Form
Last active Apr 28, 2021
Toom Baumarkt Feedback Form
View Toom Baumarkt Feedback Form
URL Structure to form:<YYYY-MM-DD>T<HH:MM:SS>Z&p1=<FILIALID>&p4=<NPSRATING>&DatumEinkauf=<DD.MM.YYYY>&p6=typ&p5=cr&tp=eshop
There is an additional fingerprint-parameter, dunno why.
<FILIALID> is an Integer.
t0b1hh / homebrew old version.txt
Created Mar 24, 2021 — forked from sawant/homebrew old version.txt
Install older version of Formula in Homebrew
View homebrew old version.txt
[From: - just created a copy to keep it for long term]
Homebrew always wants to install the latest version of the Formula (software). This is by design, because every time there is an update to a formula, it wants to be tested against all the other formulas that it depends on. Mixing new and old versions of software is a recipe for incompatibility disaster.
But sometimes there are situations where you need an older version of software. In my specific case, Yarn was compiled against an older version of icu4c, and I want that older version instead of recompiling Yarn.
$ yarn install
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/bin/node
t0b1hh / gist:5205b7f3877be61ffabc27fc2b7db795
Last active Mar 29, 2021
color bash via .profile (ok and some aliases)
View gist:5205b7f3877be61ffabc27fc2b7db795
alias ls='ls --color=auto'
alias l='ls -al'
## colored path
PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '
## OR
## PS1 with git branch in 2nd line:
t0b1hh /
Created Mar 12, 2021 — forked from jexchan/
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C ""