Skip to content

Instantly share code, notes, and snippets.

View ilopez's full-sized avatar

Israel Lopez ilopez

View GitHub Profile
@ilopez
ilopez / BLOB not found
Last active August 29, 2015 14:14
Firebird BLOB Errors in 2.5.3.26778
Starting Against Test DB: Z:\temp\TESTDB.FDB sysdba masterkey
Enter to Start
Dropping Database
Creating Database
Applying Schema
Records Written: 1
Simulating a Close
Operation requires an open and available connection.
Stopped... Press Enter to Check for Validation.
@ilopez
ilopez / SO22141769.jrxml
Created March 5, 2014 15:47
JasperReports Locale Formatting Patterns
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="SO22141769" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="5dec3fda-cd33-4882-bba3-15f2a3bd0869">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString>
<![CDATA[select CAST('now' as timestamp) as ts, CAST('127647853.233' as double precision) as num from rdb$database]]>
</queryString>
<field name="TS" class="java.sql.Timestamp"/>
<field name="NUM" class="java.lang.Double"/>
@ilopez
ilopez / AndroidManifest.xml
Created July 20, 2013 20:20
Recording Activity Manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ilopez.android.troubleshooter"
android:versionCode="1"
android:versionName="1.0"
>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/camera: camera view
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/RecordActivity: init recorder
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
07-20 13:16:32.412 8733-8733/com.ilopez.android.troubleshooter W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
07-20 13:16:32.412 8733-8733/c
@ilopez
ilopez / RecordActivity.java
Created July 20, 2013 20:17
Testing JavaCV on Android
package com.ilopez.android.troubleshooter;
/**
* Created by User on 7/20/13.
*/
import android.app.Activity;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.hardware.Camera;
import android.hardware.Camera.PreviewCallback;