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
<!-- | |
Progressive Disclosure Demo - Updated 15 August, 2012 by Ros | |
Thank you for taking a look under the hood of our progressive disclosure demo. Please note that this is a work in progress, so it's a tad messy and bound to change. | |
If you have any questions, feel free to pop a line to [email protected] - we might learn something, too! | |
Known bugs | |
---------- |
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 getLiveTrack = function() { | |
// inefficiently get contents of first playlist element | |
var live = JSON.parse(document.getElementById('PlaylistItems').children[0].getAttribute('data-playlistitem').toString()) | |
// inefficiently output results | |
if (live.ArtistName && live.TrackName) { | |
console.log(live.ArtistName + ' - ' + live.TrackName); | |
} else if (live.ArtistName) { | |
console.log(live.ArtistName + ' - unknown track'); | |
} else if (live.TrackName) { |
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
<style> | |
* { | |
padding: 0; | |
margin:0; | |
line-height: 1em; | |
font-size: 16px; | |
} | |
.parent { | |
max-width: 100%; | |
background: #eee; |
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
/* | |
Usage: the caller must have .content declared in its scope! | |
*/ | |
.mobile() { | |
@media all and (min-width: 480px) { | |
.content; | |
} | |
.ie-lt-ie9 &{ | |
.content; | |
} |
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
require 'premailer' | |
### | |
# Helpers | |
### | |
# Integrated Premailer from https://github.com/RyanParsley/OMP-Generator/blob/master/config.rb | |
# Premailer API: http://premailer.dialect.ca/api | |
module PreMailer | |
class << self |
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
/* Stylish rules for URLs on the domain Ello.co | |
* author @egid | |
*/ | |
/* get rid of whatever that awful monospace is */ | |
* { | |
font-family: 'Helvetica Neue', Arial, sans-serif; | |
} | |
/* reset their shitty reset */ |
This file has been truncated, but you can view the full file.
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
START,Fri Sep 11 10:05:13 +0000 UTC 2015 | |
START,Fri Sep 11 10:05:13 +0000 UTC 2015 | |
10248513746,-08a9cde343d1ed51ea1a0579126003207809df12c3da440bf2a4c2a0000530000000 | |
21471180825,-00a9cde343cf2351ea3a0559124801801c00 | |
26535130459,-08a9cde343cddf51ea3e0559124400a05809df12c3da440bfaa4c2a0000520000000 | |
37148074309,-00a9cde343cb5151ea46055912340380e800 | |
43582107692,-00a9cde343c9dd51ea6a059912080580e800 | |
45027840035,-00a9cde343c99151ea74059912000580a800 | |
START,Fri Sep 11 10:05:13 +0000 UTC 2015 | |
START,Fri Sep 11 10:05:13 +0000 UTC 2015 |
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
pi@raspberrypi ~/stratux $ free -m | |
total used free shared buffers cached | |
Mem: 927 510 416 0 19 432 | |
-/+ buffers/cache: 58 868 | |
Swap: 99 0 99 | |
pi@raspberrypi ~/stratux $ cat /proc/cpuinfo | |
processor : 0 | |
model name : ARMv7 Processor rev 5 (v7l) | |
BogoMIPS : 38.40 | |
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm |