Skip to content

Instantly share code, notes, and snippets.

🦉
owl be coding

Maddison Hellstrom b0o

Block or report user

Report or block b0o

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@b0o
b0o / cvim.vim
Last active Jun 23, 2017
Maddy's cVim Configuration
View cvim.vim
" cVim configuration
" See https://github.com/1995eaton/chromium-vim for more info
" Booleans Settings
set smoothscroll
set noautofocus
set autohidecursor
set autoupdategist
set scalehints
@b0o
b0o / update
Last active Jul 11, 2018
Arch Linux update script which checks for Arch news, then updates the system via Yay or Pacman, plus support for updating user-space utilities such as NPM, Yarn, RubyGems, Cargo, and more.
View update
#!/bin/bash
#
# Copyright (c) 2018 Maddison Hellstrom (github.com/b0o)
# Released under the MIT License
#
# Arch Linux update script which checks for Arch news, then updates the system
# via Yay or Pacman, with seamless support for updating user-space utilities
# such as NPM, Yarn, RubyGems, Cargo, and more. Plus it has pretty colors :)
#
# Screencast:
@b0o
b0o / surfingkeys.js
Last active Mar 21, 2019
Maddy's SurfingKeys Configuration
View surfingkeys.js
// OUTDATED
// See the current version here:
// github.com/b0o/surfingkeys-conf
// Unmap undesired defaults
var unmaps = [ "sb" , "sw", "ob"
, "ow" , "cp", ";cp"
, ";ap", "spa", "spb"
, "spd", "sps", "spc"
, "spi", "sfr", "zQ"
View initbars.sh
#!/bin/sh
basedir=$(dirname $0)
cacheused=0
globalrefresh=0
getxrandr () {
cachepath="$XDG_RUNTIME_DIR/xmonad/xrandr.cache"
refresh=$globalrefresh
while getopts "r" opt; do
case $opt in
View init.vim
inoremap <C-d> <C-o>dd
inoremap <C-S-d> <C-o>D
View das-keyboard.sh
xkbconf="$(dirname $0)/das-keyboard.xkb"
echo $xkbconf
remote_id=$(
xinput list |
sed -n 's/.*Metadot.*id=\([0-9]*\).*keyboard.*/\1/p'
)
[ "$remote_id" ] || exit
View das-keyboard.xkb
xkb_keymap {
xkb_keycodes "evdev+aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;
@b0o
b0o / yubikey-nano.xkb
Last active Dec 21, 2017
Yubikey XKB keymaps
View yubikey-nano.xkb
xkb_keymap {
xkb_keycodes "evdev_aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;
View keybase.md

Keybase proof

I hereby claim:

  • I am b0o on github.
  • I am b0o (https://keybase.io/b0o) on keybase.
  • I have a public key whose fingerprint is 1C07 780A BAE3 05EE 05ED 4D39 CDB2 888C 2BA2 6FBB

To claim this, I am signing this object:

View gist:761d04ec64c4f21e89a3cb85bc827ca5
Building xmonad.hs...
lib/Conf/Bindings/Keys/Windows.hs:49:81: error:
• Couldn't match type ‘GHC.Word.Word64’
with ‘StackSet.StackSet [Char] l0 a0 s0 sd0’
Expected type: XMonad.Window -> XMonad.X ()
Actual type: StackSet.StackSet [Char] l0 a0 s0 sd0 -> XMonad.X ()
• In the second argument of ‘($)’, namely
‘Operations.windows . StackSet.shift "NSP"’
In the second argument of ‘($)’, namely
You can’t perform that action at this time.