Skip to content

Instantly share code, notes, and snippets.

Oliver Spindler abersager

Block or report user

Report or block abersager

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
View gist:0d534eaacaef4eb5a0ad
https://www.gov.uk/performance/prison-visits/volumetrics
http://rwillustrator.blogspot.ch/2007/04/understanding-9-slice-scaling.html
function stage1 () {
$('figure figcaption').hide();
$('.graph-wrapper').hide();
$('.graph').append($($('noscript').text()));
$('.graph img').css('width', '100%');
}
View gist:d2a0f925b11e0da92a86
^((?!term).)*$

or

^((?!term).*)$
View fourth wall test repo list
[
{
"userName": "abersager",
"repo": "fourthwalldemo"
},
{
"userName": "alphagov",
"repo": "signonotron2"
}
]
View sauce_connect_setup.sh
#!/bin/bash
# Setup and start Sauce Connect for your TravisCI build
# This script requires your .travis.yml to include the following two private env variables:
# SAUCE_USERNAME
# SAUCE_ACCESS_KEY
# Follow the steps at https://saucelabs.com/opensource/travis to set that up.
#
# Curl and run this script as part of your .travis.yml before_script section:
# before_script:
View Performance platform repo list
[
{
"userName": "alphagov",
"repo": "datainsight-frontend"
},
{
"userName": "alphagov",
"repo": "fourth-wall"
},
{
@abersager
abersager / Gemfile
Created Jun 6, 2013
Rails project setup for running Cucumber tests through Selenium and Sauce Labs
View Gemfile
group :test, :development do
gem 'cucumber-rails'
gem "sauce-cucumber"
gem 'parallel_tests'
gem 'sauce-connect'
end
@abersager
abersager / index.html
Created Mar 29, 2012
Using cookies and nginx web server configuration to conditionally serve high resolution images
View index.html
<!doctype html>
<!--
Using cookies and nginx web server configuration to conditionally serve
high resolution images to <img> tags
-->
<html>
<head>
<!-- set device-pixel-ratio cookie using JavaScript -->
<script type="text/javascript" charset="utf-8">
You can’t perform that action at this time.