I hereby claim:
- I am rchampourlier on github.
- I am rchampourlier (https://keybase.io/rchampourlier) on keybase.
- I have a public key whose fingerprint is 0C55 7AA0 27D3 F5FE 1510 1FFF 4CDA 7FE8 66D0 3D97
To claim this, I am signing this object:
# This Rack middleware helps solving the issue with some Rails versions which do not accept | |
# a '*/*;q=0.6' and their variants 'Accept' request header. This header is particularly used | |
# by Google Bot, and if Rails doesn't like it, it will return a 500 or 406 error to Google Bot, | |
# which is not the best way to get your pages indexed. | |
# | |
# References: | |
# - http://stackoverflow.com/questions/8881756/googlebot-receiving-missing-template-error-for-an-existing-template | |
# - https://github.com/rails/rails/issues/4127 | |
# | |
class GoogleBotAware |
source 'http://rubygems.org' | |
# Framework | |
gem 'rails', '~> 3.2.0' | |
# Datastores | |
gem 'pg' | |
gem "mongoid" | |
gem "mongo" | |
gem "bson" |
require "spec_helper" | |
# :draper_with_helpers is necessary for the Draper objects | |
# to access real helpers, including URL helpers, in the spec. | |
describe MyDecorator, "#foo", :draper_with_helpers do | |
# This is necessary for the spec itself to use URL helpers | |
# like some_path(). | |
include Rails.application.routes.url_helpers |
# This config for Nginx provides you a local domain | |
# (www.phoenix.dev) for Phoenix webserver development. | |
# | |
# ## Prerequisites | |
# - You must update you /etc/hosts file accordingly. | |
# - You must create a self-signed certificate if you | |
# intend on using the HTTPS proxying. | |
# | |
# Add this file in the /servers directory accompanying | |
# your nginx.conf file. |
# Add this gem to your Gemfile | |
gem 'aws-sdk', '~> 2.5.1' |
-- This script... | |
-- It assumes when you ssh into the vagrant box you automatically cd into | |
-- the project's directory (by having a `cd /vagrant` within your | |
-- `~/.bashrc` for example) | |
using terms from application "Terminal" | |
tell application "Terminal" | |
activate | |
-- open the terminal's window, set its dimensions |
I hereby claim:
To claim this, I am signing this object:
# Session mocking may be used in feature tests to mock a session | |
# since it's not possible to inject the session through params or | |
# direct injection. | |
# | |
# SessionMock is a module that may be included | |
# in `Hanami::Web::Action` to override the session | |
# in feature specs. | |
# | |
# Usage (in the controller action): | |
# |
# SELENIUM_SERVER is the IP address or hostname of the system running Selenium | |
# Server, this is used to determine where to connect to when using one of the | |
# selenium_remote_* drivers | |
SELENIUM_SERVER = "10.10.11.1" | |
# SELENIUM_APP_HOST is the IP address or hostname of this system (where the | |
# tests run against) as reachable for the SELENIUM_SERVER. This is used to set | |
# the Capybara.app_host when using one of the selenium_remote_* drivers | |
SELENIUM_APP_HOST = "10.10.11.2" |
user www; | |
worker_processes 1; | |
daemon on; | |
error_log /var/log/nginx/error.log warn; | |
timer_resolution 500ms; | |
events { | |
worker_connections 512; | |
} |