Skip to content

Instantly share code, notes, and snippets.

Call me to test your sound

Nathan Knowler knowler

Call me to test your sound
View GitHub Profile
knowler / .spacebarrc
Created Jun 10, 2020
my current spacebar config
View .spacebarrc
spacebar -m config text_font "Dank Mono:Regular:12.0"
spacebar -m config icon_font "Font Awesome 5 Free:Regular:10.0"
spacebar -m config background_color 0xff121212
spacebar -m config foreground_color 0xff5cafb0
spacebar -m config space_icon_strip Comms Design Code Preview Jam Misc
spacebar -m config power_icon_strip    
spacebar -m config space_icon 
spacebar -m config clock_icon 
spacebar -m config clock_format "%A, %B%e, %Y %R"
knowler / .yabairc
Created Jun 10, 2020
my current yabai config
View .yabairc
#!/usr/bin/env sh
yabai -m config external_bar all:26:0
yabai -m config mouse_follows_focus on
yabai -m config focus_follows_mouse off
yabai -m config window_topmost off
yabai -m config window_opacity on
yabai -m config window_opacity_duration 0.1
yabai -m config active_window_opacity 1.0
knowler / .skhdrc
Created Jun 10, 2020
my current skhd config
View .skhdrc
cmd - return : /Applications/
ctrl + alt + cmd - r : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"
# focus window
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
alt - l : yabai -m window --focus east
View App.js
/** @jsx jsx */
import { jsx } from 'theme-ui'
export const App = () => (
<main css={{ bg: 'mirage', color: 'white', py: [2, 4, 6], px: [2, 3, 4] }}>
letterSpacing: '0.05ch',
fontWeight: 300,
borderBottom: '1px solid',
knowler / shamrock.boilerplate.php
Last active Apr 13, 2019
A simple WordPress plugin boilerplate for single purpose plugins.
View shamrock.boilerplate.php
* Plugin Name: Shamrock
* Description: A simple WordPress plugin boilerplate.
* Version: 0.1.0
* Author: Nathan Knowler
* Author URI:
* License: MIT License
* Text Domain: shamrock
knowler /
Last active Dec 29, 2018
Roots WordPress Version Badge

Roots WordPress Version Badge



View bedrock-sage.lando.yml
name: bedrock
recipe: wordpress
- bedrock.test
- localhost:3000
php: '7.2'
via: nginx
knowler / docker-compose.sage-support.yml
Last active Dec 3, 2018
lazy af docker compose for sage support
View docker-compose.sage-support.yml
version: "3"
image: wordpress
- 8080:80
- ./:/var/www/html/wp-content/themes/sage
knowler / bedrock-classicpress-composer.json
Last active Dec 4, 2018
Bedrock lightly modified to use ClassicPress.
View bedrock-classicpress-composer.json
"name": "roots/bedrock",
"type": "project",
"license": "MIT",
"description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
"homepage": "",
"authors": [
"name": "Scott Walkinshaw",
"email": "",
knowler / bedrock.htaccess
Last active Nov 7, 2018
For if you need to install Bedrock (or any other application with a web/public folder) in the document root. Add this to your Bedrock project's root and make sure WP has generated its own .htaccess in the web folder (hit save the permalinks setting page). Not ideal. Suggestions + advice appreciated.
View bedrock.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/web/
RewriteRule (.*) web/$1 [L]
You can’t perform that action at this time.