Skip to content

Instantly share code, notes, and snippets.

🔥
(╯°□°)╯︵ ┻━┻

Nikhita Raghunath nikhita

Block or report user

Report or block nikhita

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nikhita
nikhita / client-go-release-11-smoke-test.sh
Last active Apr 3, 2019
Script used to smoke test client-go v11.0.0 before releasing
View client-go-release-11-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
View badgodep.diff
diff --git a/artifacts/scripts/util.sh b/artifacts/scripts/util.sh
index e9e3d01..7875b46 100755
--- a/artifacts/scripts/util.sh
+++ b/artifacts/scripts/util.sh
@@ -380,7 +380,7 @@ sync_repo() {
squash ${squash_commits}
# if there is no pending merge commit, update Godeps.json because this could be a target of tag
- if [ -z "${k_pending_merge_commit}" ]; then
+ if ! pick-incorrect-godep-changes ${k_mainline_commit} && [ -z "${k_pending_merge_commit}" ]; then
@nikhita
nikhita / client-go-release-10-smoke-test.sh
Last active Dec 4, 2018
Script used to smoke test client-go v10.0.0 before releasing
View client-go-release-10-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
@nikhita
nikhita / list-of-kubernetes-repos-over-time.py
Created Dec 4, 2018
List of Kubernetes GitHub repos over time in a Graph
View list-of-kubernetes-repos-over-time.py
import requests
repos = [
'kubernetes',
'kubernetes-client',
'kubernetes-csi',
'kubernetes-incubator',
'kubernetes-sigs',
]
@nikhita
nikhita / client-go-smoke-test-release-9.txt
Last active Oct 5, 2018
Glide test for client-go release v9.0.0
View client-go-smoke-test-release-9.txt
#!/bin/bash -ex
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
done
popd
@nikhita
nikhita / check-broken-k8s-links.md
Created Sep 21, 2018 — forked from jonasrosland/check-broken-k8s-links.md
Check broken links in Kubernetes Community repo
View check-broken-k8s-links.md
@nikhita
nikhita / fedora-firefox-gif-video.md
Created Aug 6, 2018
How to get Twitter gifs and short videos working on Firefox on Fedora
View fedora-firefox-gif-video.md

How to get Twitter gifs and short videos working on Firefox on Fedora

Note: This is for Fedora 28, however the process should be similar for other recent Fedora versions as well.

  1. Go to https://www.youtube.com/html5 and check if all boxes are checked. If gifs or short videos don't work for you, you mostly do not have H.264 and MSE & H.264.

  2. There are a bunch of repositories you need to setup.

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
View .gitconfig
[merge]
tool = mymeld
conflictstyle = diff3
[mergetool "mymeld"]
# Shows three-pane merge view with central output directly being the merged file to save
cmd = $MANISHMELD $LOCAL $BASE $REMOTE --output=$MERGED
#cmd = meld "$LOCAL" "$BASE" "$REMOTE"
View test-staging.sh
#!/bin/bash -ex
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone git@github.com:kubernetes/${repo}.git
done
popd
@nikhita
nikhita / all-not-sorted.txt
Last active Jun 7, 2018
Generating list of PRs for client-go release-7 notes.
View all-not-sorted.txt
https://github.com/kubernetes/kubernetes/pull/59159
https://github.com/kubernetes/kubernetes/pull/59966
https://github.com/kubernetes/kubernetes/pull/55168
https://github.com/kubernetes/kubernetes/pull/60055
https://github.com/kubernetes/kubernetes/pull/58111
https://github.com/kubernetes/kubernetes/pull/59316
https://github.com/kubernetes/kubernetes/pull/58544
https://github.com/kubernetes/kubernetes/pull/54933
https://github.com/kubernetes/kubernetes/pull/59821
https://github.com/kubernetes/kubernetes/pull/59587
You can’t perform that action at this time.