This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# encoding: utf-8 | |
""" | |
This is a small python script to clear up old gitlab build artifacts. | |
""" | |
import argparse | |
import datetime | |
import functools | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations | |
case "$(uname -sr)" in | |
Darwin*) | |
VSCODE_HOME="$HOME/Library/Application Support/Code/User" | |
;; | |
Linux*WSL*) | |
# https://github.com/wslutilities/wslu | |
if hash wslvar 2>/dev/null; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# FUNCTIONS | |
################################################################################ | |
# 1. Check required system tools | |
_check_installed_tools() { | |
local missed="" |