Skip to content

Instantly share code, notes, and snippets.

View AhmedAbouelkher's full-sized avatar
🎯
Focusing

Ahmed Abouelkheir AhmedAbouelkher

🎯
Focusing
View GitHub Profile
@AhmedAbouelkher
AhmedAbouelkher / 2019-https-localhost.md
Created December 14, 2023 12:56 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@AhmedAbouelkher
AhmedAbouelkher / README.md
Last active December 23, 2023 17:20
Golang: Demonstrate creating a CA Certificate, Creating a signed Client Certificate and Private Key, and Signing a Certificate Signing Request CSR using a given CA
@AhmedAbouelkher
AhmedAbouelkher / main.dart
Last active September 27, 2024 11:46
A simple function utilizing `in_app_update` package to check for any available updates on Android
import 'package:in_app_update/in_app_update.dart';
/// Check for updates and start the update process if available
///
/// Returns the result of the update process or null if no update is available
///
/// For priority 0 - 3, the update process is started in the background and the
/// user is not interrupted. The update will be installed the next time the app
/// is opened.
///