{% if attachments -%} PDF: {%- for attachment in attachments | filterby("title", "endswith", ".pdf")%}
- "[[{{ attachment.title }}]]" {%- endfor %} {%- endif %} {% if accessDate -%} accessDate: {{ accessDate | format('YYYY-MM-DD') }} {%- endif %}
{% if attachments -%} PDF: {%- for attachment in attachments | filterby("title", "endswith", ".pdf")%}
| ## ------------------------------------------------------------------------------------------------ | |
| # Schema published automatically on the website. This allows TOML language | |
| # servers to autocomplete and show documentation for the entries below. | |
| # | |
| # I use the prerelease version as my builds on my machines are often from trunk. | |
| "$schema" = "https://jj-vcs.github.io/jj/prerelease/config-schema.json" | |
| ## ------------------------------------------------------------------------------------------------ | |
| ## ---- Basic settings |
| # Simple httpbin deployment | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| labels: | |
| app: httpbin-auth | |
| app.kubernetes.io/instance: httpbin-auth | |
| name: httpbin-auth | |
| spec: |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| format = """ | |
| $username\ | |
| $hostname\ | |
| $localip\ | |
| $shlvl\ | |
| $singularity\ | |
| $kubernetes\ |
| # Based on https://stackoverflow.com/a/20855353/5555799 | |
| # Store this file in ~/.bashrc.profiler and add this alias to your .bashrc: | |
| # alias profilebashstartup='exec bash --rcfile ~/.bashrc.profiler' | |
| TRACEFILE=$(mktemp /tmp/trace.XXX) | |
| TIMINGFILE=$(mktemp /tmp/timing.XXX) | |
| STARTTIME=$(date +%s.%N) | |
| exec 3>&2 2> >( tee $TRACEFILE | sed -u 's/^.*$/now/' | date -f - +%s.%N >$TIMINGFILE) | |
| set -x |
| package com.guizmaii.utils | |
| import java.nio.charset.{Charset, StandardCharsets} | |
| import java.security.{Key, SecureRandom} | |
| import cats.effect.Sync | |
| import doobie.{Put, Read} | |
| import eu.timepit.refined.types.all.NonEmptyString | |
| import io.estatico.newtype.macros.newtype | |
| import javax.crypto.{Cipher, SecretKey, SecretKeyFactory} |
| #!/bin/bash | |
| # this forces Arena into full screen mode on startup, set back to 3 to reset | |
| # note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
| # and you will need to run these commands again | |
| defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
| defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
| # you can also replace the long complicated integer bit with any other scaled 16:9 | |
| # resolution your system supports. |
We should use a type parameter with a context bound (e.g. F[_]: Sync) in library code so users can choose their IO monad, but we should use a concrete IO monad in application code.
If you're writing a library that makes use of effects, it makes sense to use the cats-effect type classes so users can choose their IO monad (IO, ZIO, Monix Task, etc).
So instead of
MLflow has an internally pluggable architecture to enable using different backends for both the tracking store and the artifact store. This makes it easy to add new backends in the mlflow package, but does not allow for other packages to provide new handlers for new backends.
This would be useful for several reasons: