Compdigitec Labs

Archive for February, 2021

Python classes, metaclasses, and instances at a glance

Tuesday, February 16th, 2021

For more details:


Monday, February 15th, 2021

git format-patch $1..HEAD -o wip && git reset –hard $1

Getting files from sources in Scala

Sunday, February 14th, 2021

// Java-based ways getClass.getResource(“/html/myfile.html”) println(Source.fromInputStream(getClass.getResourceAsStream(“/html/myfile.html”)).mkString) // Scala-native way // Note: NO LEADING SLASH println(Source.fromResource(“html/myfile.html”).getLines.toList)

Epson DS-30 on Ubuntu Linux

Saturday, February 13th, 2021 Use the attached ds-30-bundle, download from Install the deb packages with ./ –dry-run Use simple-scan to run the scan. Insert paper face down above/next tothe little scan marker and press the button