- yubikey 5C NFC
- macOS Monterey 12.2.1
For in depth details on how to set up a Yubikey for SSH on a mac, check out the following:
For in depth details on how to set up a Yubikey for SSH on a mac, check out the following:
query GetRepositories { | |
repositoryOwner(login: "kellydavid") { | |
login | |
repositories(first: 10, after:"Y3Vyc29yOnYyOpILzg4z6pg=", orderBy: {field: STARGAZERS, direction: DESC}) { | |
totalCount | |
totalDiskUsage | |
edges { | |
cursor | |
node { | |
id |
package com.dvdkly.fpinscala | |
import scala.annotation.tailrec | |
object Chapter04 { | |
/** | |
* Exercise 4.2 | |
*/ | |
object option { |
import zio._ | |
import zio.console._ | |
object ZioProvideDemo extends App { | |
trait HelloService { | |
val helloService: HelloService.Service | |
} | |
object HelloService { |
import eu.timepit.refined.api.Refined | |
import eu.timepit.refined.string.{Url, Uuid} | |
import eu.timepit.refined.auto._ | |
case class MyId(value: String Refined Uuid) | |
val invalidUrl: String Refined Url = "htp://example.com" | |
val validUuid: String Refined Uuid = "61f33e31-5ef6-4aac-b7e2-c8374c19c366" | |
val validProductId = MyId(validUuid) |
import zio._ | |
object PrintBytes extends App { | |
import zio.stream._ | |
import zio.console._ | |
import zio.duration._ | |
val fileName = "src/main/resources/world-cities_csv.csv" | |
def fileStream: StreamChunk[IOException, Byte] = |
import zio._ | |
import zio.clock._ | |
//def foo(number: Int): IO[Int, String] = | |
// for { | |
// _ <- UIO(println(s"foo=$number")) | |
// res <- number match { | |
// case 5 => ZIO.succeed("five") | |
// case 2 => ZIO.succeed("two") | |
// case _ => ZIO.fail(number - 1) |
package ziowork | |
import zio._ | |
import zio.clock.Clock | |
import zio.clock._ | |
import zio.duration._ | |
import zio.random.Random | |
object MyApp extends scala.App { |
import akka.NotUsed | |
import akka.actor.ActorSystem | |
import akka.stream.alpakka.kinesis.ShardSettings | |
import akka.stream.alpakka.kinesis.scaladsl.KinesisSource | |
import akka.stream.scaladsl.{Keep, Sink, Source} | |
import akka.stream.{ActorMaterializer, Materializer} | |
import com.amazonaws.regions.{Region, Regions} | |
import com.amazonaws.services.kinesis.model.{Record, ShardIteratorType} | |
import com.amazonaws.services.kinesis.{AmazonKinesisAsyncClientBuilder, AmazonKinesisClient} | |
import org.scalatest.FunSuite |
var AWS = require('aws-sdk'); | |
var ssm = new AWS.SSM(); | |
exports.handler = function(event, context) { | |
// TODO implement | |
console.log('What is the secret??'); | |
console.log(process.env.secret1); | |
getParameterFromSystemManager(function(){ | |
console.log('done'); |