start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
/* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
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 |
Patch for ruby 1.9.3-p385 without backport-gc:
Patch for ruby 1.9.3-p385 with backport-gc:
rbenv instructions https://gist.github.com/samgranieri/4772546
.htaccess | |
administrator/cache/* | |
administrator/components/com_admin/* | |
administrator/components/com_banners/* | |
administrator/components/com_cache/* | |
administrator/components/com_categories/* | |
administrator/components/com_checkin/* | |
administrator/components/com_config/* | |
administrator/components/com_contact/* | |
administrator/components/com_content/* |
vendor | |
composer.lock |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Calculating different permutations of the democratic path we got in Egypt. | |
from itertools import permutations | |
i = ['دستور', 'برلمان', 'رئاسة'] | |
results = [] | |
for a in permutations(i, 3): |
We will compare ASP.NET and Node.js for backend programming.
Source codes from examples.
This document was published on 21.09.2015 for a freelance employer. Some changes since then (14.02.2016):
async/await
. yield
and await
are used almost in the same way, so I see no point to rewrite the examples.--- /usr/share/doc/gnupg2/examples/systemd-user/gpg-agent-ssh.socket 2017-08-28 03:22:54.000000000 -0700 | |
+++ /home/evan/.config/systemd/user/gpg-agent-ssh.socket 2018-03-21 19:52:48.717871326 -0700 | |
@@ -4,6 +4,7 @@ | |
[Socket] | |
ListenStream=%t/gnupg/S.gpg-agent.ssh | |
+ExecStartPost=/usr/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh | |
FileDescriptorName=ssh | |
Service=gpg-agent.service | |
SocketMode=0600 |