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
# This makes sure Chrome is always up to date in your test suite | |
# On average this adds about 10 seconds to your build suite | |
# Be sure to use Ubuntu 14.04 (Trusty) in the CircleCI's OS setting (Settings > Build Environment) | |
dependencies: | |
pre: | |
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
- sudo dpkg -i google-chrome.deb | |
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome | |
- rm google-chrome.deb |
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
#!/usr/bin/env ruby | |
# New Relic Deployment Notification | |
require 'new_relic/agent' | |
require 'new_relic/command' | |
config = NewRelic::Agent::Configuration::YamlSource.new(NewRelic::Agent.config[:config_path], ENV['RAILS_ENV']) | |
app_name = config[:app_name] | |
branch = `git branch --no-color | sed -e '/^[^*]/d'`.gsub("*", "").strip | |
description = `git log #{branch} -1 --format="%s"`.chomp |
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
jQuery -> | |
$("#map").each -> | |
panorama = null | |
marker = null | |
lat = $(this).data('lat') | |
long = $(this).data('long') | |
address = $(this).data('address') | |
coordinates = [lat, long] | |
$(this).gmap3( |