Skip to content

Instantly share code, notes, and snippets.

View strund3r's full-sized avatar

Franzwagner Ternus strund3r

View GitHub Profile
🎮 Saints Row 2 🕘 4 hrs 14 mins
🚓 Grand Theft Auto V 🕘 551 hrs 45 mins
🎮 Celeste 🕘 3 hrs 0 mins
🎮 Mafia: Definitive Edition 🕘 2 hrs 40 mins
🎮 Yu-Gi-Oh! Master Duel 🕘 5 hrs 3 mins
@strund3r
strund3r / vault-secrets-the-simple-way.md
Created February 9, 2023 14:45 — forked from xuwang/vault-secrets-the-simple-way.md
Vault Secrets The Simple Way

Vault Secrets the Simple Way

This article introduces a simple way of working with Hashicorp Vault key-value secrets engine.

Prerequisites

You should have a running Hashicorp/Vault service and Vault command available.

Here is a quick way to install a Vault dev server.

@strund3r
strund3r / lambda_sns_publish.go
Created March 31, 2022 21:18
AWS Lambda to publish an AWS Health event on an AWS SNS topic
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
"strings"
@strund3r
strund3r / csgo.ps1
Last active March 23, 2022 22:17
Start CSGO and Aurora
$Principal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
# Add log color command to clipboard
Set-Clipboard -Value "log_color General FFD700FF; cl_showpos 1"
# Start CSGO
(New-Object -Com Shell.Application).Open("steam://rungameid/730")
Start-Sleep 10
@strund3r
strund3r / k8s-decrypt-secret.sh
Created January 25, 2021 11:50
k8s shell functions
help-k8s-decrypt-secret() {
echo ""
echo "Usage"
echo " k8s-decrypt-secret [options] <secret> <namespace>"
echo ""
echo "Options:"
echo " <secret> kubernetes secret"
echo " <namespace> kubernetes namespace"
echo " -v verbose output (show kubectl command)"
echo " -h show this help"
@strund3r
strund3r / keyboard.sh
Last active December 1, 2020 11:46
Set keyboard layout to US-Intl without dead keys on Ubuntu
#!/bin/bash
#US=$(setxkbmap -layout us -variant intl)
#BR=$(setxkbmap -model abnt2 -layout br -variant abnt2)
PS3="Choose your keyboard layout: "
options=("US-INTL" "BR-ABNT2" "Quit")
select opt in "${options[@]}"
do
case $opt in
Terraform 5 hrs 50 mins ███████████▎░░░░░░░░░ 53.6%
HCL 1 hr 40 mins ███▏░░░░░░░░░░░░░░░░░ 15.3%
Markdown 1 hr 22 mins ██▋░░░░░░░░░░░░░░░░░░ 12.6%
Text 1 hr 2 mins ██░░░░░░░░░░░░░░░░░░░ 9.5%
Python 34 mins █░░░░░░░░░░░░░░░░░░░░ 5.3%

GUI Apps Using X11 Forwarding

Installing VcXsrv

Download the latest version from SourceForge.

After installing it, open XLaunch. It will start the first time configuration wizard and will generate a config file by the end.

  1. Display settings: select “Multiple windows” and set the display number to -1. (default)
Arctic Monkeys ███████████▉░░░░░ 431 plays
Clairo ██░░░░░░░░░░░░░░░ 73 plays
Harry G's Beats ▌░░░░░░░░░░░░░░░░ 19 plays
Lo-fi Llama ▍░░░░░░░░░░░░░░░░ 14 plays
Knock On Wood ▎░░░░░░░░░░░░░░░░ 13 plays
Tropicolor ▎░░░░░░░░░░░░░░░░ 13 plays
A Space for Rent ▎░░░░░░░░░░░░░░░░ 12 plays
aUra Lu ▎░░░░░░░░░░░░░░░░ 12 plays
drawn animal ▎░░░░░░░░░░░░░░░░ 12 plays
gamuri shun ▎░░░░░░░░░░░░░░░░ 12 plays
# HashiCorp Learn
https://learn.hashicorp.com/
#