Skip to content

Instantly share code, notes, and snippets.

View royshouvik's full-sized avatar

Shouvik Roy royshouvik

  • Stockholm, Sweden
View GitHub Profile
@royshouvik
royshouvik / console.ts
Last active October 4, 2022 00:12
Nestjs REPL
import 'dotenv/config';
import { NestFactory } from '@nestjs/core';
import * as repl from 'repl';
import * as Logger from 'purdy';
const LOGGER_OPTIONS = {
indent: 2,
depth: 1,
};
@royshouvik
royshouvik / gist:18ee9707539a3866396179e53e22e255
Last active April 20, 2019 09:47
Deploying a k8s cluster on Google cloud

Kubernetes Concepts

Pods

Runs one or more closely related containers. Most of the time, we will have a pod running a single container. Pods are temporary in nature i.e. pods can be destroyed and new ones created anytime. This is why we don't directly manage individual pods. Docs

Deployments

Administers and manages a set of pods. We use deployments to configure and manage set of pods. Docs

Services

Sets up networking in the kubernetes cluster. Docs There are 4 types of services:

@royshouvik
royshouvik / remoteDebugging.md
Last active April 30, 2024 07:20
Describes how to setup remote debugging on an Android device using Chrome

Remote Debugging on Android with Chrome

The way your web content behaves on mobile can be dramatically different from the desktop experience. Remote debugging with Chrome DevTools lets you debug live content on your Android device from your development machine.

Debugging Chrome for Android using the Chrome Developer Tools

Remote debugging on Android supports:

  • Debugging websites in browser tabs.
  • Debugging WebViews in native Android apps.
@royshouvik
royshouvik / Coursera Programme.md
Last active January 19, 2016 14:00
Coursera Curriculum

September 2015

  • HTML, CSS and JavaScript - September 14, 2015
  • Introduction to HTML5 - September 15, 2015
  • Ruby on Rails: An Introduction - September 15, 2015
  • Responsive Website Basics: Code with HTML, CSS, and JavaScript - September 14, 2015

October 2015

  • EDX - HTML5 Part 1: HTML5 Coding Essentials and Best Practices - October 5, 2015 (Monday)
  • Introduction to CSS3 - October 19, 2015 (Tuesday)
  • Rails with Active Record and Action Pack - October 26, 2015 (Wednesday)
@royshouvik
royshouvik / hackerRankIO.js
Created July 30, 2015 23:47
IO template in JavaScript for Hacker Rank
process.stdin.resume();
process.stdin.setEncoding('ascii');
var __input_stdin = "";
var __input_stdin_array = "";
var __input_currentline = 0;
process.stdin.on('data', function (data) {
__input_stdin += data;
});
@royshouvik
royshouvik / Full Stack JavaScript.md
Last active July 6, 2023 13:55
Learn Full Stack JavaScript Web Development for FREE using resources like YouTube, Udacity and NodeSchool

JavaScript

  • Udacity Javascript Basics
  • NodeSchool.io - Javascripting
  • Safari - Professional Javascript for Web Developers
  • Udacity Object-Oriented JavaScript
  • Safari - You dont know JS series
  • NodeSchool - Promise it won't hurt
  • NodeSchool - Planet proto
  • Udacity JavaScript Design Patterns
  • NodeSchool - Scope Chains and Closures
JavaScript resources, all free online. They're ordered in diffuculty from top to bottom.
http://jsforcats.com/
https://www.youtube.com/playlist?list=PLeL6uTxQ-uX_5BpOb2FDNgG6SxjCs59Kv
https://www.youtube.com/watch?v=hQVTIJBZook
https://www.khanacademy.org/computing/computer-science/algorithms
http://speakingjs.com/es5/index.html
http://eloquentjavascript.net/index.html
http://superherojs.com/
https://www.youtube.com/watch?v=8aGhZQkoFbQ