Skip to content

Instantly share code, notes, and snippets.

View schmitch's full-sized avatar

Schmitt Christian schmitch

View GitHub Profile
@schmitch
schmitch / How to TPM on Linux.md
Created March 15, 2025 14:30 — forked from kmille/How to use a TPM on Linux.md
How to use a TPM on Linux

How to use a TPM on Linux

Prerequisites

  • I use it on Arch Linux
  • Install dependency: yay tpm2-tools

Do I have a TPM 2.0?

kmille@linbox:~ journalctl --boot --dmesg --grep=tpm_tis
@schmitch
schmitch / README.md
Created August 9, 2021 07:44 — forked from paulgregg/README.md
Converting a gitlab export to simple git repo

Converting a gitlab export to simple git repo

Gitlab exports a tar.gz file which contains a file called project.bundle. We can convert this file into a normal git repo using the following steps:

Extract the project.bundle file

$ tar xvfz GitLabExport.gz
@schmitch
schmitch / Angular2.scala
Created July 25, 2017 12:34 — forked from jroper/Angular2.scala
Play Angular 2 integration
import play.sbt.PlayRunHook
import sbt._
import java.net.InetSocketAddress
object Angular2 {
def apply(log: Logger, base: File, target: File): PlayRunHook = {
object Angular2Process extends PlayRunHook {
private var watchProcess: Option[Process] = None