Skip to content

Instantly share code, notes, and snippets.

View psgganesh's full-sized avatar
🤖
Currently exploring: DS and ML

Shankar Ganesh psgganesh

🤖
Currently exploring: DS and ML
View GitHub Profile
@psgganesh
psgganesh / K8-TESTING.md
Created July 18, 2024 23:18
Testing tools for Kubernetes
@psgganesh
psgganesh / .zshrc
Created July 17, 2024 02:46
Shell-shortcuts
# Custom functions
assume_role() {
eval $(aws sts assume-role --role-arn "$1" --role-session-name AWSCLI-Session | jq -c '.' | setawsenv.sh)
}
# Custom scripts
export PATH="$PATH:$HOME/bin"
@psgganesh
psgganesh / eksctl-schema.json
Created March 23, 2024 04:14
eksctl-schema.json
{
"$ref": "#/definitions/ClusterConfig",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ARN": {
"$ref": "#/definitions/github.com|aws|aws-sdk-go-v2|aws|arn.ARN"
},
"AZSubnetMapping": {
"additionalProperties": {
@psgganesh
psgganesh / 00-main.go
Last active March 20, 2023 08:01
Containers handbook
package main
import "os"
import "fmt"
// docker run image <cmd> <params>
// go run main.go run <cmd> <params>
func main() {
switch os.Args[1] {
@psgganesh
psgganesh / config
Created September 2, 2021 03:32 — forked from justinpawela/config
AWS CodeCommit Multiple Account Config
# This file is: ~/.ssh/config
# You may have other (non-CodeCommit) SSH credentials stored in this
# config file – in addition to the CodeCommit settings shown below.
# NOTE: Make sure to run [ chmod 600 ~/.ssh/config ] after creating this file!
# Credentials for Account1
Host awscc-account1 # 'awscc-account1' is a name you pick
Hostname git-codecommit.us-east-1.amazonaws.com # This points to CodeCommit in the 'US East' region
@psgganesh
psgganesh / EloquentCheatSheet.md
Created October 14, 2020 02:09 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@psgganesh
psgganesh / Dockerfile-cheat-sheet.md
Last active August 16, 2020 12:50
Docker all-in-one

Using Dockerfile

Instructions

  • FROM
  • COPY
@psgganesh
psgganesh / temp.php
Last active May 27, 2020 05:29
temp.php
<?php
use App\Models\Registration;
use App\Models\Subscription;
.
.
.
.
.
@psgganesh
psgganesh / music-transcript.vtt
Last active March 22, 2020 04:14
music-transcript.vtt
WEBVTT
Kind: captions
Language: kn
1
00:00:23.104 --> 00:00:25.074
அவா முன்னலா நிகிரன்
2
00:00:25.080 --> 00:00:27.074
@psgganesh
psgganesh / transcript.vtt
Last active March 28, 2020 04:59
transcript.vtt
WEBVTT
Kind: captions
Language: san
1
00:00:05.358 --> 00:00:08.277
सहस्र'शीर्षा पुरु'षः |
2
00:00:09.159 --> 00:00:13.044