Hdelossantos.com

Home

This website serves as the platform for my professional work, and includes my resume and samples of previous accomplishments, it also serves as a blog. Hdelossantos. com outlines my professional and life experience as I try to adapt to life in the mid-west. Additionally, it also serves to give insight into my interests and hobbies.



Verilog SyntaxHighlighter Brush

by Hanly on May.20, 2010, under Code

I was trying to add some sample Verilog code on my website, but the code syntax highlighter I use did not have a brush. I made my own Verilog brush for Alex Gorbatchev's SyntaxHighlighter. Feel free to modify and improve the code. The only thing that I ask is that you share the modifications. /** * SyntaxHighlighter Verilog Brush * http://hdelossantos.com/ * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate * * @version * 1.0.0 (May 20, 2010) * * @copyright * Copyright (C) 2010 Hanly De Los Santos. * * @license * This file is a SyntaxHighlighter brush and is licensed under * the same license as SyntaxHighlighter. * * SyntaxHighlighter is ...

(continue reading...)

Leave a Comment :, , , , , , more...

Using a SQLite Database in Android

by Hanly on Jan.07, 2010, under Tutorials

This tutorial will demonstrate how to use the database adapter created in "Creating a SQLite Database in Android" to add and get data to and from the database to populate a ListView. DatabaseQuery.java : We must first create a class to handle the formatting for the queries. The database adapter takes ArrayLists of String objetcs to add rows to the database, however you will probably want a method to add one cell at a time, then when the contents of the row are completed, add the entire row to the database. We begin by declaring the variables for the ArrayLists. import java.util.ArrayList; import android.content.Context; import android.database.Cursor; /** * This class adds multiple entries to the database and pulls them back * out. */ public class DatabaseQuery ...

(continue reading...)

10 Comments :, , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...