fromvega.com

Throwing code to the wind

Slow activity

Hello friends, I’m here just to apologize for the current slow activity of my blog and unfinished projects. I have been kept busy by the company. Altough, I’m going to answer all your comments as soon as I’m free to provide decent answers.

It’s not the first time that I kept from posting here (and old blogs). I’m realizing that maybe a blog is not the ideal thing for me, it’s a buzz when I start it, then I let it cool down, always. I like to maintain a website so I’m thinking in something else then a blog to keep me excited.

See you!cute gay boys
extreme toying
home made porn facial
girls gone wild video
cheating fertile cunt
fuck that twink by xtreme productions
webcam chat dirty two way
red head preteens
indian bitch
preggo cum
redhead amateur porn
science fiction double feature - rocky horror picture show
hardcore pussy fuck
sore throat symptoms
sexy brunette mom
double up poker
racist korean jokes
girl fingered up close
deep throat cock sucking
tight teen virgins
ebony bitch
free european interracial sex
dirty aly pussy
celebs nude fake
children’s cowboy boots
hentai teacher and student
double ended dildos
bestiality sites with video clips
hairy female legs
used car grants pass
cute guy bisex
teen bitch club
pennsylvania breast enhancement before after photo
party cum
cartoon vagina
ass jiggle
blond sex clips
cum covered teacher
skinny girls
fucked by stud
free sexy stories
granny topless
caught camera nude
orgasm moan
gang bang creampie
free big boobs
dad and daughter fuck
gay student sex
average 14 year old male penis size
black jizz
twink gallery
young chubby gay
mom suck
old butts
marc jacobs nylon bag
free interracial gay chat
big boobs in the shower
soulja boy tell ‘em
girl teacher
gay studs bareback
female fitness models
free gay orgies
dog houses for large dogs
wet n wild girls
chubby young chicks
hd shemale
girl masterbating in shower
world sexcom
fishnet stocking gallery
free erotic story archive
group fisting
male teen abs
black ass fucking
ebony tranny gape
best male orgasms
granny girl sex
ebony caramel
lez orgy
chicks with tattoos
male nude models
asian bukkake swallow
brunette pussy fuck hard
paparazzi filth sample clips
enormous cock sex
black granny pussy
naked female soldiers
ass to mouth girls
bi swingers in africa
huge cocks in tight pussies
cosplay sex
afv military
large titted chubby women
cute teen redhead
mom caught daughter sex
nude celebrity wallpapers
free teacher student sex
gay foot parties
gay giants
shaved brunette defloration
sex with a dog
extreme porn video
sexy brunette sex
young hot girls
double sex
young lesbo orgies
leather granny boots
horny lolita
sucking own cock
nude brunettes viewed from behind
little boys in underwear
my first cock
georgia breast lift
but fuck
thongs for young teens
interracial thumbnail galleries
slut of the day
wet teen bikini
sexiest legs
women sucking dick
girls hairy with legs
dead or alive xtreme beach volleyball
free bukkake clips
13 inch cock
my first sex teacher videos
linda lovelace deep throat anal
double d breast implant
girl web cam
briana banks in stockings
huge dildo insertions
coeds nude
log cabin decor
girls next door playboy
porn blowjob
beautiful girls in thongs
naked horny babes
petite gothic blowjobs
skinny brunette girls
gag gangbang
free amatuer porn videos
old town tattoo studio kissimmee fl
japanese free school girls
used office furniture miami
12 year old girl in thongs
extreme anal insertions
nudist russian girls
how to get rid of a sore throat
under the double eagle mp3
korean average penis size
young girl porn
free asian porn movie clips
bestiality games
lesbian sucks pussy
lesbian fisting orgasm
pissing extreme free
fake celebrity porn
cartoon fingering
female hormones for male
bridal shower themes
teen bikinis
cures for soar throats
lesbian sex porn masturbation first time
girls of double d
porn beach
lesbian celebrity
girls cumming
latina porn sites
manual locking hubs removal
eva jizz
horny bbw
sarah ass to mouth
milf sucking dick
largest boobs ever
cock pussy
flexible packaging material suppliers
horse cocks in women
extremely tight laced
in the butt
big cock tranny
tentacle monster porn
lady in shower
sissy boy
monster facial cumshots
horny gothic lesbians
oriental girls gallery
handwriting recognition tablet pcs education school student
xtra large grannies
brazil tshirt womens
naked gothic chick
beastiality photos
cocks in nylons
granny fucks
horny chick
beach boys albums
guys shave armpits
small cheerleader spanked
hairy redhair pussy
moms shemale lover
cheerleaders upskirt
fantasy lingerie crotchless
hairy female legs
mature orgys
bi bukkake
gothic teen jizz
15 year old girls in bikinis
huge uncut cocks
magna cum laude mp3
circus penis
enormous breast implants
hot ebony girls
broadacres swap meet vendors
horny angels
finasteride andro penis
skinny anorexic women
free shemale clips
interracial 69
ass to mouth girls
wolf head tattoo
free breast implants
micro bikinis model galleries
gag bits

  • Comments Off

