Skip to content

Instantly share code, notes, and snippets.

Avatar

sannithibalaji sannithibalaji

View GitHub Profile
@sannithibalaji
sannithibalaji / vim
Last active Oct 22, 2020
vim shortcuts
View vim
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"
View gist:c243fc3692b17bfa90017665e9996a18
-a for showing all, -q for only returning id.
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
@sannithibalaji
sannithibalaji / UploadDirS3.py
Created Sep 4, 2019 — forked from feelinc/UploadDirS3.py
Upload folder contents to AWS S3
View UploadDirS3.py
#!/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]
@sannithibalaji
sannithibalaji / git_sinppets
Last active May 12, 2020
my personal snippets
View git_sinppets
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
View res
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)