Skip to content

Instantly share code, notes, and snippets.

View rishikeshjoshi's full-sized avatar

Hrishikesh Joshi rishikeshjoshi

  • Melbourne, Australia
View GitHub Profile
var imageAddr = "http://www.tranquilmusic.ca/images/cats/Cat2.JPG" + "?n=" + Math.random();
var startTime, endTime;
var downloadSize = 5616998;
var download = new Image();
download.onload = function () {
endTime = (new Date()).getTime();
showResults();
}
startTime = (new Date()).getTime();
download.src = imageAddr;

Useful Kubectl commands

kubectl explain
@rishikeshjoshi
rishikeshjoshi / git-change-commit-messages.md
Created February 1, 2020 12:38 — forked from nepsilon/git-change-commit-messages.md
How to change your commit messages in Git? — First published in fullweb.io issue #55

How to change your commit messages in Git?

At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.

Not pushed + most recent commit:

git commit --amend

This will open your $EDITOR and let you change the message. Continue with your usual git push origin master.