Skip to content

Instantly share code, notes, and snippets.

View sannithibalaji's full-sized avatar

sannithibalaji sannithibalaji

View GitHub Profile
Critical thinking DevOps Engineer with extensive understanding of high available and scaleable architecture with lowest cost. A purpose-driven professional with the capacity to be a strong team player and also work effectively independently. Seeking a new challenges involved with infrastructure designing, planning and implementing.
AWS services (IAM,EC2,RDS, S3,CLOUD FORMATION, EKS, SNS, SES, SQS, ROUTE53, EFS, VPC, CLOUD TRAIL, CLOUD9, API GATEWAY, LAMBDA, ACM)
configuration management (puppet)
containers (docker, kubernetes)
Batch Processing & continuous integration( Jenkins)
Python (core and boto3)
source code management (GIT,GITHUB)
Project Management Tools (JIRA)
Web Framework (DJANGO)
@sannithibalaji
sannithibalaji / git_sinppets
Last active May 12, 2020 16:49
my personal snippets
delete_all_local_branches:
git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -d
set upstream with push
git push --set-upstream remote branch
update submoduels
git submodule update --init --recursive
pull all code in submodules as well
@sannithibalaji
sannithibalaji / UploadDirS3.py
Created September 4, 2019 14:26 — forked from feelinc/UploadDirS3.py
Upload folder contents to AWS S3
#!/usr/bin/python
import os
import sys
import boto3
# get an access token, local (from) directory, and S3 (to) directory
# from the command-line
local_directory, bucket, destination = sys.argv[1:4]
-a for showing all, -q for only returning id.
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
@sannithibalaji
sannithibalaji / vim
Last active October 22, 2020 11:18
vim shortcuts
delete all lines in file ggdG (gg for beggining of file, d for delete, G for End of file)
save and quit: <shift>ZZ
select multiple lines: <shift>V (j or k) j for next line and k for previous line. you can also give 3j where it selects next 3 lines
yanking(copying): yy, can also give 3yy , y means copy character, yy means copy line, and nyy means copy n lines
paste: p or P, p for pasting after current character, P for pasting before current character.
delete a string: di"
change a string: ci"