ASCII Delimited text

From Wikipedia

ASCII delimited text
The ASCII and Unicode character sets were designed to solve this problem by the provision of non-printing characters that can be used as delimiters. These are the range from ASCII 28 to 31.

ASCII # Unicode Name Common Name Usage
28 INFORMATION SEPARATOR FOUR file separator (FS) End of file. Or between a concatenation of what might otherwise be separate files.
29 INFORMATION SEPARATOR THREE group separator (GS) Between sections of data. Not needed in simple data files.
30 INFORMATION SEPARATOR TWO record separator (RS) End of a record or row.
31 INFORMATION SEPARATOR ONE unit separator (US) Between fields of a record, or members of a row.

The use of ASCII 31 Unit separator as a field separator and ASCII 30 Record separator solves the problem of both field and record delimiters that appear in a text data stream.[

Table based layouts without [table]

[div].float is horrid, tables have always been much simpler and predictable just frowned upon due to semantics

A fantastic solution is:

[div style="display:"table"]
  [div style="display:"table-row"]
    [div style="display:table-cell"]

Literally turns [div] into [table]

Also

If you’re only doing a single row, you can omit the table-row element

Also

table-layout: fixed;

To make the cells stay to their widths, instead of being controllable by content inside them, see
http://www.w3schools.com/cssref/pr_tab_table-layout.asp

Work perfect from IE9 onwards

Git ignore file so it’s not committed

Not using .gitignore cos changes to the .gitignore file will want to be committed

Probably not the greatest method (or even all that correct), but it seems to work

git add  -- until you're left with files you don't want committed
git commit
git stash

Javascript redirect

// similar behavior as an HTTP redirect - prevents endless back button
window.location.replace("http://stackoverflow.com");

// similar behavior as clicking on a link
window.location.href = "http://stackoverflow.com";

Referenced from
http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery-javascript?rq=1