most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
Handlebars.registerHelper('t', function(i18n_key) { | |
i18n_key = Handlebars.Utils.escapeExpression(i18n_key); | |
var result = I18n.t(i18n_key); | |
return new Handlebars.SafeString(result); | |
}); |
I hereby claim:
To claim this, I am signing this object:
var MongoClient = require('mongodb').MongoClient | |
// | |
// config | |
// | |
var mongoPort = '27017' | |
var mongoHost = 'localhost' | |
var dbName = 'dbName' |
#!/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 "$@" |