Skip to content

Instantly share code, notes, and snippets.

View hamatoyogi's full-sized avatar

Yoav Ganbar hamatoyogi

View GitHub Profile
@remy
remy / curl-format.txt
Created February 8, 2017 12:29
alias perf='curl -w "@$HOME/curl-format.txt" -o /dev/null -s '
namelookup: %{time_namelookup}\n
connect: %{time_connect}\n
appconnect: %{time_appconnect}\n
pretransfer: %{time_pretransfer}\n
redirect: %{time_redirect}\n
starttransfer: %{time_starttransfer}\n
----------\n
total: %{time_total}\n
@DarrenN
DarrenN / get-npm-package-version
Last active April 17, 2024 16:57 — forked from yvele/get-npm-package-version.sh
Extract version from package.json (NPM) using bash / shell
# Version key/value should be on his own line
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
echo $PACKAGE_VERSION
@alexilyaev
alexilyaev / NewMacGuidelines.md
Last active January 17, 2024 15:36
New Mac Guidelines

New Mac Guidelines

Setup

  • Install Dropbox
    • Used for syncing configs between several computers
    • Make available offline
      • Finder > Dropbox > Settings
  • Install VS Code and VS Code Insiders
  • Turn on Settings Sync for VS Code
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing