|/
|\ISS               Tidbits  Posts  Answers  Install  Wiki  Contact  Donate  GitHub


Website
________________________________________________________________________________

This website is rather unique. Each page is plain-text which is inserted into
some <pre> tags in a template. The template also contains the CSS,
favicon, GitHub icon, content and HTML. Every page is entirely self-contained
and a page load of this website is only a single network request.


[000] Index
________________________________________________________________________________

* Favicon ................................................................ [001]
  * Why Use A Favicon At All? ............................................ [002]
* GitHub-Icon ............................................................ [003]


[001] Favicon
________________________________________________________________________________

The favicon is a base64 encoded gif image which I created. It is designed to
take up as little space as possible.

<link href='data:image/gif;base64,R0lGODlhEAAQAPH/AAAAAP8AAP8AN////yH5BAUAAAQ
ALAAAAAAQABAAAAM2SLrc/jA+QBUFM2iqA2bAMHSktwCCWJIYEIyvKLOuJt+wV69ry5cfwu7WCVp2RSP
oUpE4n4sEADs=' rel=icon>


--[002] Why Use A Favicon At All? ----------------------------------------------

  The funny thing about web browsers is that they will assume a favicon exists
  despite this possibly being false. Browsers will try to load it and you'll
  end up with error 404 and a wasted request.

  Providing some kind of inline favicon is the only way to quiet the browser
  and prevent it from trying to load something that does not exist. Prior to
  creating the above favicon, this website used the following snippet.

  <link href=data:, rel=icon>

  Through a lot of tinkering I found that this is the smallest possible (inline)
  favicon. This successfully shushes the web request in all tested browsers.


[003] GitHub Icon
________________________________________________________________________________

The GitHub icon in the navigation bar is also a base64 encoded gif image (of my
creation). It is a 16x16 version of the GitHub logo.

<img src="data:image/gif;base64,R0lGODlhEAAQAPABAAAAAP//ACH5BAUIAAEALAAAAAAQ
ABAAAAIojA2px6G/GJzgJASxbrI+jmVgGI3TSF4oZS6emmqw823dTFcWbklNAQA7">



________________________________________________________________________________

Dylan Araps (C) 2019-2021

The registered trademark Linux(R) is used pursuant to a sublicense from the
Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark
on a world­wide basis.