I hereby claim:
- I am hellstad on github.
- I am kevincharm (https://keybase.io/kevincharm) on keybase.
- I have a public key ASABXcIa-0dHMdXEp7DcmVmYhgOipLUfPWrEhKIegl_SFAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Global helper for applying parent state to current template. | |
* Usage: | |
* Invoke superstate(this); in a Template.onCreated callback to inherit parent state. | |
* @param templateInstance {Object} The current Blaze.View object to pass in. | |
* @returns {Object} The state object. | |
*/ | |
superstate = (templateInstance, stateProp) => { | |
// defaults to Template.instance().state | |
if (!stateProp) stateProp = 'state'; |
#!/bin/bash | |
# Automates letsencrypt SSL cert generation/installation on CentOS 7 w/nginx | |
# MIT, use at your own risk blabla | |
[email protected] | |
DOMAIN_NAME=foo.bar.com | |
sudo su - root | |
cd ~ | |
git clone https://github.com/letsencrypt/letsencrypt |
#!/bin/bash | |
# https://gist.github.com/hellstad | |
# This is a script I use to automate deploying my meteor app from my git repository to my server running: | |
# CentOS 6 x86_64 | |
# nginx 1.4.7 | |
# node 0.10.33 | |
# forever 0.13.0 | |
# npm 1.4.28 |