Skip to content

Instantly share code, notes, and snippets.


Arley McBlain arleym

View GitHub Profile
View gist:51d72306457e87296d5ea2057aff6436
View svg.php
<svg style="display:none">
<?php /*
This include defines several SVG images which may be called multiple times
By defining them all in this hidden SVG as an icon system we can call them
using the <use> to hopefully make everything easier to maintain.
Commented out you will find examples of the <use> with a11y considerations
and default styling classes.
arleym / model01.c
Last active Jan 5, 2018
Keyboard Firmare
View model01.c
// Arley's M01 firmware
// includes
#include "Kaleidoscope.h"
#include "Kaleidoscope-MouseKeys.h"
#include "Kaleidoscope-Macros.h"
#include "Kaleidoscope-LEDControl.h"
View Preferences.sublime-settings
"Seti_blue_label": true,
"Seti_orange_button": true,
"always_show_minimap_viewport": true,
"atomic_save": false,
arleym / gist:a4351bd2597ef48df793034ecebb93b3
Last active Nov 7, 2016
Memory verses to mp3 for reviewing verses
View gist:a4351bd2597ef48df793034ecebb93b3
say -f ~/dev/Bible\ Study/Journal/SayMemory.txt -r 700 -o ~/dev/Bible\ Study/Journal/SayMemory-700.aiff && ffmpeg -i SayMemory-700.aiff -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 SayMemory-700.mp3 && rm SayMemory-700.aiff
View snippet-color-scheme.sublime-snippet
"settings": {
// "color_scheme": "Packages/Color Scheme - Default/Dawn.tmTheme"
// "color_scheme": "Packages/Color Scheme - Default/Eiffel.tmTheme"
// "color_scheme": "Packages/Color Scheme - Default/IDLE.tmTheme"
// "color_scheme": "Packages/Color Scheme - Default/LAZY.tmTheme"
// "color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme"
// "color_scheme": "Packages/Color Scheme - Default/MagicWB (Amiga).tmTheme"
arleym / cvim config
Last active Oct 18, 2016
Configuration for cvim browser extension
View cvim config
" Docs: chrome-extension://ihlenndgcmojhcghmfjfneahoeklbjjh/pages/mappings.html
let blacklists = ["*"]
arleym / theme-test.html
Last active May 31, 2017
Theme Tester
View theme-test.html
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus obcaecati eligendi iure labore iste magnam incidunt a voluptates rerum ipsum iusto dignissimos, beatae repudiandae ducimus. Doloribus reiciendis numquam illum, placeat!
<blockquote><p>Blockquote with P. Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)</p></blockquote>
<p>…or something like this:</p>
<blockquote>Blockquote without P. The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>
<p>HR after this P.</p>
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin-bottom: 2em; } .embed-container iframe, .embed-container object, .embed-
View layouts.alfredworkflow
on alfred_script(q)
tell application "Google Chrome" to activate -- needs to be in front
tell application "System Events" to tell application process "Chrome"
repeat with x from 1 to (count windows)
get properties of window x
set position of window x to {0, 21}
set size of window x to {1280, 709}
end repeat
end try
arleym / gist:bdd3252bd016bedf9bad
Created Dec 17, 2015
Cooks - a zsh / bash config collection
View gist:bdd3252bd016bedf9bad
alias cooks="cooks1 && cooks2 && cooks3 && cooks4 && cooks5 && cooks6 && cooks7 && cooks8 && cooks9 && cooks10 && cooks11 && cooks12 && cooks13 && cooks14 && cooks15 && cooks16 && cooks17 && cooks18 && cooks19 && cooks20 && cooks21" #
alias cooks1='say -r 180 it takes a lot to make a stew.'
alias cooks2='say -r 180 -v Karen "A pinch of salt and laughter too"'
alias cooks3='say -r 180 "A scoop of kids to add the spice"'
alias cooks4='say -r 180 -v Karen "A dash of love to make it nice. and you’ve got"'
alias cooks5='say -r 180 -v "Fred" "Too many Cooks"'
alias cooks6='say -r 180 -v Karen "Too many Cooks"'
alias cooks7='say -r 180 -v "Ralph" "Too many Cooks"'
alias cooks8='say -r 180 "Too many Cooks"'
alias cooks9='say -r 180 -v "Bruce" "Too many Cooks"'