Skip to content

Instantly share code, notes, and snippets.

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

Abhishek Joshi AbhishekJoshi

🏠
Working from home
View GitHub Profile
@AbhishekJoshi
AbhishekJoshi / ApacheHTTPSConfig.md
Created November 10, 2020 20:24 — forked from nrollr/ApacheHTTPSConfig.md
Enable SSL in Apache for 'localhost' (OSX, El Capitan)

Enable SSL in Apache (OSX)

The following will guide you through the process of enabling SSL on a Apache webserver

  • The instructions have been verified with OSX El Capitan (10.11.2) running Apache 2.4.16
  • The instructions assume you already have a basic Apache configuration enabled on OSX, if this is not the case feel free to consult Gist: "Enable Apache HTTP server (OSX)"

Apache SSL Configuration

Create a directory within /etc/apache2/ using Terminal.app: sudo mkdir /etc/apache2/ssl
Next, generate two host keys:

@AbhishekJoshi
AbhishekJoshi / ApacheHTTPSConfig.md
Created November 10, 2020 20:24 — forked from nrollr/ApacheHTTPSConfig.md
Enable SSL in Apache for 'localhost' (OSX, El Capitan)

Enable SSL in Apache (OSX)

The following will guide you through the process of enabling SSL on a Apache webserver

  • The instructions have been verified with OSX El Capitan (10.11.2) running Apache 2.4.16
  • The instructions assume you already have a basic Apache configuration enabled on OSX, if this is not the case feel free to consult Gist: "Enable Apache HTTP server (OSX)"

Apache SSL Configuration

Create a directory within /etc/apache2/ using Terminal.app: sudo mkdir /etc/apache2/ssl
Next, generate two host keys:

@AbhishekJoshi
AbhishekJoshi / debugger pause beforeunload
Created September 4, 2020 22:36 — forked from carcinocron/debugger pause beforeunload
Chrome: pause before redirect
// Run this in the F12 javascript console in chrome
// if a redirect happens, the page will pause
// this helps because chrome's network tab's
// "preserve log" seems to technically preserve the log
// but you can't actually LOOK at it...
// also the "replay xhr" feature does not work after reload
// even if you "preserve log".
window.addEventListener("beforeunload", function() { debugger; }, false)
@AbhishekJoshi
AbhishekJoshi / Ionic Android Development on WSL.md
Created December 27, 2018 03:20 — forked from fedme/Ionic Android Development on WSL.md
Ionic Android Development on WSL (Windows Subsystem for Linux)

Ionic Android Development on WSL

Installing the required software

Execute the following commands to install Node, npm, git, Java, Ionic, Cordova and Angular CLI:

cd ~
sudo apt update
sudo apt upgrade

Keybase proof

I hereby claim:

  • I am abhishekjoshi on github.
  • I am abhishekjoshi (https://keybase.io/abhishekjoshi) on keybase.
  • I have a public key ASBZUS9K-IF03yeWtSuhKfR08Q4XRhbZ1dIN0d2FQ4Wbrwo

To claim this, I am signing this object: