This file contains 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
CREATE OR REPLACE FUNCTION add_system_permission(id VARCHAR, permissions VARCHAR | |
) RETURNS DECIMAL AS ' | |
INSERT INTO systempermissions_actions(systempermissions_id, actions) | |
SELECT s.id, $2 | |
FROM systempermissions s | |
WHERE | |
EXISTS (SELECT userid FROM systempermissions WHERE userid = $1) | |
AND | |
NOT EXISTS (SELECT systempermissions_id |
This file contains 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
extractProxySettings() { | |
local proxyUrl=$1 | |
local proxyType=$2 | |
local PROXY_WITH_USER_AUTH_REGEXP="https?://([^:]*):?(.*)@([^:]*):?(.*)" | |
local PROXY_WITHOUT_USER_AUTH_REGEXP="https?://([^:]*):?(.*)" | |
if [ -n "$proxyUrl" ]; then | |
local proxyUserName | |
local proxyPassword |
This file contains 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
FROM codenvy/ubuntu_jdk8 |
This file contains 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
FROM codenvy/jdk8_maven3_tomcat8 |
This file contains 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
package com.company | |
class TestSnippet {} |