Skip to content

Instantly share code, notes, and snippets.

View jdemaris's full-sized avatar

Justin DeMaris jdemaris

View GitHub Profile
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload

Keybase proof

I hereby claim:

  • I am jdemaris on github.
  • I am jdemaris (https://keybase.io/jdemaris) on keybase.
  • I have a public key whose fingerprint is 13F9 2F2D 58EF CB66 6928 4EB4 DCB0 5B4C F89A FC66

To claim this, I am signing this object:

! @6lm8kko5a - Internal server error, for (GET) [/v1/orgs] ->
play.api.Application$$anon$1: Execution exception[[IllegalArgumentException: Invalid UUID string: blah]]
at play.api.Application$class.handleError(Application.scala:296) ~[play_2.11-2.3.7.jar:2.3.7]
at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.7.jar:2.3.7]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [play_2.11-2.3.7.jar:2.3.7]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [play_2.11-2.3.7.jar:2.3.7]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36) [scala-library-2.11.6.jar:na]
Caused by: java.lang.IllegalArgumentException: Invalid UUID string: blah
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_31]
{"status":200,"success":true,"data":[{"id":"922c23b2-1cf4-4596-8507-c6d90a0a6e18","name":"10,000 Steps a Day","description":"Desc","organizationId":"888a36ff-6cbd-472a-895c-41c5deb60304","adminId":"888a36ff-6cbd-472a-895c-41c5deb60303","status":"inactive","logo":null,"challenges":{"status":200,"success":true,"data":[{"id":"3db04757-d8dd-48f4-a9a9-475deb9fbb86","version":"94234f57-9f12-4fcd-acc4-096fbe30c32e","description":"Walk 5k steps in a day.","end":"2014-10-12T03:59:59.999Z","goal":50000,"name":"Steps Challenge","pushDateTime":"2014-09-28T12:00:00.000Z","pushMessage":"Pepsi Co's Steps Challenge starts now!","reward":{"name":"$100 HSA Credit","terms":"","type":""},"segments":{"segment":"914c9cec-4e29-43c6-81ee-78bd1d93ac28"},"start":"2014-09-28T04:00:00.000Z","status":"active","unit":"steps","terms":"","type":"Steps Challenge","organizationId":"888a36ff-6cbd-472a-895c-41c5deb60304","creatorId":"cce84d52-fef8-48ec-bd50-4f1c46701314","participantCount":2,"created":"2014-09-29T19:28:23.962-04:00","joined":tr
curl 'http://api001:9000/v1/orgs/888a36ff-6cbd-472a-895c-41c5deb60304/assets?maxwidth=300&maxheight=300' -H 'Pragma: no-cache' -H 'Origin: null' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'X-Token: 60c3f11f-9cd3-4511-b8e4-6f56d71fe604' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36' -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryHOH2EKZPLmerZlKk' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' --data-binary $'------WebKitFormBoundaryHOH2EKZPLmerZlKk\r\nContent-Disposition: form-data; name="content"; filename="DSC06087.jpg"\r\nContent-Type: image/jpeg\r\n\r\n\r\n------WebKitFormBoundaryHOH2EKZPLmerZlKk--\r\n' --compressed