Skip to content

Instantly share code, notes, and snippets.

BEGIN MESSAGE.
rgMxTpdir2wKQ9c lTxpaEjclWgMrRd vnuHAns8dC0Ej2W SE1UVZacqQWHhP0
kuyFup7bdew3ck7 kjYf1ze5c85TCKq 6Xr2MZHgg79nHM6 A7SUBxFQpiKMSqT
ZmGBsQcmESGcMLr WTBq86kWnof0BUP Eo9bnW2ioe2whs5 PNA7YUUPU1myjDG
HtnIEFkqCd9QmoS U0M491RaSOiMEQp Rl87z2BwlTVlNtt .
END MESSAGE.
# I can't remember where I originally copied this from...
Netmask Netmask (binary) CIDR Notes
_____________________________________________________________________________
255.255.255.255 11111111.11111111.11111111.11111111 /32 Host (single addr)
255.255.255.254 11111111.11111111.11111111.11111110 /31 Unuseable
255.255.255.252 11111111.11111111.11111111.11111100 /30 2 useable
255.255.255.248 11111111.11111111.11111111.11111000 /29 6 useable
255.255.255.240 11111111.11111111.11111111.11110000 /28 14 useable
255.255.255.224 11111111.11111111.11111111.11100000 /27 30 useable
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms

Keybase proof

I hereby claim:

  • I am michaelbiven on github.
  • I am michaelbiven (https://keybase.io/michaelbiven) on keybase.
  • I have a public key whose fingerprint is 2C90 21C0 3476 EFF5 C1CC 515D D3B5 C266 96C4 3FA7

To claim this, I am signing this object:

@michaelbiven
michaelbiven / main.yml
Created September 14, 2013 18:30 — forked from masahide/main.yml
- name: install python (CentOS 6)
yum: name={{item}} enablerepo=epel state=installed
with_items:
- PyYAML
- python-paramiko
- python-jinja2
when: ansible_os_family == 'RedHat' and ansible_distribution_version.split('.')[0]|int == 6
tags: python
- name: install python26 (CentOS 5)
Nick-Stielaus-MacBook-Pro:chef-repo nstielau$ knife node log nstielau_vagrantup.com
Time Recipe Action Resource Type Resource
Tue May 10 10:25:20 -0700 2011 nginx::source create template proxy.conf
Tue May 10 10:25:20 -0700 2011 nginx::source enable service nginx
Tue May 10 09:50:42 -0700 2011 nginx::source create template /etc/init.d/nginx
@michaelbiven
michaelbiven / foo.rb
Created September 11, 2013 16:01 — forked from fujin/foo.rb
template "/tmp/foo.rb"
source "foo.rb.erb"
cookbook "banana"
end
@michaelbiven
michaelbiven / gist:965244
Created May 10, 2011 19:54
Archive template for Hyde
{% for node in page.writing_node.walk %}
<ul class="archives">
{% for list_page in node.pages %}
{% ifnotequal list_page node.listing_page %}
{% if list_page.display_in_list %}
<li>
{%with list_page as page %}
<h3 class="archives"><a href="{{list_page.url}}">{{ page.title|safe }}</a></h3>
{%endwith%}