This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
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
| - name: ensure github.com is a known host | |
| lineinfile: | |
| dest: /root/.ssh/known_hosts | |
| create: yes | |
| state: present | |
| line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
| regexp: "^github\\.com" |
| <div id="app"> | |
| <section class="dropdowns"> | |
| <div id="dd1"></div> | |
| <div id="dd2"></div> | |
| </section> | |
| <section class="blocks"> | |
| <h4>Options</h4> | |
| <div id="options"></div> |
These rules are adopted from the AngularJS commit conventions.
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
I hereby claim:
To claim this, I am signing this object:
| def getParameter(param_name): | |
| """ | |
| This function reads a secure parameter from AWS' SSM service. | |
| The request must be passed a valid parameter name, as well as | |
| temporary credentials which can be used to access the parameter. | |
| The parameter's value is returned. | |
| """ | |
| # Create the SSM Client |
| #!/usr/bin/env bash | |
| # This script is meant to build and compile every protocolbuffer for each | |
| # service declared in this repository (as defined by sub-directories). | |
| # It compiles using docker containers based on Namely's protoc image | |
| # seen here: https://github.com/namely/docker-protoc | |
| set -e | |
| REPOPATH=${REPOPATH-/opt/protolangs} | |
| CURRENT_BRANCH=${CIRCLE_BRANCH-"branch-not-available"} |