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
com.liferay.portal.search.elasticsearch7.internal.ElasticsearchIndexSearcher=INFO |
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
${portalUtil.getCurrentURL(theme_display.getRequest())} |
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
import com.liferay.portal.kernel.util.* | |
import com.liferay.portal.kernel.service.* | |
import com.liferay.portal.kernel.model.* | |
companyId = PortalUtil.getCompanyId(actionRequest) | |
group = GroupLocalServiceUtil.getGroup(companyId, GroupConstants.GUEST) | |
out.println(group) |
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
com.liferay.portal.kernel.cache.MultiVMPoolUtil.clear(); | |
com.liferay.portal.kernel.cache.SingleVMPoolUtil.clear(); |
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
for file in some_prefix*.css; do mv $file "_${file%.css}.scss"; done; |
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
/* Reset properties used by the original loader */ | |
.lfr-spa-loading .lfr-spa-loading-bar, .lfr-spa-loading-bar { | |
-moz-animation: none 0 ease 0 1 normal none running; | |
-webkit-animation: none 0 ease 0 1 normal none running; | |
-o-animation: none 0 ease 0 1 normal none running; | |
-ms-animation: none 0 ease 0 1 normal none running; | |
animation: none 0 ease 0 1 normal none running; | |
display: block; | |
-webkit-transform: none; |
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
def exec = { cmd -> def p = cmd.execute(); out.leftShift(new SequenceInputStream(p.getErr(), p.getIn())) } | |
exec('df -h -a -i -T') |
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
import com.liferay.portal.kernel.language.UTF8Control; | |
import java.util.Enumeration; | |
import java.util.ResourceBundle; | |
import org.osgi.service.component.annotations.Component; | |
@Component( | |
immediate = true, property = { "language.id=" /* DO NOT REMOVE this property value */}, | |
service = ResourceBundle.class |
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
$('.portlet-column-content').css('border', '1px dashed #fd3f92').css('margin', '1px').css('padding','1px') |
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
import com.liferay.portal.util.* | |
import com.liferay.portal.service.* | |
import com.liferay.portal.model.* | |
PORTLET_ID = '56' | |
companyId = PortalUtil.getCompanyId(actionRequest) | |
groups = GroupLocalServiceUtil.getGroups(companyId, GroupConstants.ANY_PARENT_GROUP_ID, true) |
NewerOlder