Skip to content

Instantly share code, notes, and snippets.

@metajiji
metajiji / install-megacli.md
Last active April 24, 2024 02:04 — forked from fxkraus/debian-install-megacli.md
Install LSI MegaCli

download

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

or

curl -LO https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
From 966471712184cfb3b067f2ae8dad9d8e2a896cae Mon Sep 17 00:00:00 2001
From: Bearice Ren <bearice@icybear.net>
Date: Tue, 20 Sep 2016 11:52:08 +0800
Subject: [PATCH] add filter-aaaa option
---
src/dnsmasq.h | 3 ++-
src/option.c | 3 +++
src/rfc1035.c | 9 +++++++++
3 files changed, 14 insertions(+), 1 deletion(-)

KVM OSX Guest 10.11 (El Capitan) with Clover

  • Some notes about this approach:
    • An OSX Installer USB drive for Install OS X El Capitan is created
    • Clover is then installed on the USB drive
    • Clover Configurator is then run on the USB drive
    • The USB drive contents are copied to the VM host
    • VNC is used to connect to the guest UI
  • The qxl virtual video device is used (part of the standard kvm qemu install)
@metajiji
metajiji / irq_balance_habrahabr_POSIX.sh
Last active August 29, 2015 19:20 — forked from pavel-odintsov/irq_balance_habrahabr.sh
irq_balance_habrahabr.sh
#!/bin/sh
# checkbashisms irq_balance_habrahabr_POSIX.sh
# from http://habrahabr.ru/post/108240/
ncpus=$(grep -ciw ^processor /proc/cpuinfo)
[ $ncpus -gt 1 ] || exit 1
n=0
for irq in `awk '/eth/{gsub(":","",$0);print $1}' /proc/interrupts`; do
f="/proc/irq/$irq/smp_affinity"
@metajiji
metajiji / nginx.conf
Last active August 29, 2015 14:14 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048