Base on AD7six, with renamed files history preserved. (you can skip the preliminary optional section) ref.: https://stackoverflow.com/a/33873223
remove all remotes
git remote | while read -r line; do (git remote rm "$line"); done
remove all tags
Base on AD7six, with renamed files history preserved. (you can skip the preliminary optional section) ref.: https://stackoverflow.com/a/33873223
remove all remotes
git remote | while read -r line; do (git remote rm "$line"); done
remove all tags
// Extract and Transform data from Albiondata-client debug file. | |
// HOW TO USE: Load txt debug file, open console(Ctrl+Shift+I), and use the code. | |
// Author: Walker de Alencar <[email protected]> | |
function decodeParams(params) { | |
var prex = new RegExp(/([0-9]{1,}):(-?\d+|.+?(?=\s[0-9]{1,}:))/,"gi"); | |
var r = []; | |
Array.from(params.matchAll(prex)).forEach(function(param){ | |
if ( param[1] < 252) { | |
r[param[1]] = param[2]; |
#!/bin/bash | |
# Proton 5.13 NMS Networking Patch by Walkynn, | |
# Based on @aeikum(https://github.com/ValveSoftware/Proton/issues/438#issuecomment-764835371) | |
echo "Proton 5.13 NMS Networking Patch" | |
echo -n "Change to Proton 5.13 folder..." | |
cd ~/.steam/steam/steamapps/common/Proton\ 5.13 | |
echo "OK" |
#!/usr/bin/env groovy | |
pipeline { | |
agent { label 'master' } | |
stages { | |
stage('Checkout') { | |
steps { | |
checkout scm | |
} | |
} |
# Install K3S | |
curl -sfL https://get.k3s.io | sh - | |
# Copy k3s config | |
mkdir $HOME/.kube | |
sudo cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config | |
sudo chmod 644 $HOME/.kube/config | |
# Check K3S | |
kubectl get pods -n kube-system |