Skip to content

Instantly share code, notes, and snippets.

View ErebusBat's full-sized avatar

Andrew Burns ErebusBat

  • Traction Guest
  • Casper, WY
View GitHub Profile
@ErebusBat
ErebusBat / monaspace_argon.css
Last active November 10, 2023 17:40
Blink.sh - Monaspace
@font-face {
font-family: "Monaspace Argon";
font-style: normal;
font-weight: normal;
src: local('Monaspace Argon Regular');
}
@ErebusBat
ErebusBat / wezterm.lua
Last active March 20, 2024 19:21
WezTerm - Monaspace /w Ligatures and Comments
return {
font = wezterm.font({
-- family='Monaspace Neon',
family='Monaspace Argon',
-- family='Monaspace Xenon',
-- family='Monaspace Radon',
-- family='Monaspace Krypton',
weight='Regular',
harfbuzz_features={ 'calt', 'liga', 'dlig', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08' },
}),
@ErebusBat
ErebusBat / comic_code.css
Last active May 5, 2022 23:51
Blink.sh - Comic Code Ligatures
@font-face {
font-family: "Comic Code";
font-style: normal;
font-weight: normal;
src: local('Comic Code');
}
@ErebusBat
ErebusBat / zwcfg.xml
Created January 16, 2018 13:24
Hass.io OZW Node Configuration for Leviton Decora DZ6HD Dimmer
<Node id="23" name="Front Room" location="" basic="4" generic="17" specific="1" roletype="5" devicetype="1536" nodetype="0" type="Multilevel Power Switch" listening="true" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
<Manufacturer id="1d" name="Leviton">
<Product type="3201" id="0001" name="DZ6HD: type=3201, id=0001" />
</Manufacturer>
<CommandClasses>
<CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1" request_flags="4" innif="true" mapping="38">
<Instance index="1" />
</CommandClass>
<CommandClass id="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="4" innif="true">
@ErebusBat
ErebusBat / README.md
Last active November 12, 2015 14:56
Shell script to remove remote branches that have been merged upstream

Git Remove Merged Branches

Use this shell function to remove local git branches that have been merged in your origin repo (say from a GH PR).

Example

$ git_rm_merged_branches
The following branches have been merged and can be removed:
  circleci-tests
  curated-comments
#!/usr/bin/env ruby
def method2
1/0
end
def method1(bare)
begin
method2
rescue Exception => e
@ErebusBat
ErebusBat / tmlogin
Last active December 28, 2021 11:33
tmux login shell script.
#!/bin/bash
# See http://www.erebusbat.com/2015/08/tmux-login-wrapper-script/
# Inspired by https://github.com/nicknisi/dotfiles
# abort if we're already inside a TMUX session
[ "$TMUX" == "" ] || exit 0
export SHELL=/usr/local/bin/zsh
export TERM=xterm-256color
export PATH=/usr/local/bin:$PATH
export COLUMNS=1
@ErebusBat
ErebusBat / README.md
Last active August 25, 2015 22:23 — forked from blackjid/README.md
How configure your raspberry pi with dashing to have a awesome dashboard

Raspberry pi dashboard

This is what we did to setup a few dashboards at platanus

You'll need

  • Raspberry Pi
  • Dashing Service
  • Wifi stick (optional)
@ErebusBat
ErebusBat / output.txt
Created August 14, 2015 18:59
SaltStack ssh_auth_sources - TypeError: coercing to Unicode: need string or buffer, bool found
minion2:
----------
file_|-users_/etc/sudoers.d/whfit_|-/etc/sudoers.d/whfit_|-absent:
----------
__run_num__:
7
changes:
----------
comment:
File /etc/sudoers.d/whfit is not present
@ErebusBat
ErebusBat / ytcurl
Created March 19, 2015 15:52
ytcurl - youtuble-dl wrapper script
#!/usr/bin/env zsh
set -e
# set -x # trace
################################################################################
# ytcurl - youtuble-dl wrapper script
#
# This is a simple wrapper script that I throw in my path to aid in downloading
# stuff from youtube on the fly. I threw it together very quick one day so it
# will probably not be exactly what you need, but it is here for reference
################################################################################