Skip to content

Instantly share code, notes, and snippets.

@5nizza
5nizza / thinkfan.md
Last active January 31, 2024 22:45
Thinkpad x1 yoga gen 7: thinkfan configuration

Set up thinkfan on Thinkpad x1 yoga gen 7

All the steps for setting up thinkfan on thinkpad x1 yoga gen 7:

  • install sensors (likely)

  • install thinkfan

  • create config file for driver (or whatever it is):

@5nizza
5nizza / mc.sh
Last active April 28, 2024 13:52
TLSF model checker using IIMC
#!/usr/bin/bash
# This script model checks a given AIGER file wrt. TLSF specification:
# @return: 0 on success, non-zero on failure
# Convert TLSF to AIGER monitor:
# syfco --format smv -m fully example.tlsf | smvtoaig > monitor.aag
# Combine monitor with implementation:
# combine-aiger monitor.aag implementation.aag > combined.aag