Skip to content

Instantly share code, notes, and snippets.

Converting caffeine to code

Joaquim Homrighausen joho1968

Converting caffeine to code
  • WebbPlatsen i Sverige AB
  • Sweden
View GitHub Profile
joho1968 /
Created Dec 15, 2020
Checking LSI RAID storage status in Linux
# Check LSI RAID storage status
# This will trigger on the output NOT being "Optl" (Optimal). This works for me,
# your mileage may vary. One problem in using more "verbose output" from the
# storcli64 binary is that it always (?) outputs some sort of legend with all
# the various status types explained, so it always contains the text "Degraded"
# for example. This minor script will simply search for what we want, which is
# a RAID in optimal state, and if NOT found, perform a full status scan and send
joho1968 / lightbox_bs4_jq.txt
Created May 31, 2019
Lightbox for Bootstrap 4 and jQuery
View lightbox_bs4_jq.txt
Lightbox (or "image preview") functionality for Bootstrap 4 without additional
libraries (apart from jQuery).
Written by Joaquim Homrighausen <>, 30-May-2019
Do as you wish with this :)
joho1968 / phpvalpasswd.php
Created May 30, 2019
Simple password construct validator for PHP
View phpvalpasswd.php
* Simple password construct validator for PHP
* Joaquim Homrighausen <>
* May 30, 2019
* Do whatever you want with this snippet :)
* This may not necessarily agree with the section

Keybase proof

I hereby claim:

  • I am joho1968 on github.
  • I am joho68 ( on keybase.
  • I have a public key ASBbIqG_j7yrEMW1xdCGPXBbklWYr4iaQBamRPiLilAdugo

To claim this, I am signing this object: