Skip to content

Instantly share code, notes, and snippets.

View muhaimincs's full-sized avatar
2024 Tahun Harapan Tahun Keluaran

Muhaimin CS muhaimincs

2024 Tahun Harapan Tahun Keluaran
  • MCS Dev Resources
  • Kuala Lumpur
  • 20:43 (UTC +08:00)
View GitHub Profile
muhaimincs / web.config
Last active October 29, 2023 06:57
Config for URL Rewrite in IIS
<?xml version="1.0" encoding="UTF-8"?>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:3000/{R:1}" />
muhaimincs / mongo-docker.bash
Created September 6, 2018 02:51 — forked from davideicardi/mongo-docker.bash
Running mongodb inside a docker container (with mongodb authentication)
# Create a container from the mongo image,
# run is as a daemon (-d), expose the port 27017 (-p),
# set it to auto start (--restart)
# and with mongo authentication (--auth)
# Image used is
docker pull mongo
docker run --name YOURCONTAINERNAME --restart=always -d -p 27017:27017 mongo mongod --auth
# Using the mongo "localhost exception" (
# add a root user