Skip to content

Instantly share code, notes, and snippets.

View debu999's full-sized avatar

Debabrata Patnaik debu999

  • JP MORGAN CHASE N.A.
  • Bengaluru
  • 20:38 (UTC +05:30)
  • X @i_m_debu
View GitHub Profile
@debu999
debu999 / idea
Created January 15, 2023 06:04 — forked from agoncal/idea
#!/bin/sh
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
wd=`pwd`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`
@debu999
debu999 / httpie-graphql.sh
Last active January 3, 2023 10:34 — forked from 2color/httpie-graphql.sh
How to send a GraphQL request with HTTPie
http -f https://graphqlapiurl/graphql Authorization:"Bearer accessToken" query="query { Process(id=\"test\") { id title } }"
http -f https://graphqlapiurl/graphql Authorization:"Bearer accessToken" query="mutation { Process(id=\"test\", title=\"testtitle\") { id title } }"