Skip to content

Instantly share code, notes, and snippets.

View cliffom's full-sized avatar

Michael Clifford cliffom

View GitHub Profile
@cliffom
cliffom / 2026_sff_build.md
Last active June 24, 2026 15:58
2026 SFF PC - Ryzen AM4 Build

2026 SFF PC - Ryzen AM4 Build

I've been wanting to do a small form factor build for a while. Since I already had a spare 5800X3D, RAM, and storage sitting around, it felt hard to justify not putting them to use. With hardware prices where they are today, investing in a case, PSU, and mini-ITX motherboard seemed like a much better value than letting those parts collect dust.

Components

@cliffom
cliffom / 2023_ryzen_build.md
Last active October 23, 2023 16:06
2023_ryzen_build.md
@cliffom
cliffom / egpu.md
Last active August 8, 2025 13:10
macOS + Win10/bootcamp eGPU Findings
#!/usr/bin/env ruby
require 'digest'
def getHash(data, iterations)
for i in 1..iterations-1
data = Digest::SHA256.digest data
end
Digest::SHA256.hexdigest data
end
#!/usr/bin/php
<?php
$iterations = $argv[1] ? $argv[1] : 1;
$file = "rand.txt";
$dat = file_get_contents($file);
$dat = getHash($dat, $iterations);
echo $dat . "\n";
N=1
PHP: 0.089
Ruby: 0.140
Go: 0.008
Elixir: 0.00048
N=10
PHP: 0.092
Ruby: 0.138
Go: 0.006