$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
| // 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 |