This file contains hidden or 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
| au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery | |
| set nocompatible | |
| set autoindent | |
| set tabstop=2 | |
| set showmatch | |
| set vb t_vb= | |
| set ruler | |
| set nohls | |
| set incsearch | |
| syntax on |
This file contains hidden or 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
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
This file contains hidden or 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
| <!-- | |
| More faster : lint only modified files | |
| -------------------------------------- | |
| We create a new target to retrieve a list of modified files | |
| If there is modified files, execute the lint target, else skip | |
| with the `if="modifiedFiles"` option. | |
| The list of modified files is stored in ${files.modified}, one file per line. |
This file contains hidden or 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
| sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES; | |
| sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled; | |
| // by the way, you need to logout and log back in for this to take effect. Or at least that's what | |
| // Quartz Debug says. Who knows, maybe it's lying? | |
| // P.S. Go to [Apple menu --> System Preferences --> Displays --> Display --> Scaled] after logging | |
| // back in, and you'll see a bunch of "HiDPI" resolutions in the list to choose from. |
This file contains hidden or 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
| /* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
| * http://benalman.com/ | |
| * Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
| (function($) { | |
| var o = $({}); | |
| $.subscribe = function() { | |
| o.on.apply(o, arguments); |
This file contains hidden or 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
| <style type="text/css" media="screen"> | |
| .bar1 { | |
| -moz-transform:rotate(0deg) translate(0, -40px); | |
| -webkit-transform:rotate(0deg) translate(0, -40px);opacity:0.12; | |
| } | |
| .bar2 { | |
| -moz-transform:rotate(45deg) translate(0, -40px); | |
| -webkit-transform:rotate(45deg) translate(0, -40px);opacity:0.25; | |
| } | |
| .bar3 { |
This file contains hidden or 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
| /** | |
| * Provides quick reflection, usually so that the caller can access private | |
| * methods and properies in a single pass. | |
| * | |
| * If called with a single String classname, then the \ReflectionClass of | |
| * that class is returned. | |
| * Accepts any number of additional Strings that are names of properties or | |
| * methods to make accessible and return. Methods should be prefixed with 'method:'. | |
| * The return value is an array containing the mapped reflection class and the properties / methods. | |
| * |
This file contains hidden or 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
| html, body, div, span, applet, object, iframe, table, caption, | |
| tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, | |
| kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, | |
| acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend { | |
| vertical-align: baseline; | |
| font-family: inherit; | |
| font-weight: inherit; | |
| font-style: inherit; |
This file contains hidden or 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
| Feature: Testing Configuration | |
| In order to have a base for my new application | |
| As a developer | |
| I want to test the configuration settings for this application | |
| Scenario: Test Home Page | |
| Given I am on the home page | |
| Then I should see "home" |
This file contains hidden or 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
| Given /^I am on the home page$/ do | |
| visit "/" | |
| end | |
| Then /^I should see "([^"]*)"$/ do |text| | |
| page.should have_content text | |
| end |
OlderNewer