Skip to content

Instantly share code, notes, and snippets.

@rutcreate
rutcreate / README.md
Last active June 29, 2024 12:08
Install Python 3.10.x on Ubuntu 20.04

Prerequisite

sudo apt update
sudo apt install software-properties-common -y

Add custom APT repository

@ilguzin
ilguzin / gist:6606011
Last active March 9, 2018 07:46
How to convert Java Key Store file to pem/key for nginx
1. Convert our ".jks" file to ".p12" (PKCS12 key store format):
keytool -importkeystore -srckeystore oldkeystore.jks -destkeystore newkeystore.p12 -deststoretype PKCS12
1.1. List new keystore file contents:
keytool -deststoretype PKCS12 -keystore newkeystore.p12 -list
2. Extract pem (certificate) from ".p12" keysotre file:
@jestan
jestan / gist:1319504
Last active September 27, 2015 19:27
My Git Commands
#### Create a feature branch
git checkout -b <branch-name>
#### Create a remote branch for the feature branch
git push origin refs/heads/<branch-name>
#### Delete a remote branch
git push origin :refs/heads/<branch-name>