Skip to content

Instantly share code, notes, and snippets.

View NoahCardoza's full-sized avatar
🦾
Harvester v3

Noah Cardoza NoahCardoza

🦾
Harvester v3
View GitHub Profile
@alexishida
alexishida / nginx-config-auth-cert-ssl.md
Last active July 1, 2024 14:17
Tutorial to configure Nginx client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Original: https://gist.github.com/mtigas/952344

Convert SSL certificate from CRT format to PEM

openssl x509 -in server.crt -out server.der -outform DER
openssl x509 -in server.der -inform DER -out server.pem -outform PEM
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active September 20, 2024 01:33
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@bloodearnest
bloodearnest / selfsigned.py
Last active September 3, 2024 18:16
Create a self-signed x509 certificate with python cryptography library
# Copyright 2018 Simon Davy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active September 20, 2024 05:14
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname