Skip to content

Instantly share code, notes, and snippets.

View mulecalle's full-sized avatar
🌎

Seba Calle mulecalle

🌎
View GitHub Profile
@mulecalle
mulecalle / helm-install.md
Last active December 19, 2022 16:23 — forked from mohanpedala/helm-install.md
helm 2 and helm 3 installation on a linux machine

Helm 3 installation

  • Download the package and untar it.
wget https://get.helm.sh/helm-v3.10.3-darwin-amd64.tar.gz

tar xvf helm-v3.0.2-darwin-amd64.tar.gz
  • Move the package to the below location
mv darwin-amd64/helm /usr/local/bin/helm3
@mulecalle
mulecalle / reduceExamples.js
Created August 30, 2022 12:57 — forked from quangnd/reduceExamples.js
Some examples about reduce() in Javascript
//Example 1 - Calculate average value of an array (transform array into a single number)
var scores = [89, 76, 47, 95]
var initialValue = 0
var reducer = function (accumulator, item) {
return accumulator + item
}
var total = scores.reduce(reducer, initialValue)
var average = total / scores.length
/*Explain about function
@mulecalle
mulecalle / gitcheats.txt
Created July 19, 2022 19:48 — forked from chrismccoy/gitcheats.txt
git cheats
# delete all local tags, and update with list of remote tags
git tag -l | xargs git tag -d && git fetch -t
# get list of all author's emails of the repo
git log --format="%ae" | uniq
# shortform git commands
alias g='git'
# show contents of all git objects in a git repo
@mulecalle
mulecalle / keybase.md
Last active August 30, 2021 17:43
keybase.md

Keybase proof

I hereby claim:

  • I am mulecalle on github.
  • I am scalle (https://keybase.io/scalle) on keybase.
  • I have a public key ASDY-ciGBaOUoE7llCxLKXdH3ggVHUYrfdS0oT_e0Uy5Pgo

To claim this, I am signing this object: