- Passport
- Ferry ticket
- Eurostar ticket
- Hotel receipt
- Water bottles x2
- Lights + cable
- Garmin + cable
int main(){ | |
double x=5, y=6, n=7;//values here | |
double px=ceil(sqrt(n*x/y)); | |
double sx,sy; | |
if(floor(px*y/x)*px<n) //does not fit, y/(x/px)=px*y/x | |
sx=y/ceil(px*y/x); | |
else | |
sx= x/px; | |
double py=ceil(sqrt(n*y/x)); | |
if(floor(py*x/y)*py<n) //does not fit |
class window.FAdminForm | |
PREFILL_CONTENT = | |
general_news: | |
title: 'General News' | |
body: '<p><strong><a href=""></a></strong> have </p> | |
<p></p> | |
<p></p> | |
<p><strong>See Also: <a href="URL">TITLE</a></strong><br/> | |
<strong>See Also: <a href="URL">TITLE</a></strong></p>' | |
seo_title: 'Page Title: | News | The 405' |
function Interpolate(start, end, steps, count) { | |
var s = start, | |
e = end, | |
final = s + (((e - s) / steps) * count); | |
return Math.floor(final); | |
} | |
function Color(_r, _g, _b) { | |
var r, g, b; | |
var setColors = function(_r, _g, _b) { |
# A simple word/time count plugin for Jekyll. | |
# | |
# input = The given content (a Liquid tag). | |
# count_words = Returns the word count. | |
# count_seconds = Returns the seconds by dividing the word count by 5, | |
# which is how many words the average person reads per second. | |
# reading_length= Consumes the length of the post in seconds, works out minutes | |
# and queries time_and_word for a relevant string. | |
# time_and_word = Takes the length of the post in minutes and returns a string | |
# relating to the length of the read. |
<li class='item'> | |
<%= @body %> | |
</li> |
def self.search(params) | |
scope = scoped({}) | |
scope = scope.scoped :where => ['title_id = ?', params[:title_id] ] unless params[:title_id].blank? | |
scope = scope.scoped :where => ['upper(first_name) like upper(?)', params[:first_name] ] unless params[:manufacturers].blank? | |
scope | |
end |
<div class='col1'> | |
</div> | |
<!-- --> | |
<div class='col2'> | |
</div> |
<?xml version="1.0" encoding="UTF-8"?> | |
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
<CORSRule> | |
<AllowedOrigin>http://mydomain.com</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
<AllowedHeader>Authorization</AllowedHeader> | |
</CORSRule> | |
</CORSConfiguration> |