create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
alias ndebug="node-inspector -cli --web-port 4444 --web-host 192.168.33.10 --debug-port 5050 --debug-brk --save-live-edit &" | |
alias ndebug-bind="kill -s USR1 " |
# Number of connections (max 8000) | |
ulimit -n 8000 | |
# Memory limit for V8 (in MB) | |
node --max-old-space-size=1024 |
NameVirtualHost *:80 | |
NameVirtualHost *:443 | |
<VirtualHost *:80> | |
DocumentRoot /dev/null | |
ProxyRequests off | |
ProxyPreserveHost On | |
ServerName npm.skunkhenry.com | |
<Location /> | |
ProxyPass http://localhost:4873/ |
// Common JQuery helper methods | |
// Author [email protected] | |
/** | |
* Mark element as disabled. | |
* Note: this method is not removing custom events connected to element. | |
* | |
* @param disabled boolean - true if element should be disabled | |
* @returns {$} | |
*/ |
var namePattern=/fh_testing/; | |
var names = db.getCollectionNames().filter(function (collection) { return namePattern.test(collection) }); | |
for(var i = 0; i < names.length; i++) { | |
db.getCollection(names[i]).drop(); | |
} |
cd ~/Workspace/apiman/ | |
mvn clean install -Dmaven.javadoc.skip=true -DskipTests=true -P \!java8 | |
cd ~/Workspace/apiman/tools/server-all | |
#mvn clean install -Pinstall-all-wildfly9 | |
./target/wildfly-9.0.2.Final/bin/standalone.sh | |
cd ~/Workspace/apiman/manager/ui/war | |
gulp |
_.templateSettings = { | |
evaluate: /{{+([\s\S]+?)}}/g, | |
interpolate: /{{([\s\S]+?)}}/g, | |
escape: /{{-([\s\S]+?)}}/g | |
}; |
#!/bin/bash | |
# Helper to create persistent volumes. | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# The first argument to this script sets the number of persistent volumes to be | |
# created, default 1. | |
readonly N=${1:-1} |
## Secrets generator for RHMAP | |
TEMP_KEY_STORE=/tmp/kubernetes-secrets | |
mkdir -p $TEMP_KEY_STORE | |
## Generate keys | |
ssh-keygen -b 1024 -N '' -f $TEMP_KEY_STORE/id_rsa | |
# Create secrets | |
oc secrets new gitlab-keys repo-prv=$TEMP_KEY_STORE/id_rsa \ |