Skip to content

Instantly share code, notes, and snippets.

Mrinal Kanti Roy mkrdip

Block or report user

Report or block mkrdip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mkrdip / Given a sorted array of integers and a target integer, find a pair of integers in the array that sum to the target in linear time.
#!/usr/bin/env python
# The question is:
# given a sorted array of integers and a target integer,
# find a pair of integers in the array that sum to the target in linear time.
# The Solution
mkrdip / parse.js
Created Sep 7, 2018 — forked from zuch/parse.js
jquery - Parse JSON with jQuery Example
View parse.js
/********************************** example **************************************/
var base_url = '';
function example()
var response = "";
var form_data = {
username: username,
password: password
mkrdip / The Technical Interview Cheat
Created Sep 4, 2018 — forked from TSiege/The Technical Interview Cheat
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
mkrdip /
Created Jan 11, 2018 — forked from DaniSancas/
Neo4j's Cypher queries cheatsheet

Neo4j Tutorial


Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
mkrdip / install-comodo-ssl-cert-for-nginx.rst
Created Sep 28, 2016 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.
View install-comodo-ssl-cert-for-nginx.rst

Setting up a SSL Cert from Comodo

I use as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

mkrdip / Contract Killer
Created Feb 27, 2016 — forked from malarkey/Contract Killer
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: October 8th 2015
  • Original post

View fix-divi-mobile-nav-click.css
@media only screen and (max-width: 767px){
div#et-top-navigation {
z-index: 99;
padding-left: 0 !important;
.logo_container {
z-index: -2 !important;
mkrdip / div-all-elements-smaller.css
Created Oct 13, 2015
Make a Div & it's all elements smaller
View div-all-elements-smaller.css
.small {
transform: scale(0.8, 0.8);
-ms-transform: scale(0.8, 0.8); /* IE 9 */
-webkit-transform: scale(0.8, 0.8); /* Safari and Chrome */
-o-transform: scale(0.8, 0.8); /* Opera */
-moz-transform: scale(0.8, 0.8); /* Firefox */
View divi-video-autostart.js
<script type="text/javascript">
mkrdip / remove-gf-divi.php
Last active May 16, 2018
Remove Google Fonts from Divi
View remove-gf-divi.php
function wpse_dequeue_google_fonts() {
wp_dequeue_style( 'divi-fonts' );
add_action( 'wp_enqueue_scripts', 'wpse_dequeue_google_fonts', 20 );
You can’t perform that action at this time.