Gustavo Cortez
11 years ago
6 changed files with 47 additions and 10 deletions
@ -1,16 +1,17 @@ |
|||
'use strict'; |
|||
|
|||
module.exports = { |
|||
db: "mongodb://localhost/mystery-dev", |
|||
db: "mongodb://localhost/mystery-test", |
|||
app: { |
|||
name: "Mystery - Test" |
|||
}, |
|||
port: '3301', |
|||
bitcoind: { |
|||
user: 'mystery', |
|||
pass: 'real_mystery', |
|||
protocol: 'http', |
|||
host: process.env.BITCOIND_HOST || '127.0.0.1', |
|||
port: process.env.BITCOIND_PORT || '8332', |
|||
port: process.env.BITCOIND_PORT || '18332', |
|||
}, |
|||
network: 'testnet', |
|||
} |
|||
|
@ -0,0 +1,33 @@ |
|||
#!/bin/bash |
|||
|
|||
FIND='find'; |
|||
|
|||
##if [[ "$OSTYPE" =~ "darwin" ]] |
|||
##then |
|||
## FIND='gfind' |
|||
##fi |
|||
|
|||
|
|||
if [ -z "$1" ] |
|||
then |
|||
echo "$0 : find functions references " |
|||
echo "Usage $0 function_name " |
|||
exit; |
|||
fi |
|||
|
|||
EXTRA='' |
|||
|
|||
|
|||
CMD="grep -rnH" |
|||
|
|||
if [ "$2" != '--nocolor' ] |
|||
then |
|||
CMD="$CMD --color=always" |
|||
fi |
|||
|
|||
|
|||
$FIND -L . -name \*.json -not -wholename \*node_modules\* -not -wholename \*public/lib\* -exec $CMD "$1" {} + \ |
|||
-o -name \*.html -not -wholename \*node_modules\* -not -wholename \*public/lib\* -exec $CMD "$1" {} + \ |
|||
-o -name \*.jade -not -wholename \*node_modules\* -not -wholename \*public/lib\* -exec $CMD "$1" {} + \ |
|||
-o -name \*.js -not -wholename \*node_modules\* -not -wholename \*public/lib\* -exec $CMD "$1" {} + |
|||
|
Loading…
Reference in new issue