Skip to content

Instantly share code, notes, and snippets.

View rvazquezglez's full-sized avatar

Raúl Vázquez rvazquezglez

  • Mexico City, Mexico
View GitHub Profile
/// Credits: FRU
(function () {
"use strict";
function makeRowSelector(rowIndex) {
return 'tr:nth-child(' + (2 + rowIndex) + ')';
}
function makeHoursColumnSelector(rowIndex) {
@rvazquezglez
rvazquezglez / gist:6928c1d3efbc79bb62da
Created October 18, 2014 16:49
dependencias de spring
<!-- Dependencias de spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
@rvazquezglez
rvazquezglez / deps hib
Created October 4, 2014 15:36
hibernate deps
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.5.1-Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
@rvazquezglez
rvazquezglez / 17sepweb.xml
Created September 18, 2014 01:45
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="struts_blank" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Struts Blank</display-name>
<context-param>
<param-name>db.url</param-name>
<param-value>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1\;runscript from 'classpath:sql/h2schema.sql'</param-value>
TELEFONO GNP: 52273999
Nombre: Catalina Del Pilar Cárdenas Hernández
Ubicación:Edicicio Central, Planta baja cuadrante "A"
Extensión:3766
Mail:CCHERNAN@GNP.COM.MX
Nombre: María José Bravo Estudillo
Ubicación:AV CERRO DE LAS TORRES N 395 CAMPESTRE CHURUBUSCO COYOACAN MEXICO DF CENTRAL-PB-A
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://bit.ly/1aONFnh -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
@rvazquezglez
rvazquezglez / repos.txt
Created November 29, 2013 22:17
Maven archetype repositories.
Fuse:
http://repo.fusesource.com/maven2
Struts
http://struts.apache.org/
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
<mapping package="net.tecgurus.sistemabancario.model"/>
<mapping resource="net/tecgurus/sistemabancario/model/*.hbm.xml"/>