Skip to content

Instantly share code, notes, and snippets.

# Your init script
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
# An example hack to log to the console when each text editor is saved.
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
meleyal / .scss-lint.yml
Created Aug 13, 2014
scss-lint `PropertySortOrder` config based on @mdo's Code Guide / recess
View .scss-lint.yml
# based on
- position
- top
- right
- bottom
- left
meleyal /
Created Mar 25, 2014
Gulp + Browserify + LiveReload
gulp = require 'gulp'
shell = require 'gulp-shell'
livereload = require 'gulp-livereload'
watchify = "watchify
--outfile app/assets/javascripts/bundle.js
--transform coffeeify
--transform debowerify
meleyal /
Created Oct 20, 2013
Static website mirror with wget
wget -q --mirror -p --html-extension -e robots=off --base=./ -k -P ./
View Default (OSX).sublime-keymap
{ "keys": ["ctrl+shift+."], "command": "erb" },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },
{ "keys": ["super+j"], "command": "swap_line_down" },
{ "keys": ["super+k"], "command": "swap_line_up" },
{ "keys": ["Y"], "command": "clipboard_copy",
"context": [{"key": "clipboardcopy_fake", "operator":"equal", "operand":true}, {"key": "setting.command_mode"}]
{ "keys": ["y"], "command": "clipboard_copy",
"context": [{"key": "clipboardcopy_fake", "operator":"equal", "operand":true}, {"key": "setting.command_mode"}]
View Docco.tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
meleyal /
Last active Dec 19, 2015
Macbook Air setup 2013
meleyal /
Last active Mar 23, 2021
OSX defaults, based on
# OSX defaults, based on
# Ask for the administrator password upfront
sudo -v
# Set computer name (as done via System Preferences → Sharing)
sudo scutil --set ComputerName "air"
sudo scutil --set HostName "air"
meleyal /
Created Jun 14, 2013
Markdown example

An h1 header

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, monospace. Itemized lists look like:

  • this one
  • that one