Skip to content

Instantly share code, notes, and snippets.

View fabian-bouche-liferay's full-sized avatar

Fabian Bouché fabian-bouche-liferay

View GitHub Profile
@fabian-bouche-liferay
fabian-bouche-liferay / addRemoveFilesAndFolderPermissionsForRole.groovy
Created June 27, 2025 20:07 — forked from mraandrews/addRemoveFilesAndFolderPermissionsForRole.groovy
Liferay script for Bulk Adding/Removing DLFolder and DLFileEntry Permission Actions for Roles
/**
* Author: mraandrews@gmail.com
* Name: addRemoveFilesAndFolderPermissionsForRole.groovy
*
* Prerequisits: Runs in the Liferay Admin Gui script console
Run with HTML output selected
*
* Description: This script will add and remove the permissions for folders and files in Liferay's DAM (Documents and Media Feature). You can add a folder ID of the folder
* you'd like to start with, and it will recurse the folders and files, changing their permissions. You need ot target the site you want to do this in, and provide
* the roles and permissions for the files and folders.
@fabian-bouche-liferay
fabian-bouche-liferay / LiferayService.js
Created January 21, 2025 12:12 — forked from lgdd/LiferayService.js
Liferay Service to call REST APIs within Client Extensions
/**
* @module LiferayService
* A service for making API calls to Liferay REST endpoints using Liferay.Util.fetch.
*/
const LiferayService = (() => {
/**
* @private
* Makes an API call using Liferay.Util.fetch.
*
* @async
@fabian-bouche-liferay
fabian-bouche-liferay / Notes.md
Created August 30, 2024 13:48 — forked from chrisvest/Notes.md
PrintCompilation on different versions of HotSpot VM

About PrintCompilation

This note tries to document the output of PrintCompilation flag in HotSpot VM. It was originally intended to be a reply to a blog post on PrintCompilation from Stephen Colebourne. It's kind of grown too big to fit as a reply, so I'm putting it here.

Written by: Kris Mok rednaxelafx@gmail.com

Most of the contents in this note are based on my reading of HotSpot source code from OpenJDK and experimenting with the VM flags; otheres come from HotSpot mailing lists and other reading materials listed in the "References" section.

This