Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Arjen Oosterkamp Arjeno

🎯
Focusing
Block or report user

Report or block Arjeno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Arjeno
Arjeno / circle.yml
Created Aug 17, 2016
Always use the latest version of Chrome on CircleCI
View circle.yml
# 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
@Arjeno
Arjeno / gist:5524736
Created May 6, 2013
New Relic Deployment Notification
View gist:5524736
#!/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
View gist:1551600
jQuery ->
$("#map").each ->
panorama = null
marker = null
lat = $(this).data('lat')
long = $(this).data('long')
address = $(this).data('address')
coordinates = [lat, long]
$(this).gmap3(
You can’t perform that action at this time.