Skip to content

Instantly share code, notes, and snippets.

View Illutax's full-sized avatar

Valerij Dobler Illutax

  • WPS - Workplace Solutions GmbH
  • Hamburg
View GitHub Profile
@Illutax
Illutax / git-pushing-multiple.rst
Created October 24, 2021 22:14 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@Illutax
Illutax / get-docker.sh
Last active February 20, 2022 10:56
Bash script to get & install docker on linux
#!/bin/sh
set -e
# Docker CE for Linux installation script
#
# See https://docs.docker.com/engine/install/ for the installation steps.
#
# This script is meant for quick & easy install via:
# $ curl -fsSL https://get.docker.com -o get-docker.sh
# $ sh get-docker.sh
#
#!/bin/bash
TMP_MAVEN_VERSION=${1:-"3.8.7"}
# Download Maven
wget https://apache.org/dist/maven/maven-3/$TMP_MAVEN_VERSION/binaries/apache-maven-$TMP_MAVEN_VERSION-bin.tar.gz -P /tmp
# Unzip
sudo tar xf /tmp/apache-maven-*.tar.gz -C /opt
sudo rm /tmp/apache-maven-*-bin.tar.gz
@Illutax
Illutax / .ohmzposhv3_v2.json
Last active June 20, 2022 11:08
ohmzposhv3_v2
{
"source": "https://gist.github.com/shanselman/1f69b28bfcc4f7716e49eb5bb34d7b2c",
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#ff479c",
"foreground": "#ffffff",
@Illutax
Illutax / clutter-free-vscode.jsonc
Created January 2, 2024 06:36 — forked from kamilogorek/_screenshot.md
Clutter-free VS Code Setup
// Required Plugin: https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
// settings.json
{
// Remove left-side icons
"workbench.activityBar.location": "hidden",
// Remove bottom status bar
"workbench.statusBar.visible": false,
// Remove position indicator in the editor's scrollbar
"editor.hideCursorInOverviewRuler": true,