$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
| "80001":{ | |
| "erc20Proxy": "0x0b47076aaa5246411458fcf85494f41bbfdb8470", | |
| "erc721Proxy": "0xff7ca10af37178bdd056628ef42fd7f799fac77c", | |
| "erc1155Proxy": "0x53d791f18155c211ff8b58671d0f7e9b50e596ad", | |
| "zrxToken": "0x5af2b282779c7d4ffc69ca4e6e16676747f5c56b", | |
| "etherToken": "0x5b5e11e4818cceba3e82ca9b97cd0ab80be75ad3", | |
| "exchange": "0x533dc89624dcc012c7323b41f286bd2df478800b", | |
| "erc20BridgeProxy": "0x5638a4b19f121adc4436de3f0e845173b33b594c", | |
| "forwarder": "0x6dcf02d3a963f22dbf85c4025b86a834fef16c15", | |
| "coordinatorRegistry": "0x6f5b9e0456c4849224c7b59dc15f05c48641c4e3", |
| // Note that this has some limitations, such as looking specifically for adult tickets, | |
| // looking for the given days only in the nearest month that has availability, | |
| // and always choosing the earliest time if several are found within the desired dates. | |
| function setAdultTickets(adultTicketsWanted) { | |
| const adultTicketsCount = parseInt($('.quantity-control.row > input')[0].value, 10); | |
| const ticketChangeIterations = Math.abs(adultTicketsWanted - adultTicketsCount); | |
| const ticketChangeButton = $(`.quantity-control.row > button.typcn-${adultTicketsCount < adultTicketsWanted ? 'plus' : 'minus'}`)[0]; | |
| for (let i = 0; i < ticketChangeIterations; i++) { |
| /******This Gist explains how to create instagram like Gradient color transition in android.******/ | |
| 1. Create some gradient color drawables inside drawable Folder. | |
| a) color1.xml | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <gradient | |
| android:startColor="#c44e4e" | |
| android:endColor="#dcb9b9" | |
| android:angle="0"/> |
| # Create your superuser | |
| $ mongo | |
| > use admin | |
| > db.createUser({user:"someadmin",pwd:"secret", roles:[{role:"root",db:"admin"}]}) | |
| > exit | |
| # Alias for convenience (optional and at your own risk) | |
| $ echo 'alias mongo="mongo --port 27017 -u someadmin -p secret --authenticationDatabase admin"' >> ~/.bash_profile | |
| $ source ~/.bash_profile |
| <!-- Raven.js Config --> | |
| <script src="{{ JS_PATH }}/lib/raven.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| // Ignore list based off: https://gist.github.com/1878283 | |
| var ravenOptions = { | |
| // Will cause a deprecation warning, but the demise of `ignoreErrors` is still under discussion. | |
| // See: https://github.com/getsentry/raven-js/issues/73 | |
| ignoreErrors: [ | |
| // Random plugins/extensions | |
| 'top.GLOBALS', |
| { | |
| "ad": [ | |
| "42.5000", | |
| "1.5000" | |
| ], | |
| "ae": [ | |
| "24.0000", | |
| "54.0000" | |
| ], | |
| "af": [ |
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |
| Moved to: http://github.com/gf3/dotfiles/blob/master/bash_prompt |