Shell & Git
HTML, CSS & other styling
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "description": "MBS Third Generation Service Layer", | |
| "version": "1.0.0", | |
| "title": "MOO Business Service API" | |
| }, | |
| "basePath": "/api", | |
| "schemes": ["https"], | |
| "produces": ["application/json"], |
| #### What does this PR do? | |
| Short explanation of what this merge request does. | |
| #### Where should the reviewer start? | |
| - `file1.js` - changed this & that | |
| - `file2.css` - other changes | |
| #### How should this be manually tested? | |
| - Go to page x | |
| - Check: that you should see z |
| // *** clicking the button to create paper clips *** | |
| const button = document.getElementById('btnMakePaperclip'); | |
| var createPaperclips = function(numberOfPaperclips) { | |
| var button = document.getElementById('btnMakePaperclip'); | |
| var max = numberOfPaperclips || 100; | |
| for (var i = 0 ; i < max ; i++) { | |
| button.click(); | |
| } | |
| } |
Shell & Git
HTML, CSS & other styling
| # These are my personal settings; I really like my command line and I like to have my shortcuts | |
| # and my color coding schemes. I also keep cmd line hints for some commands, for ease-of-use. | |
| # ! not everything will be relevant to you, please check what you're adding | |
| # Use at your own risk. | |
| export PATH="/usr/local/sbin:$PATH" | |
| export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) | |
| if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| . `brew --prefix`/etc/bash_completion |
| //basic pen | |
| //HTML | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <script src='https://wzrd.in/standalone/expect@latest'></script> | |
| <script src='https://wzrd.in/standalone/deep-freeze@latest'></script> |
| alert(_.startCase('USER_NAME')); | |
| urlList = []; | |
| urlList = [...urlList, '33', '44', '55']; | |
| urlList: _.remove(urlList, (url) => {return url === '44';}); | |
| alert(urlList); |
| React HOC stuff | |
| http://www.bennadel.com/blog/2888-experimenting-with-higher-order-components-in-reactjs.htm |
If you want to change the name of a branch
git branch -m new_nameIf you want to change the last commit message:
git commit --amendgit commit --amend -m "New commit message"| - http://stackoverflow.com/questions/23521212/openam-how-to-direct-a-user-to-own-portal-log-in-page-instead-of-openam-log-in | |
| - http://openam.forgerock.org/doc/bootstrap/dev-guide/#sec-custom-attr | |
| - http://stackoverflow.com/questions/30839192/openam-cant-login-with-custom-authentication-module | |
| -> https://github.com/ForgeRock/openam-auth-sample | |
| Defining authentication services: | |
| - https://backstage.forgerock.com/#!/docs/openam/12.0.0/admin-guide/chap-auth-services | |
| Admin guide - I think setting up login pages? |