Updated for Rails 4.0.0+
-
Set up the
bowergem. -
Follow the Bower instructions and list your dependencies in your
bower.json, e.g.// bower.json
{
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| ;; Add this to your Emacs configuration to have proper Nodejs | |
| ;; indentation with javascript when using `js-mode'. —Travis Jeffery | |
| (add-hook 'js-mode-hook (lambda () | |
| (defun js--proper-indentation (parse-status) | |
| "Return the proper indentation for the current line." | |
| (save-excursion | |
| (back-to-indentation) | |
| (cond | |
| ((looking-at ",") | |
| (let ((spos |
| #!/bin/bash | |
| SOURCE_USER=user | |
| SOURCE_HOST=localhost | |
| SOURCE_PASSWORD='password' | |
| SOURCE_DATABASE=database | |
| TARGET_USER=user | |
| TARGET_HOST=localhost | |
| TARGET_PASSWORD='password' |
Updated for Rails 4.0.0+
Set up the bower gem.
Follow the Bower instructions and list your dependencies in your bower.json, e.g.
// bower.json{
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."