# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
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
{ | |
"AWSEBDockerrunVersion": 2, | |
"volumes": [ | |
{ | |
"name": <appname>, | |
"host": { | |
"sourcePath": "/var/app/current" | |
} | |
} | |
], |
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
source 'https://rubygems.org' | |
gem 'sass-rails' | |
gem 'sqlite3', platforms: [:ruby, :mingw, :mswin, :x64_mingw] | |
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] | |
platforms :jruby do | |
gem 'jruby-openssl' | |
gem 'activerecord-jdbcsqlite3-adapter' | |
end |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
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
image: "ruby:2.3" | |
services: | |
- postgres:latest | |
variables: | |
POSTGRES_DB: test_db | |
POSTGRES_USER: runner | |
POSTGRES_PASSWORD: "" | |
before_script: | |
- apt-get update -qq && apt-get install -y -qq postgresql postgresql-contrib libpq-dev cmake | |
- apt-get install -y wget git unzip xvfb |
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
#!/bin/bash | |
# | |
# Bash script to setup headless Selenium (uses Xvfb and Chrome) | |
# (Tested on Ubuntu 12.04) trying on ubuntu server 14.04 | |
# Add Google Chrome's repo to sources.list | |
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list | |
# Install Google's public key used for signing packages (e.g. Chrome) | |
# (Source: http://www.google.com/linuxrepositories/) |
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
Need a handle to find out time taken by individual or group or all tasks done by grunt. Currenlty there is no way to find out the time taken by individual task since each individual task is invoked by grunt and we don't have any callback or handle on it to invoke custom methods, unless we write a custom taks ourself and insert after every task and then printing the time taken by using process.hrtime , though some of the tasks do print time taken. For this proper way should be Grunt should emit events after completing tasks, the level at which it should be generated could be brainstormed. |