Skip to content

Instantly share code, notes, and snippets.

Avatar
✌️
livin' the dream...

Rahul Bajaj rabajaj0509

✌️
livin' the dream...
View GitHub Profile
View The Ultimate Bad Ass .bashrc File
#!/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 Feb 16, 2021
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.
View Modern Release Engineering in a Nutshell.md
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

@rabajaj0509
rabajaj0509 / .bashrc
Last active Oct 13, 2020
List of my shortcuts for everyday commands!
View .bashrc
# 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'
View ChildComponentsUpdateTheirParentsState.js
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;
View bin_i3-lock-screen.sh
#!/usr/bin/env sh
i3lock -i ~/.config/i3/lock_screen.png
View gist:c9c35a3e626e857c99d540bfccfa55b5
## 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: