Skip to content

Instantly share code, notes, and snippets.

View drpjk's full-sized avatar

Peter King drpjk

View GitHub Profile
@drpjk
drpjk / dell-perc-h310-how-to-flash.sh
Created December 26, 2023 22:56 — forked from dreamcat4/dell-perc-h310-how-to-flash.sh
how to flash LSI SAS 2008 hba dell perc h310 to lsi 8112-8i firmware p19 or p20
# ======
# how to flash LSI SAS 2008 hba dell perc h310 raid jbod card
# for uefi motherboards, must boot uefi and use sas2flash.efi
# select uefi in the moot menu --> launches boof.efi. then:
# official UEFI oprom downloads are now only available from the product page of lsi 8210-8i card
# however we found an un official mirror / off site backup of previous files
# https://www.broadcom.com/products/storage/host-bus-adapters/sas-9210-8i#downloads
@drpjk
drpjk / tmux-functions.sh
Created December 31, 2022 03:51 — forked from 58bits/tmux-functions.sh
tmux-functions.sh
#!/bin/bash
set -e
export LC_NUMERIC=C
__newline='
'
_is_enabled() {
( ([ x"$1" = x"enabled" ] || [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"1" ]) && return 0 ) || return 1
@drpjk
drpjk / .tmux.conf
Created December 31, 2022 03:46 — forked from tt-rasm/.tmux.conf
# cat << EOF > /dev/null
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# /!\ do not edit this file
# instead, override settings in ~/.tmux.conf.local, see README.md
# -- general -------------------------------------------------------------------
@drpjk
drpjk / tmux-cheatsheet.markdown
Created December 31, 2022 03:42 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname