Skip to content

Instantly share code, notes, and snippets.

View AGheller's full-sized avatar

AGheller

  • Edilclima s.r.l.
  • Italy
View GitHub Profile
@AGheller
AGheller / howto.md
Created October 23, 2024 07:41 — forked from strarsis/howto.md
KeeAgent (for KeePass) on Bash on Windows / WSL (2)

Update (March 2023) (Last checked: June 2024)

Side note: The latest edge build of KeeAgent plugin offers an option for creating a WSL compatible socket. This would be very handy. I already tried to use that socket, but the socket file is currently empty and ssh inside WSL 2 is unable to use it. This appears to be a very new, unreleased and unstable feature. I will follow the development of it and when it finally works (well, for me) I will update this HOWTO. But until then, please use the proven wsl-ssh-agent/npiperelay.exe approach below.

Thanks to the instructions for WSL 2 of the wsl-ssh-agent project, KeeAgent works great in WSL 2 now: https://github.com/rupor-github/wsl-ssh-agent#wsl-2-compatibility The approach uses minimal and well maintained tools.

Mini-changelog

  • (16.03.2024) Add: Ensure 7z and wslvar being available (thanks @johnzielke
@AGheller
AGheller / how_bookstack.md
Created January 2, 2023 10:09 — forked from othmanalikhan/how_bookstack.md
Installing BookStack (Debian 11) (2022-11)

Installation: Installing BookStack (Debian 11)

The following guide assumes running the commands below as root for simplicity. Later in the guide directory permissions are restricted to follow the principle of least privilege.

  1. Install dependencies.
    apt install -y git unzip apache2 php7.4 curl php7.4-fpm php7.4-curl php7.4-mbstring php7.4-ldap \
    php7.4-tidy php7.4-xml php7.4-zip php7.4-gd php7.4-mysql libapache2-mod-php7.4 \
    
@AGheller
AGheller / Building OpenSSL 1.1.1(b) Notes
Last active November 12, 2021 11:12 — forked from csm10495/Building OpenSSL 1.1.1(b) Notes
Building OpenSSL 1.1.1(b) Notes (Windows)
Required: Visual Studio 2015 or 2017 (or probably later works)
Setup
1. Clone/download OpenSSL 1.1.1 source to a folder
2. Download / install Perl (They recommend Active perl)
I recommend using Strawberry Perl so for me: download and install it from https://strawberryperl.com/
3. Ensure Perl is in the system path
4. Download / install NASM
I recommend using Chocolatey so for me: choco install nasm
5. Ensure NASM is in the system path. (For me the directory to add was C:\Program Files\NASM)