Skip to content

Instantly share code, notes, and snippets.

View cregx's full-sized avatar
😄
Satisfied

cregx cregx

😄
Satisfied
View GitHub Profile
@cregx
cregx / How-to-use-yubikey5-and-keepassxc.md
Last active June 12, 2024 11:54
How to use YubiKey 5 and KeePassXC

YubiKey 5 und KeePassXC

This manual was last checked for validity on February 05, 2024.

Introduction

This guide outlines the process of setting up YubiKey 5 in conjunction with KeepassXC. Users who prioritize securing and managing their passwords through a password manager might have the need to enhance access security as much as possible. In this context, the deployment of both solutions, YubiKey 5 and KeepassXC, becomes relevant.

For this guide, the following prerequisites must be met:

  • Ideally, two YubiKeys 5. In essence, only one YubiKey is required. However, if you wish to have a backup YubiKey, you will naturally need two YubiKeys. Information about the available YubiKeys from the manufacturer can be found on this website: https://www.yubico.com/quiz/
@cregx
cregx / How-to-Install-Appx-Bundle-PowerShell-Script.md
Last active May 4, 2024 05:03
How to install an .Appx or .AppxBundle via a PowerShell script

How to Install an .Appx or .AppxBundle via a PowerShell script

Introduction

This how-to uses a PowerShell script template to demonstrate how to automatically install an AppxBundle in the Windows (e.g. 10) environment.

All the necessary information can be found in the inline comments within the script. To use the script for your own purposes, only a few adjustments are required.

PowerShell script

@cregx
cregx / Howto-redirect-port-over-SSH.md
Last active May 4, 2024 05:04
Howto redirect ports over SSH

Howto redirect ports over SSH

Introduction

This how-to describes the possibility to redirect a (server) remote port, e.g. 80 to a client local port, e.g. 8888 via SSH. This is sometimes useful, e.g. if you need to access a web server (e.g. an internal website) but only have SSH access to the network, which is otherwise sealed off from the outside (internet).

The instructions (screenshots) described here refer to a macOS environment but can also be used under Windows or Linux.

It is assumed that access to the remote server via SSH is available.

@cregx
cregx / How-to-Update-Vagrant-Box.md
Last active May 22, 2024 07:15
How to update Vagrant box laravel/homestead to a new version

How to update Vagrant box laravel/homestead to a new version

This manual was last checked for validity on January 28, 2023.

Introduction

This how-to describes the process of updating Laravel/Homestead boxes within the Vagrant environment. Those who use Vagrant for the development of (web) projects know the issue: updates become available several times a year, and then you have to recall what this simple update process entailed.

The instructions described here refer to a macOS environment.