Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Mac OSX – Terminal – Read JSON From cURL

Posted on September 15, 2016September 15, 2016 By David Kittell

Prerequisite: OSX Homebrew

brew update
brew prune
brew install node
brew upgrade node
sudo curl -L https://npmjs.com/install.sh | sh
npm update -g
npm install -g json
brew install python
pip install pygments
curl -s https://www.kittell.net/tools/jsonexample.php | json | pygmentize -l json
curl -s --header "PRIVATE-TOKEN: <private token>" "http://127.0.0.1/api/v3/projects" | json | pygmentize -l json
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code JSON Mac OS X Shell Mac OSX UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

PowerShell – Set IP Address

Posted on November 9, 2015

function Set-IPAddress { param( [string]$networkinterface =$(read-host "Enter the name of the NIC (ie Local Area Connection)"), [string]$ip = $(read-host "Enter an IP Address (ie 10.10.10.10)"), [string]$mask = $(read-host "Enter the subnet mask (ie 255.255.255.0)"), [string]$gateway = $(read-host "Enter the current name of the NIC you want to rename"), [string]$dns1 =…

Read More

Ektron Content Type

Posted on October 21, 2013October 26, 2015

Public Function GetContentType(ByVal sId As String) As String Select Case [sId] Case "1" Return "Content" Case "2" Return "Forms" Case "3" Return "Archive Content" Case "4" Return "Archive Forms" Case "7" Return "Library Item" Case "8" Return "Assets" Case "9" Return "Archive Assets" Case "12" Return "Archive Media" Case "99"…

Read More

MSSQL – Identity Insert

Posted on March 10, 2014June 15, 2017

— Attempt to insert an explicit ID value of 3; — should return a warning. INSERT INTO products (id, product) VALUES(3, ‘garden shovel’) GO — SET IDENTITY_INSERT to ON. SET IDENTITY_INSERT products ON GO — Attempt to insert an explicit ID value of 3 INSERT INTO products (id, product) VALUES(3,…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes