Skip to content

Instantly share code, notes, and snippets.

View gist:f61b161bf0330f95bf89fac31113d122
https://www.javacodegeeks.com/2015/11/hamcrest-matchers-tutorial.html
https://www.leveluplunch.com/java/examples/#java-hamcrest
https://www.leveluplunch.com/java/examples/hamcrest-collection-matchers-junit-testing/
@isidromerayo
isidromerayo / datasource.xml
Last active Aug 18, 2017 — forked from aVolpe/datasource.xml
Jboss sample informix datasource
View datasource.xml
<datasource jta="true" jndi-name="java:jboss/datasources/CopacoBillingDS" pool-name="CopacoBillingDS" enabled="true" use-ccm="true">
<connection-url>jdbc:informix-sqli://10.13.200.41:9088/copaco_prueba01:informixserver=copacodb</connection-url>
<driver>informix-jdbc</driver>
<security>
<user-name>USER</user-name>
<password>PASS</password>
</security>
</datasource>
View gist:11942c1677074adeedf9186cab59a822
<properties>
<junit4.version>4.11</junit4.version>
<hamcrest.version>1.3</hamcrest.version>
<mockito.version>1.10.19</mockito.version>
</properties>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
View gist:8eb386e9802e4c8f589c0715323dc0be
http://www.vogella.com/tutorials/JavaPersistenceAPI/article.html
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JSF_Tutorial
View gist:5a5370731f381ffe0e9ec2e906c5180e
Phan is a static analyzer for PHP - https://github.com/etsy/phan
Exakat provides a real time PHP code analyser - https://www.exakat.io/
Tuli a static analysis engine - https://github.com/ircmaxell/tuli
@isidromerayo
isidromerayo / weblogic.xml
Created Dec 7, 2016
Weblogic 12.1.3 enable Jersey 2.5.1
View weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app
xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd">
<wls:library-ref>
<wls:library-name>jax-rs</wls:library-name>
<wls:specification-version>2.0</wls:specification-version>
<wls:exact-match>false</wls:exact-match>
</wls:library-ref>
@isidromerayo
isidromerayo / maven.profile.xml
Last active Dec 7, 2016
Maven profiles Weblogic 12.1.3
View maven.profile.xml
<profile>
<id>weblogic-1213</id>
<build>
<plugins>
<plugin>
<groupId>com.oracle.weblogic</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>${weblogic.version.server}</version>
<!-- You can find and redefine the following variables in the parent
pom file arccording to your environment. oracleMiddlewareHome oracleServerUrl
@isidromerayo
isidromerayo / references_links.md
Last active Apr 26, 2016
Understanding Java Security and JAAS
View references_links.md
View gulpfile.js
# Instalar gulp
$ npm install -g gulp
# Hacer link a nuestro proyecto
$ npm link gulp --save-dev
# Crear package.json
{
"name": "name_you_want",
View gist:d9602ee59b2204fb3d3d
Notice: Undefined index: refrom in /var/www/deploy/portal/releases/20141216145713/login/linkedin/connect.php on line 15 Notice: Undefined index: refrom in /var/www/deploy/portal/releases/20141216145713/login/linkedin/connect.php on line 17 Notice: Undefined index: refrom in /var/www/deploy/portal/releases/20141216145713/login/linkedin/connect.php on line 19 Notice: Undefined index: oauth in /var/www/deploy/portal/releases/20141216145713/login/linkedin/connect.php on line 59 Fatal error: Uncaught exception 'LinkedInException' with message 'LinkedIn->retrieveTokenAccess(): bad data passed, string type is required for $token, $secret and $verifier.' in /var/www/deploy/portal/releases/20141216145713/includes/linkedin.php:868 Stack trace: #0 /var/www/deploy/portal/releases/20141216145713/login/linkedin/connect.php(59): LinkedIn->retrieveTokenAccess('77--4b7816d6-c0...', NULL, '57379') #1 {main} thrown in /var/www/deploy/portal/releases/20141216145713/includes/linkedin.php on line 868
You can’t perform that action at this time.