I hereby claim:
- I am thiloplanz on github.
- I am thilosophy (https://keybase.io/thilosophy) on keybase.
- I have a public key ASBhKvkq5ex7eDCaYBFEZV0t5bWAju_XF6CRfo80GOfRPQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import com.fasterxml.jackson.databind.ObjectMapper | |
import com.fasterxml.jackson.module.scala.DefaultScalaModule | |
import com.fasterxml.jackson.module.scala.experimental.ScalaObjectMapper | |
import spray.http.{ContentTypes, HttpCharsets, HttpEntity, MediaTypes} | |
import spray.httpx.marshalling.Marshaller | |
import spray.httpx.unmarshalling.Unmarshaller | |
/** | |
* Use Jackson directly to avoid json4s's dependencies | |
*/ |
# | |
# This Dockerfile builds a container image with the WSO2 Identity Server configured for use on AWS. | |
# | |
# It requires you to provide an RDS (using MySQL 5.5) and Amazon Directory Service. | |
# The URL and credentials are passed in using environment variables (which you can give to the run | |
# command or just add to the end of this file) | |
# | |
# You only need to copy/download this Dockerfile. The other files are automatically downloaded | |
# from this gist during the build. | |
# |
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, | |
and distribution as defined by Sections 1 through 9 of this document. |
// Copyright (c) 2015/2016, Thilo Planz. | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the Apache License, Version 2.0 | |
// as published by the Apache Software Foundation (the "License"). | |
// | |
// Unless required by applicable law or agreed to in writing, | |
// software distributed under the License is distributed on an | |
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
// KIND, either express or implied. See the License for the |
// Copyright (c) 2015/2016, Thilo Planz. | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the Apache License, Version 2.0 | |
// as published by the Apache Software Foundation (the "License"). | |
// | |
// Unless required by applicable law or agreed to in writing, | |
// software distributed under the License is distributed on an | |
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
// KIND, either express or implied. See the License for the |
The idea is to provide a database as a service to end users in such a way that no one except the user herself can access the data, not even the hosting provider or the database administrator.
// Written in 2015 by Thilo Planz | |
// To the extent possible under law, I have dedicated all copyright and related and neighboring rights | |
// to this software to the public domain worldwide. This software is distributed without any warranty. | |
// http://creativecommons.org/publicdomain/zero/1.0/ | |
package sql2oarrays; | |
import java.io.InputStream; | |
import java.sql.Array; | |
import java.sql.Connection; |
/* | |
* TypeScript port by Thilo Planz | |
* | |
* https://gist.github.com/thiloplanz/6abf04f957197e9e3912 | |
*/ | |
/* | |
I've wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace | |
so it's better encapsulated. Now you can have multiple random number generators | |
and they won't stomp all over eachother's state. |
// Copyright 2015 Thilo Planz | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |