Skip to content

Instantly share code, notes, and snippets.

View sohammondal's full-sized avatar
:atom:
Making or breaking things on the internet

Soham Mondal sohammondal

:atom:
Making or breaking things on the internet
View GitHub Profile
@sohammondal
sohammondal / ubuntu_agnoster_install.md
Last active November 14, 2020 16:03 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

@sohammondal
sohammondal / node_nginx_ssl.md
Created May 27, 2020 19:54 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@sohammondal
sohammondal / django-deployment.md
Created April 29, 2020 15:23
Steps to setup a Django project and deploy on Heroku

#To be....

@sohammondal
sohammondal / react-debouncing.md
Created April 12, 2020 03:45 — forked from simonw/react-debouncing.md
React debouncing pattern for API calls

React debouncing pattern for API calls

Classic debounce function:

const debounce = (fn, delay) => {
      let timer = null;
      return function (...args) {
          const context = this;
          timer && clearTimeout(timer);

timer = setTimeout(() => {

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@sohammondal
sohammondal / index.html
Last active September 6, 2019 02:42
MWgowJx
<div class="footer-social-icons">
<div class="footer-title"><span>CONNECT WITH ME</span></div>
<ul class="social-icons">
<li><a href="mailto:contact@aindrilla.com" class="social-icon"><i class="fa fa-envelope smooth-transition"></i></a></li>
<li><a target="blank" href="https://www.instagram.com/aindrilla_" class="social-icon"> <i class="fa fa-instagram smooth-transition"></i></a></li>
<li><a target="blank" href="https://twitter.com/aindrilla_" class="social-icon"> <i class="fa fa-twitter smooth-transition"></i></a></li>
<li><a target="blank" href="https://www.linkedin.com/in/aindrilla" class="social-icon"> <i class="fa fa-linkedin smooth-transition"></i></a></li>
</ul>
</div>
@sohammondal
sohammondal / AWS-CDA Sample Exam Questions.md
Created July 23, 2018 17:07 — forked from purdoo/AWS-CDA Sample Exam Questions.md
Detailed solutions to the AWS-CDA Sample Exam Question

The following sample exam questions can be found here: https://d0.awsstatic.com/training-and-certification/docs-dev-associate/AWS_certified_developer_associate_examsample.pdf

Which of the following statements about SQS is true?

A. Messages will be delivered exactly once and messages will be delivered in First in, First out order

B. Messages will be delivered exactly once and message delivery order is indeterminate

C. Messages will be delivered one or more times and messages will be delivered in First in, First out order