Skip to content

Instantly share code, notes, and snippets.

View ahmadalbakri's full-sized avatar

Ahmad Albakri Zabri ahmadalbakri

View GitHub Profile
@geerlingguy
geerlingguy / pi-cpu-stress.sh
Last active July 22, 2024 03:29
Raspberry Pi CPU temperature and throttling test script
#!/bin/bash
# Raspberry Pi stress CPU temperature measurement script.
#
# Download this script (e.g. with wget) and give it execute permissions (chmod +x).
# Then run it with ./pi-cpu-stress.sh
#
# NOTE: In recent years, I've switched to using s-tui. See:
# https://github.com/amanusk/s-tui?tab=readme-ov-file#options
# Variables.
@ahmadalbakri
ahmadalbakri / gist:4528750
Last active December 11, 2015 02:09
CSS : Clearfix
.clearfix: after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}.clearfix {
display: inline - block;
} /* Hides from IE-mac \*/
* html.clearfix {