Skip to content

Instantly share code, notes, and snippets.

View Zubayer204's full-sized avatar
🏠
Working from home

Zubayer Rahaman Zubayer204

🏠
Working from home
View GitHub Profile
@troykelly
troykelly / README.md
Created June 23, 2023 08:15
Converting PEM to P12

How to Convert a PEM Certificate to P12 using Docker on Windows and MacOS

Step 1: Start the Docker container

For MacOS:

$ docker run --rm -it -v /absolute/path/to/your/certificates:/certificates alpine /bin/sh -c "apk add --no-cache openssl && sh"

For Windows (assuming you are using PowerShell):

@zanculmarktum
zanculmarktum / megafetch.sh
Last active May 3, 2024 15:34
Get download url from mega.nz
#!/bin/bash
# Copyright 2018, 2019, 2020 Azure Zanculmarktum
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.