Skip to content

Instantly share code, notes, and snippets.

View rcmaples's full-sized avatar
:octocat:
slingin' divs and takin' names

RC Maples rcmaples

:octocat:
slingin' divs and takin' names
View GitHub Profile
@rcmaples
rcmaples / iterm.sh
Last active January 21, 2019 19:14
Shell script to open new iTerm window or tab from command line.
#!/usr/bin/env bash
#
# Open new iTerm window or tab from the command line using v3 syntax
# for applescript as needed in iTerm2 Version 3+
# See also https://www.iterm2.com/documentation-scripting.html
#
# Usage:
# iterm Opens the current directory in a new iTerm window
# iterm [PATH] Open PATH in a new iTerm window
# iterm [CMD] Open a new iTerm window and execute CMD
@rcmaples
rcmaples / http-status-codes.md
Last active December 24, 2018 15:31
Common HTTP status codes for APIs

Common HTTP Status Codes for APIs

✅ 2xx Success

  • 200 OK
  • 201 Created
  • 202 Accepted
  • 203 Non-Authoritative Information
  • 204 No Content

🔄 3xx Redirection