Skip to content

Instantly share code, notes, and snippets.


Arley McBlain arleym

View GitHub Profile
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
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"
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 Preferences.sublime-settings
"Seti_blue_label": true,
"Seti_orange_button": true,
"always_show_minimap_viewport": true,
"atomic_save": false,
View Default (OSX).sublime-keymap
// ASCII comment
{ "keys": ["super+alt+ctrl+k"], "command": "figlet_default" },
// Jump around in CSS
{"keys": ["alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}},
{"keys": ["alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true}},
{"keys": ["shift+alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}},
{"keys": ["shift+alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true}},
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 = ["*"]
You can’t perform that action at this time.