start new:
tmux
start new with session name:
tmux new -s myname
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |
| execute typical instruction 1 nanosec 1/1,000,000,000 sec | |
| fetch from L1 cache memory 0.5 nanosec | |
| branch misprediction 5 nanosec | |
| fetch from L2 cache memory 7 nanosec | |
| Mutex lock/unlock 25 nanosec | |
| fetch from main memory 100 nanosec | |
| send 2K bytes over 1Gbps network 20,000 nanosec | |
| read 1MB sequentially from memory 250,000 nanosec | |
| fetch from new disk location (seek) 8,000,000 nanosec | |
| read 1MB sequentially from disk 20,000,000 nanosec |
| /* | |
| * Note: This template uses some c++11 functions , so you have to compile it with c++11 flag. | |
| * Example:- $ g++ -std=c++11 c++Template.cpp | |
| * | |
| * Author : Akshay Pratap Singh | |
| * Handle: code_crack_01 | |
| * | |
| */ | |
| /******** All Required Header Files ********/ |
| /* | |
| * Note: This template uses some c++11 functions , so you have to compile it with c++11 flag. | |
| * Example:- $ g++ -std=c++11 c++Template-Codejam.cpp | |
| * | |
| * Author : Akshay Pratap Singh | |
| * Handle: code_crack_01 | |
| * | |
| */ | |
| /******** All Required Header Files ********/ |
| #!/bin/bash | |
| # @link https://gist.github.com/mattscilipoti/8424018 | |
| # | |
| # Called by "git push" after it has checked the remote status, | |
| # but before anything has been pushed. | |
| # | |
| # If this script exits with a non-zero status nothing will be pushed. | |
| # | |
| # Steps to install, from the root directory of your repo... |
This gist lets you keep IPython notebooks in git repositories. It tells git to ignore prompt numbers and program outputs when checking that a file has changed.
To use the script, follow the instructions given in the script's docstring.
For further details, read this blogpost.
The procedure outlined here is inspired by this answer on Stack Overflow.
| """ Simple IPC benchmark test | |
| Test throughput of 512 KB messages sent between two python processes using: | |
| - multiprocessing pipe | |
| - zeroMQ PUSH/PULL | |
| - zeroMQ DEALER/DEALER | |
| Result: |
This is not an official report nor reliable benchmark. The testing environments are vary. These EC2 latencies are measured by http://aws-latency.altaircp.com/ Thanks to my friends!
If you want to add a result from your location, feel free to comment on this gist. Please note that you need to try it several times to get an accurate result.
Asia Pacific (Seoul) ap-northeast-2 19ms
Asia Pacific (Tokyo) ap-northeast-1 92ms