Skip to content

Instantly share code, notes, and snippets.

View BugBuster1701's full-sized avatar
🏠
Working from home

Glen Langer BugBuster1701

🏠
Working from home
  • T-Systems
  • Berlin, Germany
View GitHub Profile
@BugBuster1701
BugBuster1701 / mig480.php
Last active March 11, 2020 10:55
Contao 4.8.0 DB Migration wichtiger Teil eines Bildes
<?php
//ich muss ins web/ Verzeichnis, Aufruf über Browser oder Kommandozeile
//vorher DB Backup durchführen der tl_files Tabelle zur Sicherheit
define('TL_SCRIPT', 'MIGRATION480');
define('TL_MODE' , 'FE');
include __DIR__.'/../system/initialize.php';
@BugBuster1701
BugBuster1701 / gist:3865bf4765d35d1b997a00d749b799bc
Created July 4, 2019 11:57
Package in composer.json auf abandoned setzen
{
"name": "vendor/package",
"description": "blafasel",
"license": .....",
"abandoned": true
}
@BugBuster1701
BugBuster1701 / gist:633b6e9d305a9416231746ae81edc7ee
Created July 5, 2018 14:23
htaccess Ergänzungen für Contao
https://github.com/contao/manager-bundle/pull/58/files
https://github.com/contao/manager-bundle/pull/73/files
Ein Wechsel der IPv6 Adressen wegen Reboot der FritzBox oder Zwangstrennung führt zum Problem bei PI-Hole.
In /etc/pihole/setupVars.conf steht u.a. die Adresse.
Lösung: eine ULA verwenden.
Quelle: https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127
Die ULA, geginnt mit FC oder FD dort eintragen und mit "pihole -g" neu einlesen lassen.
In FritzBox einstellen, das die ULA immer zugewiesen wird.
@BugBuster1701
BugBuster1701 / gist:80968cfa44b7c1730548d64fdaa30c17
Last active October 6, 2022 09:38
Automatically use correct SSH key for remote Git repo
https://superuser.com/questions/232373/how-to-tell-git-which-private-key-to-use
Speziell dort Environment variable GIT_SSH_COMMAND
Configuration core.sshCommand:
From Git version 2.10.0, you can configure this per repo or globally,
so you don't have to set the environment variable any more!
git config core.sshCommand "ssh -i ~/.ssh/id_rsa_example -F /dev/null"
git pull
@BugBuster1701
BugBuster1701 / multiple_ssh_setting.md
Created May 6, 2017 23:55 — forked from jexchan/multiple_ssh_setting.md
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 "[email protected]"
@BugBuster1701
BugBuster1701 / contao-permissions-fuer-backend-user.txt
Created March 9, 2017 12:05
contao-permissions-fuer-backend-user
https://contao-boilerplate.alexandernaumov.de/contao-modul-entwicklung/contao-permissions-fuer-backend-user.html
@BugBuster1701
BugBuster1701 / flat-ui-designs.md
Created August 6, 2016 23:58
Flat UI Design and Kits for Developers