Ensure you have these:
- Visual Studio Code
- Dendron
Ensure you have these:
{ | |
"APIGatewayServiceRolePolicy": { | |
"Arn": "arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy", | |
"AttachmentCount": 0, | |
"CreateDate": "2019-10-22T18:22:01+00:00", | |
"DefaultVersionId": "v6", | |
"Document": { | |
"Statement": [ | |
{ | |
"Action": [ |
➜ ~ rbenv global 1.9.3-p286 | |
➜ ~ rbenv rehash | |
➜ ~ gem install pry | |
Fetching: coderay-1.0.8.gem (100%) | |
Fetching: slop-3.4.3.gem (100%) | |
Fetching: method_source-0.8.1.gem (100%) | |
Fetching: pry-0.9.11.4.gem (100%) | |
Successfully installed coderay-1.0.8 | |
Successfully installed slop-3.4.3 | |
Successfully installed method_source-0.8.1 |
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 |
#!/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 | |
# |
from lxml import objectify | |
from django import template | |
from django.template.loader import render_to_string | |
register = template.Library() | |
class XMLNode(template.Node): | |
def __init__(self, xml): |