Skip to content

Instantly share code, notes, and snippets.

🌈
.

meleyal

🌈
.
Block or report user

Report or block meleyal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View init.coffee
# 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
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 http://git.io/hpl2Gw
linters:
PropertySortOrder:
order:
- position
- top
- right
- bottom
- left
@meleyal
meleyal / gulpfile.coffee
Created Mar 25, 2014
Gulp + Browserify + LiveReload
View gulpfile.coffee
gulp = require 'gulp'
shell = require 'gulp-shell'
livereload = require 'gulp-livereload'
watchify = "watchify
app/assets/javascripts/initialize.coffee
--outfile app/assets/javascripts/bundle.js
--extension='.coffee'
--transform coffeeify
--transform debowerify
@meleyal
meleyal / mirror.sh
Created Oct 20, 2013
Static website mirror with wget
View mirror.sh
wget -q --mirror -p --html-extension -e robots=off --base=./ -k -P ./ http://example.com
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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>GitHub</string>
<key>settings</key>
<array><dict><key>name</key><string>mon_color</string><key>scope</key><string>mcol_999988FF</string><key>settings</key><dict><key>background</key><string>#999988FF</string><key>caret</key><string>#000000FF</string><key>foreground</key><string>#000000FF</string></dict></dict>
<dict><key>name</key><string>mon_color</string><key>scope</key><string>mcol_666666FF</string><key>settings</key><dict><key>background</key><string>#666666FF</string><key>caret</key><string>#FFFFFFFF</string><key>foreground</key><string>#FFFFFFFF</string></dict></dict>
<dict><key>name</key><string>mon_color</string><key>scope</key><string>mcol_999999FF</string><key>settings</key><dict><key>background</key><string>#999999FF</string><key>caret</key><string>#000000FF</string><key>foreground</key><string>#000000
@meleyal
meleyal / air.md
Last active Dec 19, 2015
Macbook Air setup 2013
View air.md
@meleyal
meleyal / osx.sh
Last active Feb 7, 2019
OSX defaults, based on http://mths.be/osx
View osx.sh
##
# OSX defaults, based on http://mths.be/osx
#
# 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
meleyal / example.md
Created Jun 14, 2013
Markdown example
View example.md

An h1 header

Paragraphs are separated by a blank line.

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

  • this one
  • that one
You can’t perform that action at this time.