This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add files and commands to this file, like the example: | |
# watch('file/path') { `command(s)` } | |
# | |
# | |
$username = 'jcantrell'; | |
guard 'shell' do | |
def sync(from, to) | |
system("rsync -avz ./#{from}/ #{$username}@fedev.utah.trulia.com:#{to}/ --exclude '.svn'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function watchtest () { | |
watchmedo shell-command -W -p "./$1/*;./tests/$1/*" -R -c "phpunit --config tests/phpunit_local.xml tests/$1" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.croc', '.dg', '.factor', '.fy', '.fancypack', '.io', '.lua', '.wlua', | |
'.md', '.moon', '.pl', '.pm', '.py3tb', '.py', '.pyw', '.sc', | |
'SConstruct', 'SConscript', '.tac', '.sage', '.pytb', '.rb', '.rbw', | |
'Rakefile', '.rake', '.gemspec', '.rbx', '.duby', '.tcl', '.c-objdump', | |
'.s', '.cpp-objdump', '.c++-objdump', '.cxx-objdump', '.d-objdump', | |
'.s', '.S', '.ll', '.asm', '.ASM', '.objdump', '.adb', '.ads', '.ada', | |
'.bmx', '.c', '.h', '.idc', '.cbl', '.CBL', '.cob', '.COB', '.cpy', | |
'.CPY', '.cpp', '.hpp', '.c++', '.h++', '.cc', '.hh', '.cxx', '.hxx', | |
'.C', '.H', '.cp', '.CPP', '.cu', '.cuh', '.pyx', '.pxd', '.pxi', '.d', | |
'.di', '.pas', '.dylan-console', '.dylan', '.dyl', '.intr', '.lid', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; init.el --- where all the magic begins | |
;; | |
;; turn off mouse interface early in startup to avoid momentary display | |
;; you really don't need these; trust me. | |
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1)) | |
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) | |
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) | |
;; load path etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CssTestGenerator < Hologram::Plugin | |
attr :output_dir, :tests | |
HTML_HEADER = <<-eos | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="/build/css/screen.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Oh hai</title> | |
<style> | |
html { width: 100% } | |
body { | |
width: 600px; margin: auto; | |
font-family: Helvetica, Arial, sans-serif; | |
font-size: 24px; |
NewerOlder