Skip to content

Instantly share code, notes, and snippets.

@apai4
apai4 / __readme.markdown
Created December 5, 2012 17:46 — forked from creatorrr/__readme.markdown
ElasticSearch bootstrap script and node configuration for Ubuntu [https://gist.github.com/2050769]

Installing ElasticSearch with Monit & nginx

This repository contains files tailored for bootstrapping, installing and configuring ElasticSearch with Chef Solo on the Ubuntu operating system, inspired by this article.

Launch and ssh into Ubuntu 12.04 instance (if on ec2, use ami from alestic.com and with a security group as detailed here)

Now, copy the files to the machine and execute the bootstrap script:

@apai4
apai4 / race-test.js
Created June 16, 2017 17:22
unpkg.com 404/503 race condition test
require('isomorphic-fetch');
let arr = ["http://localhost:3000/[email protected]/AsyncSubject.d.ts","http://localhost:3000/[email protected]/AsyncSubject.js","http://localhost:3000/[email protected]/AsyncSubject.js.map","http://localhost:3000/[email protected]/BehaviorSubject.d.ts","http://localhost:3000/[email protected]/BehaviorSubject.js","http://localhost:3000/[email protected]/BehaviorSubject.js.map","http://localhost:3000/[email protected]/InnerSubscriber.d.ts","http://localhost:3000/[email protected]/InnerSubscriber.js","http://localhost:3000/[email protected]/InnerSubscriber.js.map","http://localhost:3000/[email protected]/LICENSE.txt","http://localhost:3000/[email protected]/Notification.d.ts","http://localhost:3000/[email protected]/Notification.js","http://localhost:3000/[email protected]/Notification.js.map","http://localhost:3000/[email protected]/Observable.d.ts","http://localhost:3000/[email protected]/Observable.js","http://localhost:3000/[email protected]/Observable.js.map","http://localhost:3000/[email protected]/Observer.d.ts","http://localhost:3000/[email protected]/Observer.js","http://localhost:3000/[email protected]
### Keybase proof
I hereby claim:
* I am apai4 on github.
* I am albertpai (https://keybase.io/albertpai) on keybase.
* I have a public key ASCXAGRn4-0vUQhiviZc73a8W_eQXp7MsZWDq3sTFbqtxgo
To claim this, I am signing this object: