Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am brandizzi on github.
  • I am brandizzi (https://keybase.io/brandizzi) on keybase.
  • I have a public key whose fingerprint is B78A 2449 0495 9708 70C0 7DFD 3020 5C30 4F90 4874

To claim this, I am signing this object:

var d = new Date(2015, 9, 17, 0);
From 18479a579963d28bce2dec368fa27ffc42c7b1dc Mon Sep 17 00:00:00 2001
From: Adam Victor Nazareth Brandizzi <adam.brandizzi@liferay.com>
Date: Tue, 2 Sep 2014 14:23:53 -0300
Subject: [PATCH 1/6] LPS-49765 Using specific keys for positions (days of
weeks have different gender in some languages so the default keys appear
wrong)
---
.../docroot/WEB-INF/src/content/Language.properties | 5 +++++
.../docroot/calendar_booking_recurrence_container.jspf | 10 +++++-----
String[] assetTagNames = AssetTagLocalServiceUtil.getTagNames(
className, classPK);
document.addText(Field.ASSET_TAG_NAMES, assetTagNames);
List<AssetTag> assetTags = AssetTagLocalServiceUtil.getTags(
className, classPK);
long[] assetTagsIds = StringUtil.split(
ListUtil.toString(assetTags, AssetTag.TAG_ID_ACCESSOR), 0L);
@Override
public String[] getTagNames(String className, long classPK)
throws SystemException {
return getTagNames(getTags(className, classPK));
}
@brandizzi
brandizzi / add-to-todoist-bookmarklet.js
Created May 11, 2020 01:32
Bookmarklet to add the current page's link to Todoist Inbox (does not work with Firefox in CSP-secured pages, sadly)
javascript:(function(){window.location.href='https://todoist.com/add?content='+encodeURI(window.location.href);})()