Skip to content

Instantly share code, notes, and snippets.

@ironjan
ironjan / watcher.sh
Created July 9, 2015 09:47
Usage: watcher.sh <watched files> -- <command>; watcher then will execute the given command whenever a write has occured to one of the watched files
#!/bin/bash
INDEX=0
IS_PARSING_WATCHED_FILES="y"
declare -a WATCHED_FILES
declare -a COMMAND
while [[ $# > 0 ]]
do
if [ "$1" == "--" ]
@ironjan
ironjan / swagger.json
Created March 18, 2016 18:15
HiPCMS !17
{
"paths": {
"/api/users/{id}": {
"post": {
"tags": ["users"],
"summary": "Updates a single user",
"responses": {
"200": {
"description": "Success"
},
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jeo [pom]
[INFO] Core [jar]
[INFO] Format Modules [pom]
[INFO] CSV Driver [jar]
[INFO] GDAL/OGR Driver [jar]
[INFO] Geobuf Driver [jar]