Skip to content

Instantly share code, notes, and snippets.

View mamun67's full-sized avatar

SK MAMUN ARFIN mamun67

  • INDIA (WEST BENGAL)
View GitHub Profile
@mamun67
mamun67 / Google Maps Simple Multiple Marker Example
Created September 18, 2018 18:51 — forked from parth1020/Google Maps Simple Multiple Marker Example
Google Maps Simple Multiple Marker Example
<html>
<head>
<title>Google Maps Multiple Markers</title>
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
</head>
<body>
<div id="map" style="height: 400px; width: 500px;">
</div>
<script type="text/javascript">
@mamun67
mamun67 / Node_AWS_Linux.md
Created February 23, 2018 11:32 — forked from nrollr/Node_AWS_Linux.md
Install Node.js on Amazon Linux (EC2)

Installing Node.js on Amazon Linux AMI

The following will guide you through the process of installing Node.js on an AWS EC2 instance running Amazon Linux AMI 2016.09 - Release Notes

For this process I'll be using a t2.micro EC2 instance running Amazon Linux AMI (ami-d41d58a7). Once the EC2 instance is up-and-running, connect to your server via ssh

@mamun67
mamun67 / nginxproxy.md
Created February 9, 2018 13:41 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@mamun67
mamun67 / gist:6115ee23be2c87b09ef47e7cd3755a05
Created February 9, 2018 08:21 — forked from mtigas/gist:952344
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
@mamun67
mamun67 / 1.mongodb-aws-setup-guide.md
Created January 19, 2018 05:49 — forked from calvinh8/1.mongodb-aws-setup-guide.md
MongoDB Setup Guide for AWS EC2 Instances with Auth Enabled
@mamun67
mamun67 / foo.log
Created December 10, 2017 18:01 — forked from ibeex/foo.log
Flask logging example
A warning occurred (42 apples)
An error occurred
@mamun67
mamun67 / docker-ce-17.05-ubuntu-16.04-LTS-install.md
Created November 2, 2017 19:01 — forked from spara/docker-ce-17.05-ubuntu-16.04-LTS-install.md
Install Docker CE 17.05 and Compose 1.13.0

Installing Docker CE Edge for Ubuntu Linux

Remove previous versions of Docker and Compose

sudo apt-get purge docker-compose
sudo apt-get purge docker-ce

Install dependencies