Skip to content

Instantly share code, notes, and snippets.

View calebastey's full-sized avatar

Caleb Astey calebastey

  • San Francisco, CA
View GitHub Profile
{
"twilio": {
"collected_data": {
"collect_unique_code_or_no_letter": {
"answers": {
"unique-code": {
"confirm_attempts": 0,
"answer": "la1ab3",
"filled": true,
"confirmed": false,
{
"twilio": {
"collected_data": {
"collect_is_parent_guardian": {
"answers": {
"is_parent_guardian": {
"confirm_attempts": 0,
"answer": "Yes",
"filled": true,
"type": "Twilio.YES_NO",
10.1.31.33 - - [27/Mar/2020:21:12:33 +0000] "POST /api/v1/school_site_info/townerton-usa HTTP/1.1" 400 294 "-" "python-requests/2.23.0" 102
10.1.17.183 - - [27/Mar/2020:21:12:45 +0000] "GET /healthcheck HTTP/1.1" 200 106 "-" "ELB-HealthChecker/2.0" 2
10.1.47.86 - - [27/Mar/2020:21:12:45 +0000] "GET /healthcheck HTTP/1.1" 200 106 "-" "ELB-HealthChecker/2.0" 2
10.1.11.32 - - [27/Mar/2020:21:12:46 +0000] "GET /healthcheck HTTP/1.1" 200 106 "-" "ELB-HealthChecker/2.0" 2
ERROR [2020-03-27 21:13:02,702] com.inclasstoday.service.exception.mapper.JsonProcessingExceptionMapper: A JSON processing error occurred while processing a request. The unique identifier for this error is [f65eb643-6066-42b4-9e36-a15fe9047b6d]
! com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token
! at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 1]
! at com.fasterxml.jackson.databind.exc.M
#!/usr/bin/env ruby -w
require 'cgi'
require 'io/console'
require 'json'
require 'logger'
require 'net/http'
require 'optionparser'
require 'pathname'
require 'uri'
@calebastey
calebastey / anagram
Created May 22, 2015 17:57
Anagram.java
import java.lang.Character;
import java.util.Set;
import java.util.HashSet;
public class Anagram {
public static void main(String [] args) {
System.out.println(nAnagrams("AdnBndAndBdaBn", "dAn"));
System.out.println(nAnagrams("AbrAcadAbRa", "cAda"));
}