Skip to content

Instantly share code, notes, and snippets.

View arleym's full-sized avatar

Arley McBlain arleym

View GitHub Profile
@arleym
arleym / gist:bdd3252bd016bedf9bad
Created December 17, 2015 16:32
Cooks - a zsh / bash config collection
alias cooks="cooks1 && cooks2 && cooks3 && cooks4 && cooks5 && cooks6 && cooks7 && cooks8 && cooks9 && cooks10 && cooks11 && cooks12 && cooks13 && cooks14 && cooks15 && cooks16 && cooks17 && cooks18 && cooks19 && cooks20 && cooks21" # http://www.vulture.com/2014/11/too-many-cooks-lyrics.html
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"'
@arleym
arleym / layouts.applescript
Created September 25, 2015 19:52
Alfred Window Layout for Dev
on alfred_script(q)
tell application "Google Chrome" to activate -- needs to be in front
tell application "System Events" to tell application process "Chrome"
try
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 {1080, 1419}
end repeat
end try
@arleym
arleym / private.xml
Last active January 14, 2016 21:49
A system file for Karabiner
<?xml version="1.0"?>
<root>
<!-- Tutorials: https://github.com/tekezo/Karabiner/blob/master/src/core/server/Resources/include/checkbox/samples.xml -->
<item>
<name>Hyper</name>
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt))</appendix>
<identifier>private.f192f19_escape</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
// The mixin that made experimenting nice on http://arleym.com/resume/
@mixin blipper($x) {
width: ($x * $base);
height: ($x * $base);
margin: ($x * ($base * -.5)) 0 0 ($x * ($base * -.5)); // should have used transform-origin, but I didn't know about that at the time!
z-index: (100 - $x);
}
.circles {
@arleym
arleym / Default (OSX).sublime-keymap
Last active January 23, 2017 19:55
Subl Keyshorts
[
// 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
arleym / gist:894315b9f8a7fb84a8f9
Created September 8, 2014 13:44
Example Sublime Text Snippet
<snippet>
<content><![CDATA[
<div class="js-accordian accordian is-active">
<h6 class="accordian__title">Title</h6>
<div class="accordian__content">
</div>
</div><!-- accordion -->
]]></content>
<tabTrigger>accordion</tabTrigger>
@arleym
arleym / ST2 Keymap
Created June 10, 2014 19:43
ST2 Keymap
[
{ "keys": ["ctrl+alt+l"], "command": "csslint" },
{ "keys": ["super+alt+ctrl+k"], "command": "figlet_default" }
]
@arleym
arleym / .bashrc
Created June 10, 2014 19:37
Bashrc
# Colors! http://misc.flogisoft.com/bash/tip_colors_and_formatting
txtblk='\[\033[0;30m\]' # Black - Regular
txtgry='\[\033[1;30m\]' # Dark Grey
txtmgry='\[\033[38;5;238m\]' # Mid Grey
txtred='\[\033[0;31m\]' # Red
txtgrn='\[\033[0;32m\]' # Green
txtylw='\[\033[0;33m\]' # Yellow
txtblu='\[\033[0;34m\]' # Blue
txtliteblue='\e[94m\]' # Light blue
txtpur='\[\033[0;35m\]' # Purple
@arleym
arleym / ST2 Installed Packages
Last active August 29, 2015 14:00
ST2 Installed Packages
{
"installed_packages":
[
"Alignment",
"ASCII Decorator",
"BracketHighlighter",
"Coffee Formatter",
"CoffeeScript",
"CSSLint",
"Emmet",
@arleym
arleym / ST2 Prefs
Last active August 29, 2015 14:00
{
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 4,
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,