This file contains 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
start on starting <%= app %>-<%= name %> | |
stop on stopping <%= app %>-<%= name %> | |
respawn | |
exec su - <%= user %> --shell=/bin/bash -c 'cd <%= engine.root %>; trap '\''kill -WINCH $(jobs -p) && kill -QUIT $(jobs -p)'\'' EXIT; export PORT=<%= port %>;<% engine.env.each_pair do |var,env| %> export <%= var.upcase %>=<%= env %>; <% end %> <%= process.command %> >> <%= log %>/<%=name%>-<%=num%>.log 2>&1' |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am srbartlett on github. | |
* I am srbartlett (https://keybase.io/srbartlett) on keybase. | |
* I have a public key whose fingerprint is 21D8 4197 C341 50A4 92CC DD32 3BAD 8743 6A5C 1C6D | |
To claim this, I am signing this object: |
This file contains 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
{ | |
"apiVersion": "v1", | |
"swaggerVersion": "1.2", | |
"basePath": "https://{{subdomain}}.apigee.net", | |
"resourcePath": "/v1/sms/messages", | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" |
This file contains 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
package com.company.project.controllers; | |
import com.company.project.model.api.ErrorJson; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.boot.autoconfigure.web.ErrorAttributes; | |
import org.springframework.boot.autoconfigure.web.ErrorController; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
import org.springframework.web.context.request.RequestAttributes; |
This file contains 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
{"downtime":[2,3,2],"activity":[1,1],"connections":[3,2],"nutrition":[3,3],"sleep":[2,2]} |