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
object MD5 { | |
private val initA: Int = 0x67452301 | |
private val initB: Int = 0xefcdab89L.toInt | |
private val initC: Int = 0x98badcfeL.toInt | |
private val initD: Int = 0x10325476 | |
private val shiftAmts: Array[Int] = | |
Array(7, 12, 17, 22, 5, 9, 14, 20, 4, 11, 16, 23, 6, 10, 15, 21) | |
private val tableT: Array[Int] = Array.ofDim(64) | |
for (i <- 0 until 64) |
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
#!/usr/bin/env bash | |
export $(cat .env | xargs) | |
KINESIS_STREAM_SHARDS=${KINESIS_STREAM_SHARDS:-1} | |
export USE_SSL=true | |
awslocal kinesis create-stream --shard-count ${KINESIS_STREAM_SHARDS} \ | |
--stream-name ${KINESIS_STREAM_NAME} |