Skip to content

Instantly share code, notes, and snippets.

View pablote's full-sized avatar

Pablo Compagni pablote

  • Blue Alba LLC
  • Buenos Aires, Argentina
  • 04:26 (UTC -03:00)
View GitHub Profile
@pablote
pablote / get-npm-package-version
Last active April 27, 2020 20:41 — forked from DarrenN/get-npm-package-version
Extract version from package.json (NPM) using bash / shell
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | sed -e 's/^[[:space:]]*//')
echo $PACKAGE_VERSION
@pablote
pablote / p4merge4git.md
Created January 23, 2018 21:17 — forked from tony4d/p4merge4git.md
Setup p4merge as a visual diff and merge tool for git