Skip to content

Instantly share code, notes, and snippets.

View supratims's full-sized avatar

Supratim Chowdhury supratims

  • United Kingdom
View GitHub Profile
@supratims
supratims / keybase.md
Created July 22, 2019 13:36
Keybase proof

Keybase proof

I hereby claim:

  • I am supratims on github.
  • I am supratims (https://keybase.io/supratims) on keybase.
  • I have a public key whose fingerprint is B8FE 2519 58DA 7AD7 AE31 362F 4F5E 3B36 FD88 0A6F

To claim this, I am signing this object:

@supratims
supratims / System Design.md
Created February 12, 2019 16:37 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@supratims
supratims / twilio_function_sms_forward.js
Created April 18, 2018 13:53
Twilio function to forward sms
// This is a simple usag of twilio function
// Buy a number in twilio
// Setup a twilio function (akin to amazon mabda) that handles incoming messages and forwards the message to your number
// If you are using test twilio account, make sure your number is verified
// Flow:
// Assuming your twilio number is A
// Sender S, sends a sms to A
// This function forwards the sms to your number Y
@supratims
supratims / zeromq.install
Created March 2, 2018 18:03
ZeroMq on php
git clone git://github.com/mkoppanen/php-zmq.git
cd php-zmq
phpize && ./configure
make && make install
#Finally add the following line to your php.ini:
extension=zmq.so
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="jquery-1.7.1.min.js" type="text/javascript"></script>
<style type="text/css">
body {
padding-top: 20px;
padding-bottom: 60px;
background: rgb(76, 77, 77);