Instantly share code, notes, and snippets.


Thinkfan Configuration Notes

This are notes for configuration thinkfan for Fedora. This configuration procedure was followed on a Lenovo Thinkpad X1 Carbon (5th Gen) running Fedora 25.

Non standard (default) configuration was required for this machine as the default sensors are not available. Eg: /proc/acpi/ibm/thermal does not exist for this model.

An annoted configuration file has been included below. However, there is no guarentee that this will work as-is on every machine.


dnf -y install thinkfan
View ConsoleMode.psm1
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class NativeConsoleMethods
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern IntPtr GetStdHandle(int handleId);

Visual Studio Code Deep Dive

David Wilson - @daviwil Software Engineer, PowerShell Team


  1. Visual Studio Code overview
  2. Configuring the editor
  3. Extensions

Keybase proof

I hereby claim:

  • I am daviwil on github.
  • I am daviwil ( on keybase.
  • I have a public key ASA0mIVzmnEvnH5J36WzAIUu24J_GQCS6WfjAD6nctAeVgo

To claim this, I am signing this object:

View 003_1_initial_code.fs
// --------- Model ---------
type Details =
{ Name: string
Description: string }
type Item =
{ Details: Details }