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.dao.orm.ActionableDynamicQuery | |
import com.liferay.portal.kernel.exception.PortalException | |
import com.liferay.portal.kernel.exception.SystemException | |
import com.liferay.portal.util.PropsValues | |
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil | |
import com.liferay.portal.kernel.dao.orm.DynamicQuery | |
import com.liferay.portal.kernel.dao.orm.Conjunction | |
import com.liferay.portlet.journal.service.persistence.JournalArticleResourceActionableDynamicQuery | |
import com.liferay.portlet.journal.service.JournalArticleServiceUtil |
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.sachinhandiekar.examples; | |
import org.apache.camel.Exchange; | |
import org.apache.camel.Processor; | |
import org.apache.camel.builder.RouteBuilder; | |
/** | |
* @author Sachin Handiekar | |
*/ | |
public class QuartzRoute extends RouteBuilder { |
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
#!/bin/bash | |
# Installation: | |
# | |
# 1. vim /etc/ssh/sshd_config | |
# PrintMotd no | |
# | |
# 2. vim /etc/pam.d/login | |
# # session optional pam_motd.so | |
# |
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.cluster.ClusterExecutorUtil | |
import com.liferay.portal.kernel.cluster.ClusterNode | |
import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayInputStream | |
import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream | |
import com.liferay.portal.kernel.util.DateUtil | |
import com.liferay.portal.kernel.util.GetterUtil | |
import com.liferay.portal.kernel.util.PropsUtil | |
import com.liferay.portal.kernel.util.StringBundler | |
import com.liferay.util.transport.DatagramHandler | |
import com.liferay.util.transport.MulticastDatagramHandler |
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
#at the branch you want to rebase into "master > mybranch" | |
git rebase -s recursive -X theirs master | |
#then a binary conflict will happen so now you must checkout the version of the binary you want | |
git co --theirs -- my-binary-file.bin | |
git co --ours -- my-binary-file.bin | |
#now you must stage the file | |
git add my-binary-file.bin |