Skip to content

Instantly share code, notes, and snippets.

View ben-eddy74's full-sized avatar

Eddy ben-eddy74

  • The Netherlands
View GitHub Profile
@BeKnowDo
BeKnowDo / ubuntu-setup.md
Last active March 10, 2024 15:05
Setting up Ubuntu for my development environment and other utilities

Ubuntu 20.04

Installing gDebi

sudo apt install gdebi-core

Sharing Drives via Samba

  • Install the taskel and samba server packages
    • sudo tasksel install samba-server
    • sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
    • sudo bash -c 'grep -v -E "^#|^;" /etc/samba/smb.conf_backup | grep . > /etc/samba/smb.conf'
  • sudo nano /etc/samba/smb.conf
@Hakky54
Hakky54 / java_keytool_cheat_sheet.md
Last active July 26, 2024 21:46
Keytool Cheat Sheet - Some list of keytool commands for create, check and verify your keys

Keytool CheatSheet 🔐

Some history

This cheat sheet came into life when I started working on a tutorial of setting up one way tls and two way tls, which can be found here: GitHub - Mutual TLS SSL

Creation and importing

Generate a Java keystore and key pair

keytool -genkeypair -keyalg RSA -keysize 2048 -keystore keystore.jks -alias server -validity 3650