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
g |
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
<html> | |
<head> | |
<style type="text/css"> | |
body { background-color: #fff; font-family: courier; font-size: 12px; margin: 0; padding: 0; } | |
.wrap { | |
background-color: #666; | |
width: 550px; | |
height: 100px; | |
margin-top: 20px; | |
} |
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
<html> | |
<head> | |
<style type="text/css"> | |
body { background-color: #fff; font-family: courier; font-size: 12px; } | |
.wrap { | |
border: 10px solid #f00; | |
width: 202px; | |
padding: 10px 10px 0; | |
} | |
.footer { |
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
---------------------------------------------------------------------------- | |
Kinn/7 Fjell tap battle (2016-04-27) | |
---------------------------------------------------------------------------- | |
name name Average rating Number of checkins | |
---------------- ------------------ ------------------ ------------------ | |
Kinn Bryggeri Svartekunst (2014) 4.19 15 | |
Kinn Bryggeri Vestkyst 4.0 1 | |
Kinn Bryggeri Brottsjø 3.964 8 | |
7 Fjell Bryggeri Ulriken Double IPA 3.95 5 | |
7 Fjell Bryggeri Yorkshire Stingo 3.95 10 |
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
<?php | |
$numbers = str_split("0123456789"); | |
$solutions = inspira($numbers); | |
foreach ($solutions as $solution) { | |
echo $solution . "\n"; | |
} | |
echo "Found " . count($solutions) . " solutions\n"; |
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
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<style type="text/css"> | |
tr.had { color: #888; } | |
</style> | |
<script type="text/html" id="beer_row"> | |
<% var d = new Date(obj.updated * 1000); now = new Date(); %> | |
<tr <%= (Beerradar.myRatings.indexOf(parseInt(obj.beer.ratings[0].id)) > -1) ? 'class="had"' : '' %>> | |
<td><%= Math.round((now.getTime() - d.getTime()) / 86400000) %> days</td> |