@see http://l-w-i.net/t/memcached/command_001.txt
$ memcached-tool localhost dump
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
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 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
float a = fract(dot(v_texCoord.xy, vec2(2.067390879775102, 12.451168662908249))) - 0.5; | |
float s = a * (6.182785114200511 + a*a * (-38.026512460676566 + a*a * 53.392573080032137)); | |
float t = fract(s * 43758.5453); |
@see http://l-w-i.net/t/memcached/command_001.txt
$ memcached-tool localhost dump
<?php | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.7 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
import 'dart:core'; | |
import 'dart:async'; | |
import 'dart:io'; | |
void startServer() { | |
Future<ServerSocket> serverFuture = ServerSocket.bind('0.0.0.0', 55555); | |
serverFuture.then((ServerSocket server) { | |
server.listen((Socket socket) { | |
socket.listen((List<int> data) { | |
String result = new String.fromCharCodes(data); |
*filter | |
# deny all inbound | |
:INPUT DROP [0:0] | |
:FORWARD DROP [0:0] | |
# accept all outbound | |
:OUTPUT ACCEPT [0:0] | |
# accept already connected sessions |
# Zone Apex / Naked Domain / Root Domain redirect to the www subdomain by nginx | |
# Here is a part of nginx config file | |
# | |
# For example on Debian 6 (Squeeze) | |
# /etc/nginx/site-available/default | |
# | |
server { | |
listen 80; ## listen for ipv4 | |
listen [::]:80 default ipv6only=on; ## listen for ipv6 |
新社会人に必須である:
SimpleDB can be downloaded here: http://bcs.wiley.com/he-bcs/Books?action=resource&bcsId=4570&itemId=0471757160&resourceId=14355