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
{ | |
"name": "loopback-playground", | |
"version": "1.0.0", | |
"main": "server/server.js", | |
"engines": { | |
"node": ">=4" | |
}, | |
"scripts": { | |
"lint": "eslint .", | |
"start": "node .", |
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
Meteor.call('sendName', 'John', (err, res) => { | |
if (err) { | |
return Bert.alert(err.reason, 'danger') | |
} | |
return Bert.alert('Name sent successfully!', 'success') | |
}) |
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
docker run --rm --net ${network_name} --link ${container_name}:mongo -v $(pwd)/mongo-dump:/dump mongo bash -c 'mongodump --db xxxx -u xxxxx -p xxxxx --host ${container_name}' | |
# example | |
docker run --rm --net payslips_network --link pays_testing_database:mongo -v $(pwd)/mongo-dump:/dump mongo bash -c 'mongodump --db hrvj_db -u hrvj_user -p jd2jggPFCY4xuEuC --host pays_testing_database' |
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
// Rendered DOM | |
// example.html | |
<div class="product"> | |
<img src="{{productImageSource}}" /> | |
<h4>Title</h4> | |
<p>Price {{productPrice}}</p> | |
<button class="add">+</button> | |
<input type="number" id="quantity" /> | |
<button class="subtract">-</button> | |
<span class="subtotal">Subtotal</span> |
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
https://github.com/googlesamples/assistant-sdk-python/issues/236#issuecomment-383039470 | |
You are trying to install the package to a system folder which you don't have permissions to write to. | |
You have three options(use only one of them): | |
1-setup a virtual env to install the package (recommended): | |
python3 -m venv env | |
source ./env/bin/activate | |
python -m pip install google-assistant-sdk[samples] |
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
.meteor | |
.tmp | |
node_modules/ | |
.build | |
packages/ |
OlderNewer