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
<div class="scene"> | |
<div class="wrapper"> | |
<ul class="tunnel"> | |
<li class="ring"></li> | |
<li class="ring"></li> | |
<li class="ring"></li> | |
<li class="ring"></li> | |
<li class="ring"></li> | |
<li class="ring"></li> | |
<li class="ring"></li> |
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
@-webkit-keyframes rainbow { | |
0% {border-color: hsl(0, 100%, 50%);} | |
100% {border-color: hsl(255, 100%, 50%);} | |
} | |
.rainbow_border{ | |
border: 4px solid hsl(0, 100%, 50%); | |
-webkit-animation: rainbow 5s infinite alternate; | |
} |
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 isOperaMini = Object.prototype.toString.call(window.operamini) === "[object OperaMini]" |
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
p[class]{} |
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
// https://raw.github.com/mapbox/geo-googledocs/master/MapBox.js | |
// Global variables | |
var ss = SpreadsheetApp.getActiveSpreadsheet(), | |
sheet = ss.getActiveSheet(), | |
activeRange = ss.getActiveRange(), | |
settings = {}; | |
var geocoders = { | |
yahoo: { | |
query: function(query, key) { |
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
/** http://www.virtualrevolution.net/zbin/rmx-collection-all.css **/ | |
@charset "UTF-8"; | |
/* | |
## Reset | |
Minimalized resets that provide a foundation for normalizations & defaults | |
*/ | |
html, body, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, dl, li, dd, pre, | |
fieldset, form, legend, input, select, textarea, button, |
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
.stage | |
%ul | |
- 5.times do | |
%li | |
.band | |
.factory | |
.magic | |
.screen |
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
function convert(geo){ | |
var latlonrg = /(\d+(?:\.\d+)?)[\xb0\s]?\s*(?:(\d+(?:\.\d+)?)['\u2019\u2032\s])?\s*(?:(\d+(?:\.\d+)?)["\u201d\u2033\s])?\s*([SNEW])?/i; | |
var m = String(geo).split(latlonrg), | |
lat = m && +m[1] + (m[2] || 0) / 60 + (m[3] || 0) / 3600; | |
if (m[4].toUpperCase() == "S") { | |
lat = -lat; | |
} | |
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
<?php | |
//get artist photo | |
function getArtistPhoto($artist, $size) { | |
$artist = urlencode($artist); | |
$xml = "http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist={$artist}&api_key=YOUR_KEY"; | |
$xml = @file_get_contents($xml); | |
if(!$xml) { |
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
//cleanup and sort elemets that have likes | |
//cleanup for likes | |
$(".LikesCount").each(function() { | |
var num = Number($(this).text().trim().replace("likes", "").replace("like", "")); | |
$(this).html(num); | |
}); | |
//sort | |
var mylist = $('.pin'); |