Cheat sheet extracted from https://www.youtube.com/watch?v=2zmUSoVMyRU by That JS Dude.
If you pass any of the CSS selectors to $(<identifier>) you get the first element.
> $('a')Cheat sheet extracted from https://www.youtube.com/watch?v=2zmUSoVMyRU by That JS Dude.
If you pass any of the CSS selectors to $(<identifier>) you get the first element.
> $('a')| # | |
| # This file configures the New Relic Agent. New Relic monitors | |
| # Ruby, Java, .NET, PHP, and Python applications with deep visibility and low overhead. | |
| # For more information, visit www.newrelic.com. | |
| # | |
| # Generated June 03, 2013 | |
| # | |
| # This configuration file is custom generated for Barsoom | |
| # RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
| # defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
| module Player | |
| describe MovieList, "with optional description" do | |
| it "is pending example, so that you can write ones quickly" | |
| it "is already working example that we want to suspend from failing temporarily" do | |
| pending("working on another feature that temporarily breaks this one") |
| # List of environments and their heroku git remotes | |
| ENVIRONMENTS = { | |
| :staging => 'myapp-staging', | |
| :production => 'myapp-production' | |
| } | |
| namespace :deploy do | |
| ENVIRONMENTS.keys.each do |env| | |
| desc "Deploy to #{env}" | |
| task env do |