Skip to content

Instantly share code, notes, and snippets.

View rdsngit's full-sized avatar

rdsngit rdsngit

View GitHub Profile
@rdsngit
rdsngit / elasticsearch-setup-apple-macbook-pro-m1.md
Last active June 2, 2023 17:20 — forked from todgru/elasticsearch-setup-apple-macbook-pro-m1.md
Install Elasticsearch 7.x on Apple Macbook Pro M1 Ventura 13.2

Elasticsearch Setup Apple MacBook Pro M1

Apple MacBook Pro M1, 32 GB, Ventura 13.2

Documentation based on comments in this Github Elasticsearch issue.

Install Homebrew

@rdsngit
rdsngit / uncommit_and_stash.sh
Created August 10, 2023 09:07 — forked from garyharan/uncommit_and_stash.sh
How to stash your unpushed commits
$ git status
5 commits pending
$ git reset --soft HEAD~5 # where 5 is the number of commits you saw in the `git status`
$ git stash