This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ $DEPLOY == true ]; then | |
ansible-playbook -i inventory/ec2 playbooks/all.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}" -u ec2-user --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/nroute/ec2_mount.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_nroute" --module-path ./modules; | |
AUDOBON_DATASTORE_PUBLIC_IP=`public_ip_from_inventory "&tag_Loadtest_${RUN_ID}:&tag_Role_audobon_datastore"` | |
ansible-playbook -i inventory/ec2 playbooks/nroute/engine.yml --vault-password-file ~/.pass --extra-vars "target=&tag_Loadtest_${RUN_ID}:&tag_Role_nroute audobon_datastore=&tag_Loadtest_${RUN_ID}:&tag_Role_audobon_datastore audobon_cassandra_host={{ hostvars[groups.audobon_datastore.0].ansible_eth0.ipv4.address }} audobon_datastore=${AUDOBON_DATASTORE_PUBLIC_IP}" --extra-vars "@${EXTRA_VARS}" --module-path ./modules; | |
ansible-playbook -i inventory/ec2 playbooks/audobon/datastore.yml --vault-password-file ~/.pass --ex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] [SUCCESSFUL ] org.scalacheck#scalacheck_2.10;1.11.3!scalacheck_2.10.jar (545ms) | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: UNRESOLVED DEPENDENCIES :: | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: com.typesafe.play#play-json_2.10;2.3.2: not found | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: FAILED DOWNLOADS :: | |
[warn] :: ^ see resolution messages for details ^ :: | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ParserBench | |
jiffy 500000 30.70 µs/op | |
Poison 500000 56.78 µs/op | |
UTF-8 unescaping (jiffy) 500000 62.18 µs/op | |
UTF-8 unescaping (Poison) 100000 111.12 µs/op | |
JSX 100000 145.88 µs/op | |
UTF-8 unescaping (JSX) 100000 251.25 µs/op | |
poison git:(master) ✗ MIX_ENV=bench elixir -pa _build/bench/lib/\*/ebin -pa _build/bench/consolidated -S mix benc -d 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{wrapfig} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\fancyhf{} | |
\fancyhead[L]{\vfill | |
\includegraphics[scale=0.5]{logo}\vfill | |
} | |
\fancyhead[R]{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set ttyfast | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chance of feature 1 being enabled: 15% | |
Chance of feature 2 being enabled: 30% | |
Given 10 buyers consuming 10000 QPS, to calculate number of servers required: | |
raw = 45000 | |
therefore: ROUNDUP(10*10000/45000) | |
However feature 1 drops that raw value by 15%, and so does feature 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"t":1446644483532,"o":{"app":{"bundle":"com.cleanmaster.mguard","cat":["IAB3","utilities"],"id":"8d7c218ec8e349f8be5a9bf1981bedff","name":"Clean Master","publisher":{"id":"c311b7ed3e39475b8200ac1e101df8b4","name":"Cheetah Technology Corporation Limited"},"ver":"5.10.9"},"at":2,"badv":["360security.com","baidu.com","com.qihoo.security","duspeedbooster.com","gamesofa.tw","playtika.com","skout.com","ucweb.com"],"bcat":["IAB11","IAB14-1","IAB14-2","IAB14-3","IAB23","IAB24","IAB25","IAB26","IAB6-7","IAB7","IAB7-28","IAB7-3","IAB7-30","IAB7-39","IAB8-18","IAB8-5","IAB9-9","IAB3-7"],"device":{"carrier":"310-120","connectiontype":3,"devicetype":1,"dnt":0,"dpidsha1":"ee7f582d6654a93089bf094c63e4249774bc3c51","geo":{"city":"Oak Park","country":"USA","metro":"602","region":"IL","zip":"60302"},"ip":"66.87.79.22","js":1,"language":"en","make":"samsung","model":"SM-G900P","os":"Android","osv":"5.0","ua":"Dalvik/2.1.0 (Linux; U; Android 5.0; SM-G900P Build/LRX21T)"},"id":"64f8dcba-e07f-4c27-acb0-d60bb3875f6f","imp":[{"bann |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"t":1446647295832,"o":{"app":{"bundle":"com.skout.android","cat":["IAB14","IAB24","lifestyle","social_networking"],"id":"f7cc119ca9e1426c8d162d2d37c8558f","name":"Android Skout New","publisher":{"id":"agltb3B1Yi1pbmNyEAsSB0FjY291bnQY7cCnEgw","name":"Skout"},"ver":"4.16.4"},"at":2,"badv":["anastasiadate.com","club1616.com","eharmony.com","http://www.1malaysia.com.my/my/","https://play.google.com/store/apps/details?id=com.cupid","https://play.google.com/store/apps/details?id=com.zoosk.zoosk","instantcheckmate.com","kakao.com","lowermybills.com","meetme.com","msplash-fr.youmeets.com","msplash-it.meetnfun.com","oraquick.com","phonepayplus.org.uk","skout.com","skype.pereira_skype.com","tagged.com","tracking.adk-mobile.com","wap.mozzi.biz","www.cupid.com","www.kakaotalk.com","www.lowermybills.com","www.meetme.com/meetme_","www.nqmobile.com","www.remotegamesgroup.com","www.skout.com/skout_","www.wechat.com","zoosk.com"],"bcat":["IAB14-1","IAB25","IAB26","IAB7-39","IAB8-18"],"device":{"carrier":"510-10","connectiont |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
» cat ~/ntoggle/docker/quagga/Dockerfile | |
FROM phusion/baseimage | |
MAINTAINER Ashley Penney <apenney@ntoggle.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV HOME /root | |
ENV CUMULUSLINUX_VERSION 2.5 | |
ENV QUAGGA_VERSION 0.99.23.1-1+cl2.5+2 | |
ENV CLCMD_VERSION 0.01-cl2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set ttyfast | |
if has('vim_starting') | |
set runtimepath+=~/.config/nvim/bundle/neobundle.vim/ | |
endif | |
call neobundle#begin(expand('~/.config/nvim/bundle/')) | |