EasyDrag Update

Hello folks,

it’s just a remark that the EasyDrag plugin for jQuery was finally updated. You can check and download the last version by going to the specific post: http://fromvega.com/wordpress/2007/07/14/easydrag-jquery-plugin/

Thank you for all suggestions and contributions! If I forgot something please let me know!

EasyDrag jQuery Plugin

16/07/08 UPDATE: A new beta version is now available with some bug corrections. Thanks to Randy for the useful feedback!

29/06/08 UPDATE: Handler feature added! Finally I decided to add a little piece of extra functionality to the EasyDrag plugin. It has been constantly requested, so now you can download and test it. I will be releasing it as a final version after some feedback, so please let me know if it works for you.

How does it work?

It’s very simple, first you call the easydrag() method as in the old version and then you call the setHandler() method passing to it the id of the element that will act as the handle. The handle MUST be a child element of the content that will be dragged.

$("#box2").easydrag();
$("#box2").setHandler('handler3');

Files

jquery.easydrag.handler.beta2.js

It has been a while since my last post, mainly because I’m currently a little busy with some projects. In one of these projects I had to add a drag-and-drop behavior to some DOM elements, and for that I have created the EasyDrag jQuery plug-in that I’ll share with you now.

Its main purpose is to add the ability to drag and drop almost any DOM element without much effort. So it’s simple to use and you can also attach handlers both to the drag and to the drop events, which permits you to extend the basic functionality to whatever you need.

Read the rest of this entry »

Easy XML with Java - XML Binding

Recently in a Java project that I’m currently working on it was necessary to read remote XML data. Since my Java skills aren’t too strong and that I’ve never used Java and XML together I hit the road to search for help. I quickly found some articles and tutorials about dealing with XML within Java. I was trying to understand some concepts from one of the articles when I glimpsed the article year and to my surprise: 1996. Wow! I wasn’t looking for an history class so I moved on.

I have found other older articles in the way and even have tried on some code until I was pointed to the right direction by some buddies. That’s a big point of confusion to beginners and inexperienced Java developers in my opinion. There is a ton of information about Java out there and we must take care not to get caught by some old and deprecated functionality. But since I got it right let’s stop complaining and go strait to the point!

Read the rest of this entry »

Scripts

Here you can find a list of all scripts that I have published so far here in my blog. This is just a more concise list of the same posts that you can find in the archives.

EasyDrag jQuery Plugin

EasyDrag is a jQuery plugin aimed to provide a simple way of adding drag-and-drop functionality to DOM elements. It features the ability to set functions to be called on drag and on drop events.

XML Generator DIR

XML Generator DIR is an XML generator that will make a lot easier for you to create XML configuration files. It is focused in the creation of configuration files for image galleries, music players and for any other stuff where you need to list all files in a directory in a simple way.

XML Generator DB

It is a new XML Generator flavor aimed to build XML files based on records from a database table instead of files in a directory.

Auto-Complete Field with jQuery, JSON & PHP

An easy to implement auto-complete field based on the Ajax technology coded with the jQuery JavaScript library. It uses JSON and has an example of how to implement the backend script with PHP.

XML Generator DIR

XML Generator DIR is an XML generator that will make a lot easier for you to create XML configuration files. It is focused in the creation of configuration files for image galleries, music players and for any other stuff where you need to list all files in a directory in a simple way.

This script uses a model file to give you freedom defining your XML file. You can create practically any structure you want and let the script populate it for you.

If you need to read records from a database instead of directories in a filesystem you should check the XML Generator DB instead.

Read the rest of this entry »

XML Generator DB

Here is a new flavor of the XML Generator, called XML Generator DB. This version builds XML files based on records from a database table instead of files in a directory.

I was thinking about embedding this functionality into the original script (now called XML Generator DIR to follow the name pattern) but it would add a lot more complexity in its configuration. The usage is pretty similar to the original, the model is the same but with different placeholders.

If you need to list files from directories in a filesystem instead of a database you should check the XML Generator DIR instead.

Read the rest of this entry »

XML Generator 2.0 - PHP & DOM

Update: I have updated and fixed some minor functionalities of this script and also changed its name to XML Generator DIR to differentiate from the new flavor XML Generator DB. Although the usage still the same you should check the new post instead.

So here it is! The 2nd version of the XML generator that will make a lot easier to create XML configuration files. As the previous version this one is focused in the creation of configuration files for image galleries, music players and related stuff where you need to list all files in a directory. The difference is that in this version you can create almost any XML structure in a simpler way.

While writing the 1st-version post I had this idea to use a model file instead of tweaking PHP variables and arrays. Different from before now you have freedom to define your XML file. You can have how many nested tags you want and also you can have attributes.

Writing this script was fun. I used PHP and the DOM library for the job. I won’t be explaining the code in details here because it already has a lot of comments but I may write a post explaining the DOM in more details based on readers feedback.

Read the rest of this entry »

XML Config File Generator with PHP

Although this version may be an interesting study, you should check the new version instead. XML Generator 2.0 is easier and more powerful than the version presented in this post. Check it by clicking here.

This morning a friend of mine came to me asking for a script to automatically generate an XML config file. He needed a script to read directories of images and build an XML file for each one to use along his Flash gallery. It would save him a lot of time so I decided to write one specially for him. Then I realized that creating this type of XML file is a common task that many of us need to do at least once in a lifetime. Who never needed to create an XML for an image gallery or for a music player?

With this assumption in mind I decided to write a little more generic script. However, it’s still limited to the purpose of reading directories of one level only and for tags without attributes. In this post I’ll explain how you can use the XML generator script. I’ll not explain the code in details because I believe the source code is pretty well documented but if you have any doubt about it, please feel free to leave a message. I’ll be glad to help.

Read the rest of this entry »

SimpleXML debug with var_dump() and print_r()

Recently I was using the SimpleXML extension from PHP5 to build a menu based on information contained in an XML file. I was using XPath queries to retrieve specific nodes from the XML tree and the var_dump() and print_r() functions to debug the results.

I thought my XPath queries were all wrong because the output data wasn’t the expected, all tree was returned instead. I tried many variations without success until I realized that something was wrong with the output. I let the debug functions aside and finished the code. And guess what? The code worked fine!

To confirm it I went to the manual to seek for any related information. No official note but I found an user comment about var_export not working as well!

So that’s it. Don’t use var_dump() nor print_r() to debug the content of SimpleXMLElement objects. Instead use print() or echo() on individual elements.

Update: I have also noticed a similar behavior with the DOM library.

« Previous Entries  

Calendar

February 2010
S M T W T F S
« Sep    
 123456
78910111213
14151617181920
21222324252627
28  
AddThis Social Bookmark Button