Skip to content

Instantly share code, notes, and snippets.

View palnabarun's full-sized avatar
🐼
Breaking the world!

Nabarun Pal palnabarun

🐼
Breaking the world!
View GitHub Profile
~/s/g/go on 🌱 master (8634a23)
❯ git log --pretty=format:"%an" doc/effective_go.html | sort | uniq -c | sort -rn
106 Rob Pike
11 Andrew Gerrand
10 Russ Cox
7 Shenghou Ma
5 Nigel Tao
4 Robert Griesemer
4 David Symonds
4 Brad Fitzpatrick
@palnabarun
palnabarun / README.md
Created March 26, 2021 15:29
PromoteCFP

Links for promoting CFP:

1. https://confs.tech/ - submitted
2. https://www.papersinvited.com/ - submitted to editorial team 
3. http://www.wikicfp.com/cfp/ - TODO
4. https://conferencealerts.com/ - TODO
5. https://pycoders.com/ -TODO
6. https://lwn.net/Calendar/ - TODO
7. https://www.pythonweekly.com/ - TODO
@palnabarun
palnabarun / README.md
Created March 26, 2021 15:30
CFP Meeting - March 23rd, 2021

Action Items:

  1. Volunteers (shashank).
  2. Weekly updates for program wg.
  3. Speaker reach-out sheet.
  4. Outreach partners sheet (abhishek).
  5. Post at more places and make a note of these on a doc/pad. https://gist.github.com/palnabarun/c9d2f5e8c0208a141f89ec002a43a38e

Minutes of Meeting

  • The strategy for contacting potential speakers was discussed. The volunteers of CFP team should contact potential speakers through email or any other social media channel and invite them to submit the talk/workshop proposal to PyCon India 2021. The volunteers should check the excel sheet before contacting any potential speaker. The excel sheet should be updated after contacting the potential speaker.

With go:embed,

~/s/k/kubernetes on 🌱 master (ae1f28d) on ⛵ kind-kind () on ☁️ (BOM)
❯ git checkout migrate-to-go-embed
Switched to branch 'migrate-to-go-embed'
~/s/k/kubernetes on 🌱 migrate-to-go-embed (533d583) on ⛵ kind-kind () on ☁️ (BOM)
❯ make clean
+++ [0604 09:57:51] Verifying Prerequisites....
+++ [0604 09:57:51] Removing _output directory
Removing test/e2e/generated/bindata.go ..
@palnabarun
palnabarun / README.md
Last active June 26, 2021 05:54
Part 1 of the Codebase walkthrough for Kubernetes API Internals

Kubernetes API Internals Codebase Walkthrough

The JSON file included in this gist gives a codebase walkthrough of the resource handling in the k8s apiserver.

The codebase walkthrough is created using CodeTour VS Code extension. To display the walkthrough in VS Code, use the JSON file using the Opening Tours functionality.

This is a multi-part walkthrough. See the part 2 of walkthrough [here][1]. 🎉

@palnabarun
palnabarun / content.html
Created September 1, 2021 15:24
Example to send email using SendGrid API to multiple recipients
<h2>Hi!</h2>
<p>This is a very important email!</p>
<h3>Thank you!</h3>
@palnabarun
palnabarun / a.yaml
Created November 5, 2021 06:13
Experiment to parse YAML comments
# some comment
- name: John # Pal
city: Hogwarts
@palnabarun
palnabarun / korg-yaml-comment-usage.txt
Created November 5, 2021 06:23
Instances of YAML comment usage in kubernetes/org config files
config/kubernetes/sig-scalability/teams.yaml: - cpanato # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - jeremyrickard # SIG Release Technical Lead
config/kubernetes/sig-scalability/teams.yaml: - justaugustus # SIG Release Chair / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - onlydole # 1.19 Release Team Lead
config/kubernetes/sig-scalability/teams.yaml: - puerco # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-scalability/teams.yaml: - saschagrunert # SIG Release Technical Lead / Release Manager
config/kubernetes/sig-storage/teams.yaml: # Members of this group can go to https://prow.k8s.io/
config/kubernetes/sig-storage/teams.yaml: # search for a failed image build job and re-run it.
config/kubernetes/sig-storage/teams.yaml: # That permission is granted in
config/kubernetes/sig-storage/teams.yaml: # https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/k8s-staging-sig-sto
#! /usr/bin/env bash
for image in debian-iptables debian-iptables-amd64 debian-iptables-arm debian-iptables-arm64 debian-iptables-ppc64le debian-iptables-s390x;
do
for tag in buster-v1.7.0 bullseye-v1.1.0;
do
echo $image:$tag
skopeo inspect docker://gcr.io/k8s-staging-build-image/$image:$tag | jq '.Digest'
done
done
@palnabarun
palnabarun / logs1_shaped.csv
Created November 30, 2021 04:19
Publishing Bot Logs
We can't make this file beautiful and searchable because it's too large.
timestamp,textPayload,jsonPayload.message
2021-11-17T19:36:43.001079583Z, Cherry-picking k8s.io/kubernetes single-commit 4352768240037a7473b96c84bc432f52ce6e0dc8: fix inefassign linter declaring variable.,
2021-11-17T19:36:43.219383330Z, Cherry-picking k8s.io/kubernetes single-commit e82e0b38ffff895210fc6ce58bb347f77a828c01: no lint unused variables.,
2021-11-17T19:36:43.385194689Z, Cherry-picking k8s.io/kubernetes single-commit 9336ff78f4a95cca8eb4a5cf528812d1bcac552c: remove unused variable responseBodySize.,
2021-11-17T19:36:43.480244228Z, Cherry-picking source dropped-merge 1367cca8fd67b09606b01c0a9e46cef59aef3424: Merge pull request #106448 from aojea/hlee/issue-103721/staticcheck.,
2021-11-17T19:36:43.553872270Z, Looking up which commit in the master branch of k8s.io/apimachinery corresponds to k8s.io/kubernetes commit 1367cca8fd67b09606b01c0a9e46cef59aef3424.,
2021-11-17T19:36:43.563616742Z, Checking out k8s.io/apimachinery to 9edaf59fbc7f725d2eefcb0fa594894b89d9da43,
2021-11-17T19:36:43.616418364Z, Ps