This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
This gist is no longer valid. Please see Compass-Rails for instructions on how to install.
| namespace :ubuntu do | |
| desc "Setup Environment" | |
| task :setup_env, :roles => :app do | |
| update_apt_get | |
| install_dev_tools | |
| install_git | |
| install_subversion | |
| install_sqlite3 | |
| # Install and setup RVM instead of old Rails stack | |
| #install_rails_stack |
| /** | |
| * Annoying.js - How to be an asshole to your users | |
| * | |
| * DO NOT EVER, EVER USE THIS. | |
| * | |
| * Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com) | |
| * Visit https://gist.github.com/767982 for more information and changelogs. | |
| * Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog | |
| * Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors | |
| * |
| require "rubygems" | |
| require "selenium-webdriver" | |
| def wait(timeout = 10, &blk) | |
| end_time = Time.now + timeout | |
| until Time.now >= end_time | |
| begin | |
| return yield | |
| rescue Selenium::WebDriver::Error::NoSuchElementError |
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2014 Ismael Celis | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |