Minimal responsive glitch effect with the codepen logo.
This file contains 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
* { | |
margin: 0; | |
padding: 0; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
*:after, *:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; |
This file contains 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
osmfilter uk-latest.osm --keep="addr:country= and addr:city= and addr:street=" --ignore-dependencies --drop-relations --drop-ways | osmconverter - --csv="@oname @id @lon @lat addr:country addr:city addr:street" >> streets.csv |
This file contains 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
// boilerplate for processing large geojson/json files.. | |
// npm install --save through2 JSONStream | |
var through = require('through2'); | |
var JSONStream = require('JSONStream'); | |
var fs = require('fs'); | |
var inputStream = fs.createReadStream('./test.geojson'); | |
var outputStream = fs.createWriteStream('./cleaned-geojson.json'); |
This file contains 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
/* | |
* Get the good old favorite ★ back. | |
* | |
* Copy the few lines below into the console of your browser and press enter. | |
* Chrome: https://developer.chrome.com/devtools#access | |
* Firefox: https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console | |
*/ | |
// updated version (this also works for new pulled tweets): | |
var style = document.createElement('style'); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
javascript: ( | |
function() { | |
var elms = document.getElementsByTagName('*'); | |
var b = document.body; | |
var box = document.createElement('div'); | |
box.id = "element-chooser-container"; | |
var buttonContainer = document.createElement('div'); | |
buttonContainer.id = "sound-change-button-bar"; |
This file contains 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 FusionHelper = { | |
query: function(params) { | |
var base = 'https://www.googleapis.com/fusiontables/v1/query?', | |
url = base + $.param({ | |
sql: params.sql, | |
key: '***' | |
}); | |
$.ajax({ | |
url: url, | |
type: 'POST', |
OlderNewer