Skip to content

Instantly share code, notes, and snippets.

@darkounet
darkounet / clean_gitlab_export.sh
Created September 12, 2016 12:24
Gitlab fix error import/export Pipeline & protected Branches
#!/bin/bash
#
#
# Thanks to https://gist.github.com/hilbix/3e7dbe86f4e155a369a67293e8511e73
# Fix Failed to replace pipelines because one or more of the new records could not be saved.
# Fix Failed to replace protected_branches because one or more of the new records could not be saved.
# Usage : ./clean_gitlab_export.sh 2016-09-12_14-09-835_GROUP_project_export.tar.gz
@dieseltravis
dieseltravis / PS-BGInfo.ps1
Last active April 23, 2024 15:16
update wallpaper background image with powershell (like Sysinternals BGInfo)
# PS-BGInfo
# Powershell script that updates the background image with a random image from a folder and writes out system info text to it.
# run as a lower priority task
[System.Threading.Thread]::CurrentThread.Priority = 'BelowNormal'
# Configuration:
# Font Family name
$font="Input"