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
bacon: 10010000 | |
space: 00101010 | |
pong: 10000001 | |
simone: 11010011 | |
eightbit: 01010011 | |
song: 11011011 | |
synth: 10001000 | |
ascii: 01111111 | |
bowling: 01110101 | |
rocket: 01000101 |
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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
app->types->type(coffee => 'text/coffeescript; charset=utf-8'); | |
under sub { | |
my $self = shift; | |
my $is_pjax = $self->param('_pjax') ? 1 : 0; | |
$self->layout('default') unless $self->req->is_xhr || $is_pjax; | |
1; |
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
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |