Skip to content

Instantly share code, notes, and snippets.


Arley McBlain arleym

View GitHub Profile
arleym / layouts.applescript
Created Sep 25, 2015
Alfred Window Layout for Dev
View layouts.applescript
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 {1080, 1419}
end repeat
end try
arleym / private.xml
Last active Jan 14, 2016
A system file for Karabiner
View private.xml
<?xml version="1.0"?>
<!-- Tutorials: -->
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt))</appendix>
View _circle-layout.scss
// The mixin that made experimenting nice on
@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 {
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:894315b9f8a7fb84a8f9
Created Sep 8, 2014
Example Sublime Text Snippet
View gist:894315b9f8a7fb84a8f9
<div class="js-accordian accordian is-active">
<h6 class="accordian__title">Title</h6>
<div class="accordian__content">
</div><!-- accordion -->
View ST2 Keymap
{ "keys": ["ctrl+alt+l"], "command": "csslint" },
{ "keys": ["super+alt+ctrl+k"], "command": "figlet_default" }
View .bashrc
# Colors!
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 / ST2 Installed Packages
Last active Aug 29, 2015
ST2 Installed Packages
View ST2 Installed Packages
"ASCII Decorator",
"Coffee Formatter",
View ST2 Prefs
"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,
You can’t perform that action at this time.