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
//> using scala 3.4.2 | |
//> using platform native | |
//> using packaging.output in | |
//> using nativeMode release-full | |
//> using nativeLto full | |
//> using nativeGc none | |
import scala.concurrent.duration.* | |
@main def main(durationString: String, text: String, others: String*): Unit = |
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
//> using scala 3.4.1 | |
//> using platform js | |
//> using packaging.output main.js | |
//> using jsMode dev | |
//> using dep com.armanbilge::calico::0.2.2 | |
import calico.IOWebApp | |
import calico.html.io.{*, given} | |
import cats.effect.* | |
import cats.syntax.all.* |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<false/> | |
<key>Label</key> | |
<string>Save dotfiles at every change</string> | |
<key>ProgramArguments</key> | |
<array> |
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
//> using scala 3.3.1 | |
//> using dep com.github.librepdf:openpdf:1.3.33 | |
//> using dep co.fs2::fs2-io::3.9.3 | |
import cats.effect.* | |
import com.lowagie.text.* | |
import com.lowagie.text.pdf.PdfWriter | |
import com.lowagie.text.pdf.PdfPageEventHelper | |
import fs2.io.file.Files | |
import fs2.io.file.Path |
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
//> using scala 3.4.0 | |
//> using dep com.norbitltd::spoiwo::2.2.1 | |
//> using dep org.typelevel::cats-core::2.10.0 | |
//> using dep com.softwaremill.magnolia1_3::magnolia::1.3.4 | |
import spoiwo.model.* | |
import spoiwo.natures.xlsx.Model2XlsxConversions.XlsxSheet | |
import cats.kernel.Monoid | |
import cats.syntax.all.* | |
import scala.compiletime.* |
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
//> using dep co.fs2::fs2-io::3.9.3 | |
import fs2.* | |
import fs2.io.process.* | |
import cats.effect.* | |
import cats.syntax.all.* | |
import sun.misc.* | |
import cats.effect.std.Dispatcher | |
object Foo extends IOApp.Simple: |
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
//> using scala "3.2.1" | |
//> using lib "com.monovore::decline-effect::2.4.1" | |
//> using lib "co.fs2::fs2-io::3.4.0" | |
//> using packaging.output "mkString" | |
//> using platform "scala-native" | |
//> using nativeMode "release-fast" | |
//> using nativeGc "none" | |
import cats.effect.* | |
import cats.effect.std.* |
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
//> using scala "2.13.10" | |
//> using lib "io.spray::spray-json::1.3.6" | |
import spray.json._ | |
// il tuo wrapper di cose nullabili | |
sealed trait PatchValue[+T] | |
object PatchValue { | |
object ToDelete extends PatchValue[Nothing] | |
case class Value[T](t: T) extends PatchValue[T] |