Skip to content

Instantly share code, notes, and snippets.

View stivenson's full-sized avatar
🏠
Working from home

Stivenson stivenson

🏠
Working from home
View GitHub Profile
@stivenson
stivenson / c_p_jdbc.java
Created February 15, 2017 15:17
Conection Postgresql with jdbc
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.sql.ResultSet;
import javax.sql.rowset.CachedRowSet;
import com.sun.rowset.CachedRowSetImpl;
/**
*
* @author beastieux
*/
@stivenson
stivenson / fillfortesting.js
Last active August 12, 2016 17:13 — forked from jonkemp/prepopulate.html
Fill your forms with random data. For testing forms. Requires jQuery.
$( function() {
$('form').find('input:text').val( function(i, val) {
return randomText();
});
$('form').find('input[type="number"]').val( function(i, val) {
return randomInt();
});
@stivenson
stivenson / OperationsDate.php
Created April 26, 2016 19:43
Clase para operaciones sobre fechas
<?php
namespace Helpers;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*
*/
@stivenson
stivenson / Image.php
Last active June 22, 2020 14:03
Clase php para operaciones sobre una imagen en base64 o en Archivo
<?php
namespace Helpers; // Optional
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/