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
public static String pagePathUrl(String path) { | |
if(path == null || path.equals("") || path.equals("#") || checkIfExternalURL(path)) { | |
return path; | |
} else { | |
try { | |
Session session = getSession(); | |
log.debug("HtmlUtils checking if path exists:" + path); | |
if (session.itemExists(path)) { | |
String redirectPropPath = path + "/jcr:content/redirectTarget"; | |
if(session.itemExists(redirectPropPath)) { |
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
### Keybase proof | |
I hereby claim: | |
* I am kevdog on github. | |
* I am KevDog (https://keybase.io/KevDog) on keybase. | |
* I have a public key whose fingerprint is 852B 1453 918F D6B0 2FF3 FDCD 4896 C1C5 F11E 6612 | |
To claim this, I am signing this object: |
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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
%% ex: ft=erlang ts=4 sw=4 et | |
[ | |
%% Riak Client APIs config | |
{riak_api, [ | |
%% pb_backlog is the maximum length to which the queue of pending | |
%% connections may grow. If set, it must be an integer >= 0. | |
%% By default the value is 5. If you anticipate a huge number of | |
%% connections being initialised *simultaneously*, set this number | |
%% higher. |
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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
%% ex: ft=erlang ts=4 sw=4 et | |
[ | |
%% Riak Client APIs config | |
{riak_api, [ | |
%% pb_backlog is the maximum length to which the queue of pending | |
%% connections may grow. If set, it must be an integer >= 0. | |
%% By default the value is 5. If you anticipate a huge number of | |
%% connections being initialised *simultaneously*, set this number | |
%% higher. |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: | |
linear-gradient(-45deg, rgb(255, 223, 125) 22px, #fff2ca 22px, #fff2ca 24px, transparent 24px, transparent 67px, #fff2ca 67px, #fff2ca 69px, transparent 69px), | |
linear-gradient(225deg, rgb(255, 223, 125) 22px, #fff2ca 22px, #fff2ca 24px, transparent 24px, transparent 67px, #fff2ca 67px, #fff2ca 69px, transparent 69px)0 64px; | |
background-color:rgb(255, 223, 125); | |
background-size: 64px 128px |