start new:
tmux
start new with session name:
tmux new -s myname
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| Author: | Baiju Muthukadan |
|---|---|
| Email: | baiju.m.mail AT gmail.com |
| Version: | 0.3.2 |
| %!TEX TS-program = xelatex | |
| \documentclass[12pt]{scrartcl} | |
| % The declaration of the document class: | |
| % The second line here, i.e. | |
| % \documentclass[12pt]{scrartcl} | |
| % is a standard LaTeX document class declaration: | |
| % we say what kind of document we are making in curly brackets, | |
| % and specify any options in square brackets. |
| <?php | |
| /** | |
| * Analyzes the output of an XDebug script trace | |
| * | |
| * The original version can be found here: | |
| * http://svn.xdebug.org/cgi-bin/viewvc.cgi/xdebug/trunk/contrib/tracefile-analyser.php?root=xdebug | |
| * | |
| * This version was created to work in PHP 5.2 | |
| */ |
| <div id="video-1-container" class="video"> | |
| <video id="video-1" src="video/html5.mp4" width="480" height="204" controls> | |
| <!-- HTML5 video, for compatible browsers --> | |
| </video> | |
| </div> | |
| <script type="text/javascript"> | |
| Ojay.onDOMReady(function() { | |
| // The video and the container need separate IDs to work around IE6's | |
| // unwillingness to locate video elements. |
| <?php | |
| /** | |
| * Convert a comma separated file into an associated array. | |
| * The first row should contain the array keys. | |
| * | |
| * Example: | |
| * | |
| * @param string $filename Path to the CSV file | |
| * @param string $delimiter The separator used in the file | |
| * @return array |