- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
#!/bin/bash | |
# Ensure at least one server is provided | |
if [ "$#" -eq 0 ]; then | |
echo "Please provide at least one server as an argument." | |
exit 1 | |
fi | |
# Loop through all provided servers | |
for server in "$@" |
var MongoClient = require('mongodb').MongoClient | |
// | |
// config | |
// | |
var mongoPort = '27017' | |
var mongoHost = 'localhost' | |
var dbName = 'dbName' |
I hereby claim:
To claim this, I am signing this object:
Handlebars.registerHelper('t', function(i18n_key) { | |
i18n_key = Handlebars.Utils.escapeExpression(i18n_key); | |
var result = I18n.t(i18n_key); | |
return new Handlebars.SafeString(result); | |
}); |