Skip to content

Instantly share code, notes, and snippets.

View ameri110's full-sized avatar
๐Ÿ˜ƒ

Ahmad Ameri ameri110

๐Ÿ˜ƒ
View GitHub Profile
@ameri110
ameri110 / self-signed-SSL-cert.md
Last active July 20, 2024 08:02 — forked from klcantrell/self-signed-SSL-cert.md
How to create and trust a SSL certificate on Windows

How to create and trust a SSL certificate on Windows

Step 1

Generate a private root key

openssl genrsa -des3 -out myCA.key 2048

Step 2

Generate a root certificate

@ameri110
ameri110 / empty-wp-plugin.php
Created April 25, 2022 13:27 — forked from sareiodata/empty-wp-plugin.php
Empty WordPress plugin
<?php
/**
* Plugin Name: Name Of The Plugin
* Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
* Description: A brief description of the Plugin.
* Version: The Plugin's Version Number, e.g.: 1.0
* Author: Name Of The Plugin Author
* Author URI: http://URI_Of_The_Plugin_Author
* License: A "Slug" license name e.g. GPL2
*/
@ameri110
ameri110 / squid_proxy_tutorial.md
Last active October 9, 2020 20:53 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils