Idea is that once a VM is instantiated it knows what services he’ll handle.
This file contains hidden or 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
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', '/bin/npm', 'install' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose node symlink /bin/node | |
5 info shrinkwrap file "/data/fxa-auth-server/npm-shrinkwrap.json" | |
6 verbose readDependencies returned deps { 'aws-sdk': 'https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.21.tgz', | |
6 verbose readDependencies returned deps bigint: 'https://registry.npmjs.org/bigint/-/bigint-0.4.2.tgz', | |
6 verbose readDependencies returned deps 'binary-split': 'https://registry.npmjs.org/binary-split/-/binary-split-0.1.2.tgz', | |
6 verbose readDependencies returned deps 'browserid-crypto': 'https://registry.npmjs.org/browserid-crypto/-/browserid-crypto-0.7.0.tgz', |
This file contains hidden or 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
#!/bin/sh | |
# | |
# Source: http://stackoverflow.com/questions/3258243/git-check-if-pull-needed | |
# | |
COUNT=$(git rev-list HEAD...origin/master --count) | |
if [ "$COUNT" -ge "1" ]; then | |
echo 'Must update' | |
git pull |
This file contains hidden or 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
<form> | |
<fieldset> | |
<legend>Check boxes</legend> | |
<input type="checkbox" name="check1" id="check1" value="Option 1"> | |
<label for="check1">Option 1</label><br> | |
<input type="checkbox" name="check2" id="check2" value="Option 2" checked> | |
<label for="check2">Option 2</label><br> | |
<input type="checkbox" name="check3" id="check3" value="Option 3"> | |
<label for="check3">Option 3</label><br> | |
<input type="checkbox" name="check4" id="check4" value="Option 4" checked> <label for="check4">Option 4</label> |
This file contains hidden or 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
<form> | |
<fieldset> | |
<legend>Check boxes</legend> | |
<input type="checkbox" name="check1" id="check1" value="Option 1"> | |
<label for="check1">Option 1</label><br> | |
<input type="checkbox" name="check2" id="check2" value="Option 2" checked> | |
<label for="check2">Option 2</label><br> | |
<input type="checkbox" name="check3" id="check3" value="Option 3"> | |
<label for="check3">Option 3</label><br> | |
<input type="checkbox" name="check4" id="check4" value="Option 4" checked> <label for="check4">Option 4</label> |
This file contains hidden or 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
<form> | |
<fieldset> | |
<legend>Radio buttons</legend> | |
<input type="radio" name="rad1" id="rad1"> | |
<label for="rad1">Option 1</label><br> | |
<input type="radio" name="rad2" id="rad2" checked> | |
<label for="rad2">Option 2</label><br> | |
<input type="radio" name="rad3" id="rad3"> | |
<label for="rad3">Option 3</label><br> | |
<input type="radio" name="rad4" id="rad4"> |
This file contains hidden or 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
/** | |
* The first commented line is your codelet’s title | |
*/ | |
p { | |
color: #f06; | |
font: italic 200% Georgia, serif; | |
transition: 1s cubic-bezier(.2,.6,.8,.8); | |
width: 400px; | |
} |
This file contains hidden or 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
/** | |
* The first commented line is your codelet’s title | |
*/ | |
p { | |
} | |
html:hover p { | |
} |
Based on documentation from ElasticSearch about snapshots
- Create on elasticsearch node a backup folder
mkdir /srv/webplatform/elastic_backup
chown -R elasticsearch:elasticsearch /srv/webplatform/elastic_backup