Skip to content

Instantly share code, notes, and snippets.

View kaustavdm's full-sized avatar

Kaustav Das Modak kaustavdm

View GitHub Profile
@kaustavdm
kaustavdm / blue-green-ps1.sh
Created April 2, 2021 18:31
PS1 with blue-green
export PS1="\e[1;36m\u@\h\e[0m\e[1;34m:\W $ \e[0m"
@kaustavdm
kaustavdm / api-v0.1.yaml
Created September 8, 2019 23:58
Cat Management API for POST/CON 2019 workshop
openapi: 3.0.0
info:
title: Cat Management API
version: '0.1'
description: Hypothetical internal service API for managing database of cats in the household
servers:
- url: 'https://api.cat'
description: production
paths:
/cats:

Keybase proof

I hereby claim:

  • I am kaustavdm on github.
  • I am kaustavdm (https://keybase.io/kaustavdm) on keybase.
  • I have a public key ASBhvAA-2Ale4eGoGUs7illLZL_TDRmbbT9JTND8lzAqPgo

To claim this, I am signing this object:

@kaustavdm
kaustavdm / hr.css
Last active October 3, 2019 18:44
Make your <hr> look like Medium's
hr:after {
display: block;
text-align: center;
content: "...";
color: #333333;
font-size: 2rem;
height: 2rem;
line-height: 2rem;
clear: both;
border: none;
@kaustavdm
kaustavdm / e.sh
Last active October 3, 2016 20:12
Run emacsclient in detached GUI mode
#!/bin/bash
# Usage: e.sh <args>
# <args> are any valid arguments for emacsclient
nohup $(which emacsclient) -a "" -c "$@" &>/dev/null & disown %%
@kaustavdm
kaustavdm / proposal-mozin-restructure_kaustav.txt
Last active July 30, 2016 03:55
Proposal for restructuring of Mozilla India community
Proposal for restructuring of Mozilla India community
=====================================================
Author : Kaustav Das Modak <kaustav.dasmodak@gmail.com>
Date : Jul 24, 2016
Location : Bangalore
Status : Proposal
License : CC0 1.0 [1]
Version : 1.0.0
@kaustavdm
kaustavdm / DEB-README.md
Last active May 18, 2016 11:44
Gauge package install instructions

Debian/Ubuntu packages for Gauge.

Setting up

Add Bintrays's GPG key

$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B
@kaustavdm
kaustavdm / .vimrc
Last active December 22, 2015 18:28
Kaustav's .vimrc
" Kaustav's .vimrc
" Colorscheme
syntax enable
colorscheme monokai
let g:monokai_italic=1
let g:monokai_thick_border=1
" Tab related settings
set tabstop=4
@kaustavdm
kaustavdm / abstract.md
Last active August 29, 2015 14:23
Unifying real-time communications with JavaScript

Title: Unifying real-time communications with JavaScript

Abstract:

WebRTC was devised as one of the means to overcome platform differences in communication technology. It pushed the web as a strong alternative to proprietary platforms. The role of JavaScript is very important in this stack as the language for unifying different types of clients.

Hoever, as more and more systems move towards exchanging large amount of information in real-time, there is an ever-increasing concern over platform fragmentations. Existing communication systems are not usually built to inter-operate with others. This results in multiple silos that prevent implementation of a unified layer of communication worldwide.

This talk explores how JavaScript is being used and how it can be used to build a fragmentation-less, globally available, decentralized communications network.

@kaustavdm
kaustavdm / Preferences.sublime-settings
Last active August 29, 2015 14:15
Sublime Text 2 user config
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",