Skip to content

Instantly share code, notes, and snippets.

View kingma-sbw's full-sized avatar
🎯
Focusing

Johannes Kingma kingma-sbw

🎯
Focusing
  • SBW Haus des Lernens | Neue Medien
  • Hafenstrasse 46, Romanshorn
  • 11:43 (UTC -12:00)
View GitHub Profile
@kingma-sbw
kingma-sbw / git-clone-here.reg
Created March 22, 2024 07:39
Git clone here
; registry entry for rmc "Clone here"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\git-clone]
@="Clone here"
[HKEY_CLASSES_ROOT\Directory\shell\git-clone\command]
@="Powershell -NoProfile -Command \"Set-Location -LiteralPath '%V' ; git clone $(Get-Clipboard)\""
@kingma-sbw
kingma-sbw / create-github-repo.cmd
Created October 5, 2023 13:06
Create a repo and push the current folder argument is repo name
git init && git add . && git commit -m 'start'
gh repo create %1 --private
git remote add origin [email protected]:kingma-sbw/%1.git
git push -u origin main
@kingma-sbw
kingma-sbw / docker-compose.yaml
Created March 25, 2023 09:23
Wordpress with Mariadb
version: "3"
# Defines which compose version to use
services:
# Services line define which Docker images to run. In this case, it will be MySQL server and WordPress image.
db:
image: mariadb:10.7.3
restart: always
environment:
MYSQL_ROOT_PASSWORD: MyR00tMySQLPa$$5w0rD
MYSQL_DATABASE: MyWordPressDatabaseName