Skip to content

Instantly share code, notes, and snippets.

@buhman
buhman / howto.md
Last active May 21, 2019
Warcraft 3 Classic Linux Howto
View howto.md
View gist:3a10d63a7e32608f7137
[626279.540555] XFS: Internal error XFS_WANT_CORRUPTED_GOTO at line 988 of file /build/buildd/linux-3.2.0/fs/xfs/xfs_ialloc.c. Caller 0xffffffffa01a8cc1
[626279.540558]
[626279.540675] Pid: 43087, comm: rsync Not tainted 3.2.0-75-generic #110-Ubuntu
[626279.540678] Call Trace:
[626279.540709] [<ffffffffa01666bf>] xfs_error_report+0x3f/0x50 [xfs]
[626279.540732] [<ffffffffa01a8cc1>] ? xfs_ialloc+0x61/0x650 [xfs]
[626279.540752] [<ffffffffa01a7777>] xfs_dialloc+0x867/0x910 [xfs]
[626279.540772] [<ffffffffa01a8cc1>] xfs_ialloc+0x61/0x650 [xfs]
[626279.540790] [<ffffffffa017a837>] ? kmem_zone_alloc+0x67/0xe0 [xfs]
[626279.540812] [<ffffffffa01b9328>] ? xlog_grant_log_space+0x168/0x1c0 [xfs]
@buhman
buhman / wpa_cli
Last active May 10, 2021
wpa_cli example; it might be worth mention that you can tab-complete all wpa_supplicant commands
View wpa_cli
[zack@leto ~]$ sudo tee << EOF /etc/wpa_supplicant.conf > /dev/null
ctrl_interface=/run/wpa_supplicant
EOF
[zack@leto ~]$ sudo wpa_supplicant -iwlp1s0 -Dnl80211 -c/etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
[zack@leto ~]$ sudo wpa_cli
wpa_cli v2.0
Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
View etcsystemdsystemnetwork.service.txt
[Unit]
Description=Wireless Static IP Connectivity
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-eth0.device
After=sys-subsystem-net-devices-eth0.device
[Service]
Type=oneshot
RemainAfterExit=yes
@buhman
buhman / uefisetup.sh
Last active Oct 13, 2015 — forked from Apsu/uefisetup.sh
Arch Linux UEFI Setup
View uefisetup.sh
# Gist is stupid and doesn't seem to allow manual selection of syntax highlighting; .sh extension is used for increased readability.
# This is only a guide to show the required steps for successful UEFI + GRUB2 installation
# Many of the choices are examples or assumptions; don't blindly type shit into your machine
# until/unless you at least read the comments around each command
#
# These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions:
# https://wiki.archlinux.org/index.php/UEFI#Archiso
#
# If you're using an actual CD burned from the official Arch ISO, just make sure you've booted it in UEFI mode