Skip to content

Instantly share code, notes, and snippets.

@nitstorm
nitstorm / sample-layout-introduction-to-xhtml.html
Last active December 20, 2015 17:59
The sample layout for the post "Introduction to XHTML"
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> </title>
</head>
<body>
</body>
</html>
@nitstorm
nitstorm / vnStat Cheat Sheet
Last active December 16, 2015 15:58
A tiny reference sheet for some of the mainly used features of vnStat
Summaries:
vnstat -m #monthly summaries
vnstat -d #daily summaries (last 30 days)
vnstat -h #hourly summaries (last 24 hours)
Other views:
vnstat -w #weekly comparison (last 7 days, last week, current week)
vnstat -t #top 10 entries ever
Live View:
<!--
Before opening this file in a web-browser, do the following.
In the same directory as this file, create a new directory/folder called media.
In the "media" folder, put some video that you want to use in the demo as ubuntu.webm and ubuntu.mp4
Also place a tux.jpg image in the "media" folder to see examples of the poster-image section
-->
<!DOCTYPE html>
<html>
<head>
<title>Video Tags in HTML 5</title>