Skip to content

Instantly share code, notes, and snippets.

View rabajaj0509's full-sized avatar
✌️
livin' the dream...

Rahul Bajaj rabajaj0509

✌️
livin' the dream...
  • Queen's University
  • kingston, Ontario
View GitHub Profile
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@rabajaj0509
rabajaj0509 / Modern Release Engineering in a Nutshell.md
Last active February 16, 2021 13:55
Review of the "Modern Release Engineering in a Nutshell" paper. Initially, I have quoted few lines of the paper and have explained my views on the same.
Broader questions include: what will be the long-term effect on user-perceived quality of releases [43, 45],
how quickly will technical debt ramp up when release cycles are so short and can end users keep up with a 
continuous stream of new releases?

Consider a single Kubernetes cluster running on a particular version in a production environment with live request traffic. For every new release, a new version is deployed. During a release, a release engineer might expect a certain delay or downtime due to the merge conflicts, incorrect package dependency resolution, etc. That is what I understood when the author says increased technical debt.

Such technical debts can be minimized by using high availability cluster setups to divert the traffic. DNS providers like NS2, Cloudflare, and Amazon Route 53 have a way of health checking your applications. We can configure the DNS providers with a failover i.e. if one cluster fails to respond to the

import React from "react";
export class Child extends React.Component {
constructor(props) {
super(props);
this.handleChange = this.handleChange.bind(this);
}
handleChange(e) {
const name = e.target.value;
@rabajaj0509
rabajaj0509 / .bashrc
Last active October 13, 2020 07:48
List of my shortcuts for everyday commands!
# User specific aliases and functions
# Git Aliases
alias ga='git add'
alias gb='git branch'
alias gcb='git checkout -b'
alias gco='git checkout'
alias gpf='git push -f origin'
alias gp='git push origin'
alias gc='git commit -m'
alias gca='git commit --amend'
#!/usr/bin/env sh
i3lock -i ~/.config/i3/lock_screen.png
@rabajaj0509
rabajaj0509 / gist:c9c35a3e626e857c99d540bfccfa55b5
Created December 8, 2017 11:07
Ansible meetup 9/12/2018
## Create a folder by the name Ansible:
$ mkdir Ansible
## Create a vagrant env:
$ vagrant init
# After creating a vagrant env, you will see a `Vagrant File`
$ vi Vagrantfile
##press dG to delete all contents of the file
##paste the following contents into the file: