This example uses a custom tween that interpolates the window’s vertical scroll offset.
This is not a true Dorling cartogram; it lacks links between adjacent features. Instead of trying to preserve connectedness, this pseudo-cartogram tries to preserve locality, putting each circle as close as possible to its origin without overlapping.
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
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
.pull-left, | |
.pull-left-xs { float: left; } | |
.pull-right, | |
.pull-right-xs { float: right; } | |
.pull-reset, | |
.pull-reset-xs { float: none; } | |
@media (min-width: @screen-sm-min) { |
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
/* With default bootstrap breakpoint sizes */ | |
.pull-left-xs { | |
float: left; | |
} | |
.pull-right-xs { | |
float: right; | |
} | |
.pull-reset-xs { |
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
import unittest | |
from selenium import webdriver | |
from selenium.webdriver import ActionChains | |
from selenium.webdriver.common.keys import Keys | |
from selenium.common.exceptions import NoSuchElementException | |
import time | |
baseUrl = 'http://jsbin.com/afica/13344' |
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
var request = require('superagent') | |
, chai = require('chai') | |
, expect = chai.expect; | |
describe("passing browser", function() { | |
var response; | |
before(function(done) { | |
request |
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
%meta{:name => "viewport", :content => "width=device-width; initial-scale=1.0; maximum-scale=1.0;"} | |
%section.wrapper | |
%h1 fauxSelector | |
%select.fauxSelector | |
%option{:value => "PS"} Please select | |
%option{:value => "S"} Soemthing | |
%option{:value => "SE"} Something else | |
%section.wrapper |
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
%h2 Something | |
%section.wrapper | |
%h1 fauxSelector | |
%select.fauxSelector | |
%option{:value => "PS"} Please select | |
%option{:value => "S"} Soemthing | |
%option{:value => "SE"} Something else | |
%section.wrapper | |
%h1 fauxSelector |
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
%h2 Something | |
%section.wrapper | |
%h1 fauxSelector | |
%select.fauxSelector | |
%option{:value => "PS"} Please select | |
%option{:value => "S"} Soemthing | |
%option{:value => "SE"} Something else | |
%section.wrapper | |
%h1 fauxSelector |