[<img src="https://daffodil.apache.org/assets/themes/apache/img/apache-daffodil-logo.svg" height="85" align="left" alt="Apache Daffodil"/>][Website]
[<img src="https://img.shields.io/github/workflow/status/apache/daffodil/Daffodil%20CI/master.svg" align="right"/>][GitHub Actions]
<br clear="right" />
[<img src="https://img.shields.io/codecov/c/github/apache/daffodil/master.svg" align="right"/>][CodeCov]
<br clear="right" />
[<img src="https://img.shields.io/maven-central/v/org.apache.daffodil/daffodil-core_2.12.svg?color=brightgreen&label=version" align="right"/>][Releases]
<br clear="both" />
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
// ignore this, boilerplate for later | |
import Instances._ | |
import scala.concurrent.Future | |
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
import { writeFileSync, mkdirSync } from "fs"; | |
import * as x509 from "@peculiar/x509"; | |
import { Crypto } from "@peculiar/webcrypto"; | |
import { execSync, spawnSync } from "child_process"; | |
// We're okay with setting a global config for a simple script | |
const crypto = new Crypto(); | |
x509.cryptoProvider.set(crypto); | |
const algorithm = { |
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
use std::{collections::HashMap}; | |
fn main() { | |
println!("Hello, world!"); | |
let words = ["hello", "my", "world"]; | |
let mut env = new_env(); | |
env.insert_value("my", "MY".to_string()); |
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
import java.security.{KeyFactory, Security} | |
import java.util.Base64 | |
import net.i2p.crypto.eddsa.EdDSASecurityProvider | |
import net.i2p.crypto.eddsa.spec.{EdDSANamedCurveTable, EdDSAPrivateKeySpec, EdDSAPublicKeySpec} | |
import net.i2p.crypto.eddsa.EdDSAEngine | |
import java.security.MessageDigest | |
import java.nio.charset.StandardCharsets | |
val pubKeyEdDSA = "e1ylCW17UIGCOrKH9zI6cceZxNe93sPsKpM0sm72bEQ=" |
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 test { | |
trait Entity { | |
type Id | |
type Attribute <: EntityAttribute | |
def attributes: NonEmptyList[Attribute] | |
} | |
trait EntityCompanion { |
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
# Custom theme inspired by agnoster and norm | |
local fm_lambda_status="%(?:%{$fg[green]%}λ:%{$fg[red]%}λ)" | |
local fm_bg_status="%(1j.%{$FG[068]%}[%j] .)" # %(x.true.false) | |
local fm_dir_status="%{$fg[green]%}%~" | |
local fm_end_status="%{$fg[yellow]%}$ %{$reset_color%}" | |
PROMPT='${fm_bg_status}${fm_lambda_status} ${fm_dir_status} $(git_prompt_info)${fm_end_status}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}$ %{$fg[blue]%}" |
I hereby claim:
- I am fmonniot on github.
- I am fmonniot (https://keybase.io/fmonniot) on keybase.
- I have a public key ASB7QCqaDi9y8PPLttohHudiDMQ3Ys7Y-Vv5vnw2XzYCYQo
To claim this, I am signing this object:
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 TestCats { | |
import cats._ | |
import cats.data._ | |
import cats.instances.future._ | |
import cats.syntax.either._ | |
import cats.syntax.cartesian._ | |
import cats.instances.list._ | |
import cats.syntax.traverse._ |