- Supported :
- http://openid.bitbucket.org/openid-connect-session-1_0.html
- Not Supported yet :
- discovery of OP iframe URL and logout URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Note 1: The following CQ curl commands assumes a admin:admin username and password. | |
| Note 2: For Windows/Powershell users: use two "" when doing a -F cURL command. | |
| Example: -F"":operation=delete"" | |
| Note 3: Quotes around name of package (or name of zip file, or jar) should be included. | |
| Uninstall a bundle (use http://localhost:4505/system/console/bundles to access the Apache Felix web console) | |
| curl -u admin:admin -daction=uninstall http://localhost:4505/system/console/bundles/"name of bundle" | |
| Install a bundle | |
| curl -u admin:admin -F action=install -F bundlestartlevel=20 -F |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Take <tab> for word complete only | |
| " The 'complete' option controls where the keywords are searched (include files, tag files, buffers, and more). | |
| " The 'completeopt' option controls how the completion occurs (for example, whether a menu is shown). | |
| if exists('did_completes_me_loaded') || v:version < 700 | |
| finish | |
| endif | |
| let did_completes_me_loaded = 1 | |
| function! s:completes_me(shift_tab) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Custom submit directive that will only submit when all the validation has passed | |
| * for all the fields. This extends on the ng-submit directive provided by AngularJS. | |
| * | |
| * This directive will also remove the 'pristine' flag from all the fields when | |
| * hitting submit, allowing the form to display no errors until the submit button | |
| * is clicked/enter is pressed. | |
| * | |
| * The variable 'app' is the instance of a module. | |
| * E.g. var app = angular.module('my-app', []); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo yum update -y | |
| sudo yum install -y netstat git rubygems gcc kernel-devel make perl | |
| sudo yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel maven | |
| sudo gem install sass | |
| cd /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import ansible.executor.task_queue_manager | |
| import ansible.inventory | |
| import ansible.parsing.dataloader | |
| import ansible.playbook.play | |
| import ansible.plugins.callback | |
| import ansible.vars |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ControllerAdvice | |
| public class CustomResponseEntityExceptionHandler extends ResponseEntityExceptionHandler { | |
| @Override | |
| protected ResponseEntity<Object> handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatus status, WebRequest request) { | |
| List<FieldError> fieldErrors = ex.getBindingResult().getFieldErrors(); | |
| List<ObjectError> globalErrors = ex.getBindingResult().getGlobalErrors(); | |
| List<String> errors = new ArrayList<>(fieldErrors.size() + globalErrors.size()); | |
| String error; | |
| for (FieldError fieldError : fieldErrors) { |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)