Skip to content

Instantly share code, notes, and snippets.

View jatindhankhar's full-sized avatar
🎯
Focusing

Jatin Dhankhar jatindhankhar

🎯
Focusing
View GitHub Profile
@jatindhankhar
jatindhankhar / jcurl.sh
Last active February 19, 2019 11:35 — forked from cirla/jcurl.sh
Bash function to curl an HTTP JSON API, print the headers, and then print the body formatted using jq
# Bash function to curl an HTTP JSON API, print the headers,
# and then print the body formatted using jq
#
# Example usage: jcurl https://api.github.com/users/cirla
#function jcurl() {
# disable progress bar and print headers to stdout
# response=$(curl -sD - $@)
# split response at the first empty line (ignoring whitespace)
@cirla
cirla / jcurl.sh
Created August 29, 2015 18:30
Bash function to curl an HTTP JSON API, print the headers, and then print the body formatted using jq
# Bash function to curl an HTTP JSON API, print the headers,
# and then print the body formatted using jq
#
# Example usage: jcurl https://api.github.com/users/cirla
function jcurl() {
# disable progress bar and print headers to stdout
response=$(curl -sD - $@)
# split response at the first empty line (ignoring whitespace)
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 6, 2024 02:17
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\