Category:Miscellany

From Christoph's Personal Wiki
Revision as of 22:44, 30 August 2020 by Christoph (Talk | contribs) (Other)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a category for information that has not found a more proper home yet. The goal is to keep the information in this category to a minimum.

Water intake formula

amount = ((weight*2.2)/30)*450)/1000 litres

mp3 file size formula

file size = [ (b/8)*60 ] * m

where b = bit rate and m = length of mp3 in minutes

pi

22/7  = 3.142857142857142857
355/7 = 3.141592920353982301
real  = 3.1415926535897932384626433832795028841971693993751058209
#include <beer.h>

Other

12345679 *  9 = 111111111
12345679 * 18 = 222222222
12345679 * 27 = 333333333
12345679 * 36 = 444444444
12345679 * 45 = 555555555
12345679 * 54 = 666666666
12345679 * 63 = 777777777
12345679 * 72 = 888888888
12345679 * 81 = 999999999

11 * 11 = 121
111 * 111 = 12321
1111 * 1111 = 1234321
11111 * 11111 = 123454321
111111 * 111111 = 12345654321
1111111 * 1111111 = 1234567654321
11111111 * 11111111 = 123456787654321
111111111 * 111111111 = 12345678987654321
  • If you divide 1 by 998,001, you get all three-digit numbers from 000 to 999 in order, except for 998:
$ BC_LINE_LENGTH=0 bc -l <<< "scale = 100; 1/998001" | tr -d '.' | sed -e "s/.\{3\}/&\n/g"
000
001
002
003
004
...

WordPress

Syntax-highlighting

<pre lang="php">$var = @$_GET['q'] ; // comment goes here<br /> $trimmed = trim($var); // another comment</pre>

Flickr

<div style="float: right; margin-left: 10px; margin-bottom: 10px"><a title="photo sharing" href="http://www.flickr.com/photos/mollyeh11/31103336/"><img style="border: 2px solid #000000" src="http://photos21.flickr.com/31103336_d89f87e148_m.jpg" /></a> <p><span style="font-size: 0.9em; margin-top: 0px"><br /> <a href="http://www.flickr.com/photos/mollyeh11/31103336/">See Through Ocean</a></span></p> <p>Originally uploaded by <a href="http://www.flickr.com/people/mollyeh11/">mollyeh11</a>.<br /> </p> </div> <p>A photo from Molly.<br /> <br clear="all" /></p>

See also

  • scaevola / scaevus

Subcategories

This category has only the following subcategory.

Pages in category "Miscellany"

The following 2 pages are in this category, out of 2 total.