This file contains hidden or 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
scalaVersion := "2.11.8" | |
name := "Simple Scala Project" | |
libraryDependencies += "org.apache.spark" % "spark-mllib_2.11" % "1.5.1" |
This file contains hidden or 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
11-Apr-2016 19:02:04.085 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.32 | |
11-Apr-2016 19:02:04.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 2 2016 19:34:53 UTC | |
11-Apr-2016 19:02:04.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.32.0 | |
11-Apr-2016 19:02:04.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X | |
11-Apr-2016 19:02:04.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.11.4 | |
11-Apr-2016 19:02:04.089 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64 | |
11-Apr-2016 19:02:04.089 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre | |
11-Apr-2016 19:02:04.089 INFO [main] org.apache.catalina.startup.VersionLoggerLi |
This file contains hidden or 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
10:31:45,891 INFO [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.HSQLDialect | |
Starting Liferay Portal Community Edition 6.2 CE GA6 (Newton / Build 6205 / January 6, 2016) | |
10:32:18,139 INFO [localhost-startStop-1][StartupAction:97] There are no patches installed | |
10:32:18,851 INFO [localhost-startStop-1][BaseDB:481] Database supports case sensitive queries | |
10:32:19,333 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyProcessSuite | |
10:32:19,334 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyProperties | |
10:32:19,455 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyDB2 | |
10:32:19,455 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyMySQL | |
10:32:19,456 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyOracle | |
10:32:19,457 INFO [localhost-startStop-1][VerifyProcess:65] Verifying com. |
This file contains hidden or 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
mvn -B archetype:generate \ | |
-DarchetypeRepository=$HOME/.m2/repository \ | |
-DarchetypeArtifactId=liferay-portlet-archetype \ | |
-DarchetypeGroupId=com.liferay.maven.archetypes \ | |
-DarchetypeVersion=6.2.10.15 \ | |
-DartifactId=login-sample-portlet \ | |
-DgroupId=it.dontesta.labs.liferay.portlets \ | |
-Dversion=1.0.0-SNAPSHOT |
This file contains hidden or 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
<!-- Start Google Tag Manager --> | |
<script> | |
var dataLayer = [{ ambiente: 'PROD' }]; | |
</script><!-- Google Tag Manager --><noscript> | |
<iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe> | |
</noscript><script> | |
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXX'); | |
</script> | |
<!-- End Google Tag Manager --> |
This file contains hidden or 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
curl 'http://192.168.142.128/crm1/index.php' \ | |
-H 'Pragma: no-cache' -H 'Origin: http://192.168.142.128' \ | |
-H 'Accept-Encoding: gzip, deflatAccept-Language: it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4' \ | |
-H 'Upgrade-Insecure-Requests: 1' \ | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36' \ | |
-H 'Content-Type: application/x-www-form-urlencoded' \ | |
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'Referer: http://192.168.142.128/crm1/index.php?module=Users&action=Login' \ | |
-H 'Connection: keep-alive' -H 'X-FirePHP-Version: 0.0.6' \ |
This file contains hidden or 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
## | |
## Captcha | |
## | |
# | |
# reCAPTCHA | |
# | |
# | |
# Configuration thema reCaptcha for siteid |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.8 svn-revision#13980. --> | |
<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.8 svn-revision#13980. --> | |
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://v20140708.ws.legalarchive.ifin.it/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://v20140708.ws.legalarchive.ifin.it/" name="LegalArchiveWebServiceService"> | |
<wsp:Policy wsu:Id="LegalArchiveWebServicePortBinding_MTOM_Policy"> | |
<ns1:OptimizedMimeSerialization xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" wsp:Optio |
This file contains hidden or 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 it.dontesta.portal.security.auth; | |
import com.ext.portal.util.PortalExtPropsValues; | |
import com.liferay.portal.kernel.util.CharPool; | |
import com.liferay.portal.kernel.util.Validator; | |
import com.liferay.portal.security.auth.ScreenNameValidator; |
This file contains hidden or 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
require_once('modules/ProspectLists/ProspectList.php'); | |
$rel_name = 'contacts'; | |
$contact_id = 'id_of_contact_to_link from $bean object'; | |
$prospectList_id = 'id_of_prospect_to_affect'; | |
$prospectList = new ProspectList(); | |
//Load a specific opportunity | |
$prospectList->retrieve($prospectList_id); | |
$prospectList->load_relationship($rel_name); |