Skip to content

Instantly share code, notes, and snippets.

View dinkelspiel's full-sized avatar
🐞
alot of bugs

Willem Dinkelspiel dinkelspiel

🐞
alot of bugs
View GitHub Profile
<div class="ptContainer"><svg xmlns="http://www.w3.org/2000/svg" width="36" height="40" viewBox="0 0 36 40" fill="none" class="ptPackage" ><path d="M9.5 5.28595L26.5 15.0137Z" fill="#BA5217" /><path d="M35 12.3315C34.9993 11.669 34.8244 11.0184 34.4929 10.4448C34.1614 9.87126 33.6848 9.39497 33.1111 9.06373L19.8889 1.50818C19.3146 1.17661 18.6631 1.00205 18 1.00205C17.3369 1.00205 16.6854 1.17661 16.1111 1.50818L2.88889 9.06373C2.31516 9.39497 1.83863 9.87126 1.50709 10.4448C1.17556 11.0184 1.00068 11.669 1 12.3315V27.4426C1.00068 28.1051 1.17556 28.7558 1.50709 29.3293C1.83863 29.9029 2.31516 30.3792 2.88889 30.7104L16.1111 38.266C16.6854 38.5975 17.3369 38.7721 18 38.7721C18.6631 38.7721 19.3146 38.5975 19.8889 38.266L33.1111 30.7104C33.6848 30.3792 34.1614 29.9029 34.4929 29.3293C34.8244 28.7558 34.9993 28.1051 35 27.4426V12.3315Z" fill="#BA5217" /><path d="M1.56667 10.4426L18 19.8871L34.4333 10.4426" fill="#BA5217" /><path d="M18 38.776V19.8871Z" fill="#BA5217" /><path d="M9.5 5.28595L26.5 15.0137M1.56667
@dinkelspiel
dinkelspiel / migrate_github_to_gitlab.sh
Created August 24, 2023 11:56
Import all projects from a GitHub account into a GitLab account
#!/bin/bash
# GitHub & GitLab personal access tokens
GITHUB_TOKEN=<Github PAT Token>
GITLAB_TOKEN=<Gitlab PAT Token>
# Usernames for GitHub & GitLab
GITHUB_USERNAME=<Github Username>
GITLAB_NAMESPACE=<Gitlab username>