ZFS
zpool status -v #shows zpool status infos
zpool iostat 1 #shows IOps and R/W bandwidth every second
zfs list -t snapshot #lists all the snapshots, add | grep "" to filter
arc_summary.py #shows ARC stats
ZFS
zpool status -v #shows zpool status infos
zpool iostat 1 #shows IOps and R/W bandwidth every second
zfs list -t snapshot #lists all the snapshots, add | grep "" to filter
arc_summary.py #shows ARC stats
function emoji() { | |
if (navigator.userAgent.indexOf('Mac OS X') != -1) { | |
window.location.hash = "💋"; | |
} | |
}; | |
emoji(); | |
// only works on Macs 😞 |
<form action="//formspree.io/{{ site.meta.contact_email }}" method="POST"> | |
<input type="email" name="_replyto" placeholder="Your email"> | |
<textarea name="message" rows="5" placeholder="Your message"></textarea> | |
<input type="submit" value="Send"> | |
</form> |
A test of the d3-timer module.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<title>Stripe Sample Form</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
<script type="text/javascript"> |
<DOCTYPE !HTML> | |
<style> | |
img.tile { | |
position:absolute; | |
} | |
#download { | |
position:absolute; | |
top:10px; | |
left:10px; |
/* | |
Older email clients and (some) webmail clients (Gmail!) will apply | |
this rule. Some clients (like older Lotus Notes) don't | |
support background-color on links, so I didn't want white | |
links on a white background. | |
*/ | |
a.button { | |
background-color: #FFFFFF; | |
color: #d9286b; | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<title>Download SVG</title> | |
<style type="text/css"> | |
a{ | |
cursor: pointer; | |
text-decoration: underline; | |
color: black; |
user nginx nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error_log info; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} |