Skip to content

Instantly share code, notes, and snippets.

@coldie
coldie / get-filehashes.ps1
Last active September 24, 2020 13:45
Get File Hashes with Long Paths
get-childitem -recurse | %{get-filehash "\\?\$($_.FullName)"}

Keybase proof

I hereby claim:

  • I am coldie on github.
  • I am coldie (https://keybase.io/coldie) on keybase.
  • I have a public key ASBPwGrWh9rix5w6wBaa1Yg5CbQ-KV6bRVucxZ0LLUGDMwo

To claim this, I am signing this object:

@coldie
coldie / Mac Mini Server 2011 – Enable Boot After Power Failure on Linux.md
Created May 14, 2018 16:31
Mac Mini Server 2011 – Enable Boot After Power Failure on Linux

First, find the right Intel Controller (this may be different on your machine):

root@macmini:~# lspci | grep LPC
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)

Next, look up the datasheet for that controller. In this case, it's https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/6-chipset-c200-chipset-datasheet.pdf

Read it. I wanted the AFTERG3_EN bit in the "GEN_PMCON_3 - General PM Configuration 3 Register", which documented on pp.510-513.

Offset Address is A4h and Size: 16-bit.

Keybase proof

I hereby claim:

  • I am coldie on github.
  • I am coldie (https://keybase.io/coldie) on keybase.
  • I have a public key whose fingerprint is 5834 A552 AE05 5058 0309 97DC 7151 2FC1 C140 0A26

To claim this, I am signing this object:

@coldie
coldie / gist:7591270
Created November 21, 2013 22:50
Example Input Tag
<input ng-click="$event.stopPropagation();" ng-model="file.customName" />
#103CC0