This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# src: https://stackoverflow.com/a/30026641 | |
# credit to @mcoolive | |
# Transform long options to short ones | |
for arg in "$@"; do | |
shift | |
case "$arg" in | |
'--help') set -- "$@" '-h' ;; | |
'--number') set -- "$@" '-n' ;; | |
'--rest') set -- "$@" '-r' ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body > div#app > div > div.css-mcm29f { | |
overflow: scroll; | |
} | |
body > div#app > div > div > div.css-1bd8bfl, | |
body > div#app > div > div#gateway-content { | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
typealias JSON = AnyObject | |
typealias JSONDict = Dictionary<String, JSON> | |
typealias JSONArray = Array<JSON> | |
struct User { | |
let id: Int | |
let name: String | |
let email: String |