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.tersesystems.buffer.serde; | |
import com.fasterxml.jackson.core.JsonFactory; | |
import com.fasterxml.jackson.core.JsonGenerator; | |
import com.fasterxml.jackson.core.JsonParser; | |
import com.fasterxml.jackson.dataformat.smile.SmileFactory; | |
import com.fasterxml.jackson.dataformat.smile.SmileParser; | |
import java.io.ByteArrayOutputStream; | |
import java.util.function.Function; |
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.tersesystems.rifter.spi; | |
import com.google.flatbuffers.ArrayReadWriteBuf; | |
import com.google.flatbuffers.FlatBufferBuilder; | |
import com.google.flatbuffers.FlexBuffersBuilder; | |
import java.nio.ByteBuffer; | |
import java.util.function.Consumer; | |
import static com.tersesystems.rifter.spi.LogInstant.createLogInstant; |
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
LPT everything you need to know about medical insurance to avoid getting screwed over, based on 25 years of experience | |
By | |
U | |
reddit.com | |
5 min | |
View Original | |
I worked for a Blue Cross affiliate for nearly three decades and frequently see questions here about medical insurance. I wanted to share some helpful tips about some common roadblocks people run into. | |
Firstly, medical insurance has many, many policies in place, but you have to ask for them. |
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
module "aws_security_group" { | |
source = "terraform-aws-modules/security-group/aws" | |
version = "~> 3.0" | |
name = "bastion" | |
description = "Security group for bastion" | |
vpc_id = module.vpc.vpc_id | |
ingress_cidr_blocks = ["0.0.0.0/0"] | |
ingress_rules = ["ssh-tcp", "all-icmp"] |
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
#!/bin/bash | |
export PW=`pwgen -Bs 10 1` | |
echo "$PW" > password | |
# Create a self signed certificate & private key to create a root certificate authority. | |
keytool -genkeypair -v \ | |
-alias clientCA \ | |
-keystore client.jks \ |
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
plugins { | |
id 'java' | |
} | |
repositories { | |
jcenter() | |
} | |
dependencies { |
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
source "https://rubygems.org" | |
gem "jekyll", "~> 3.6.0" | |
# If you have any plugins, put them here! | |
group :jekyll_plugins do | |
gem "jekyll-feed", "~> 0.9.2" | |
gem 'jekyll-paginate' | |
gem 'jekyll-redirect-from' | |
gem 'jekyll-sitemap' |
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 gatekeeper | |
import java.io.{BufferedReader, BufferedWriter, InputStream, OutputStream} | |
import java.nio.charset.StandardCharsets | |
import java.nio.file.{Files, _} | |
import com.tersesystems.capabilities._ | |
import scala.util._ |
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 repository | |
import java.util.UUID | |
import cats._ | |
import cats.implicits._ | |
import scala.util._ | |
/** |
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 controllers | |
import javax.inject._ | |
import play.api.mvc._ | |
@Singleton | |
class TracerBulletController @Inject() extends Controller { | |
private val logger = org.slf4j.LoggerFactory.getLogger("application") | |
/* |