Skip to content

Instantly share code, notes, and snippets.

The auto-generated password at the bottom of the page should have a label or else the regular end user will have no idea what it is.
The label text should read:
"Auto-generated password. (To customize password, type desired password in the field.)"
Note: this label cannot be located inside the field itself because the autogenerated password is already present when the user first navigates onto the Lock page and will not see the label.
@dayanand-sourcebits
dayanand-sourcebits / gist:1779785
Created February 9, 2012 12:45
Riak Secondary Search
in your console
client=Ripple.client
client['account_types'].enable_index!
This will enable secondary index for the new entries in "account_types" bucket.
I will add this to the Migrate rake as a new task so things propagate to all the servers. Also i will add it to the setup.rake so that subsequent server setups will have this
-------------------------------------------------------------------------------------------
in your code
client=Ripple.client
@dayanand-sourcebits
dayanand-sourcebits / gist:1626596
Created January 17, 2012 13:20
ripple.yml for multiple node
# Configure Riak connections for the Ripple library.
development:
#http_port: 8092
# pb_port: 8087
nodes:
- host: 192.168.31.2
http_port: 8092
- host: 127.0.0.1
http_port: 8091
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:sourcebitsusa/Safewatch-web.git HEAD"
command finished in 4247ms
* executing "if [ -d /home/deploy/apps/development/SafeWatch/shared/cached-copy ]; then cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 9f6549c3b22fab8ea16a06aafbfda8517d27cee6 && git clean -q -d -x -f; else git clone -q [email protected]:sourcebitsusa/Safewatch-web.git /home/deploy/apps/development/SafeWatch/shared/cached-copy && cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git checkout -q -b deploy 9f6549c3b22fab8ea16a06aafbfda8517d27cee6; fi"
servers: ["176.9.24.201"]
Password: