Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
| "use strict"; | |
| /* ============================================================================ | |
| Gibson Research Corporation | |
| UHEPRNG - Ultra High Entropy Pseudo-Random Number Generator | |
| ============================================================================ | |
| LICENSE AND COPYRIGHT: THIS CODE IS HEREBY RELEASED INTO THE PUBLIC DOMAIN | |
| Gibson Research Corporation releases and disclaims ALL RIGHTS AND TITLE IN | |
| THIS CODE OR ANY DERIVATIVES. Anyone may be freely use it for any purpose. | |
| ============================================================================ | |
| This is GRC's cryptographically strong PRNG (pseudo-random number generator) |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
| Set-ExecutionPolicy RemoteSigned | |
| $mongoDbPath = "C:\MongoDB" | |
| $mongoDbConfigPath = "$mongoDbPath\mongod.cfg" | |
| $url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip" | |
| $zipFile = "$mongoDbPath\mongo.zip" | |
| $unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.4.9" | |
| if ((Test-Path -path $mongoDbPath) -eq $True) | |
| { |
| # less -F: Causes less to automatically exit if the entire file can be displayed on the first screen. | |
| # .zshrc | |
| function printc () { | |
| print "printc" $1 | |
| } | |
| autoload -Uz add-zsh-hook |