Skip to content

Instantly share code, notes, and snippets.

View sujith-es's full-sized avatar

Sujith Surendran sujith-es

View GitHub Profile
@sujith-es
sujith-es / prepare-commit-msg
Created November 24, 2022 12:14 — forked from raduchiriac/prepare-commit-msg
Hook: Prepend Jira ticket ID to the git commit message
#!/bin/bash
# Get the current branch name
current_branch=`git rev-parse --abbrev-ref HEAD`
# Search Jira ID in a pattern such a "feature/ABCD-123-my-feature"
id=$(echo $current_branch | sed -nE 's,[a-z]+/([A-Z]+-[0-9]+)-.+,\1,p')
# only prepare commit message if pattern matched and jiraId was found
if [[ ! -z $id ]]; then
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-nginx
spec:
selector:
matchLabels:
run: my-nginx
replicas: 2
template:
@sujith-es
sujith-es / guestbook-php
Created February 13, 2022 15:08
Temporary configuration code to run guestbook. Verified in AWS EKS.
apiVersion: v1
kind: Service
metadata:
name: redis-master
labels:
app: redis
tier: backend
role: master
spec:
ports:
@sujith-es
sujith-es / README.md
Created November 21, 2019 09:40 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@sujith-es
sujith-es / 0-README.md
Created November 21, 2019 09:40 — forked from leonardofed/0-README.md
AWS Lambda: Advanced Coding Session - clda.co/aws-lambda-webinar

AWS Lambda: Advanced Coding Session (slides)

Live demos:

  1. Amazon API Gateway Access Control
  2. Amazon Kinesis Streams processing
  3. Amazon Cognito Sync trigger
  4. AWS CloudFormation Custom Resources

Keybase proof

I hereby claim:

  • I am sujith-es on github.
  • I am sujithes (https://keybase.io/sujithes) on keybase.
  • I have a public key ASBPR9N_fqqN1qAqA1KI_LpmvSunTC-XPJbEPmC3-ahL6go

To claim this, I am signing this object: