I hereby claim:
- I am ianlintner on github.
- I am ianlintner (https://keybase.io/ianlintner) on keybase.
- I have a public key ASBhNZOvKwfTr8DdwonZd7iTrhwgn8w4mYCQctB5qe2IOwo
To claim this, I am signing this object:
{"effectPackage": { | |
"id": "globaly-unique-id-01", | |
"name": "Distortion", | |
"effects": [ | |
{"Type": "Distorion", "Value": "Metal", "Gain" : "10"}, | |
{"Type": "Chorus", "Value": "2"} | |
] | |
} | |
} |
#!/bin/bash | |
echo "Generating an SSL private key to sign your certificate..." | |
openssl genrsa -aes256 -out myssl.key 1024 | |
echo "Generating a Certificate Signing Request..." | |
openssl req -new -key myssl.key -out myssl.csr | |
echo "Removing passphrase from key (for nginx)..." | |
cp myssl.key myssl.key.org | |
openssl rsa -in myssl.key.org -out myssl.key |
I hereby claim:
To claim this, I am signing this object:
import cats.data.EitherT | |
import cats.effect.{Async} | |
import cats.implicits._ | |
import kittys.{AsyncService} | |
val someAsyncService = AsyncService() | |
val key = "imma-key-1234" | |
case class SomeCaseClass(failure: String) |
How to add Google Cloud Logging for Kubernetes to a Scala ZIO2 Application
This is based on the google logback appender docs: https://cloud.google.com/logging/docs/setup/java
TOKEN=$(gcloud auth application-default print-access-token) | |
curl -H "Authorization: Bearer $TOKEN" \ | |
-H "Content-Type: application/json; charset=utf-8" \ | |
-X GET \ | |
https://sqladmin.googleapis.com/sql/v1beta4/projects/example-project-1/instances/source-db/backupRuns | |
curl -H "Authorization: Bearer $TOKEN" \ | |
-H "Content-Type: application/json; charset=utf-8" \ | |
-X POST \ |
# Run locally to start | |
kubectl apply -f adhoc.yaml |
import java.util.Locale | |
/** Exposing privates from MonadicJValue | |
* https://github.com/json4s/json4s/blob/3daa876d2fdbc117f80cb1dfd65e7112eb109948/ast/shared/src/main/scala/org/json4s/MonadicJValue.scala#L411 | |
*/ | |
object CaseTransformer { | |
def camelize(word: String): String = { | |
if (word.nonEmpty) { |