Posted in Programming on August 22nd, 2010 by Nick – Be the first to comment
Not just another android port scan app. Net Scan strives to be the fastest one out there. On top of just scanning ports, Net Scan also utilizes network discovery to scan an entire network for IP aware devices (fancy for computers, routers, smartphones, printers, scanners, gaming consoles, or whatever). Once a list of devices is found, they can be clicked on to run a port scan.
read more »
Posted in Flex, web-dev on August 19th, 2009 by Nick – 1 Comment
BlazeDS allows us to use RPC to access our Java objects from an Adobe Flex or AIR app. This is a simple example that allows you to have a remote java object which you will make calls upon from Flex (or Actionscript). There are plenty of BlazeDS remoting tutorials out there. This HOW-TO shows how to create an actionscript class to handle your remote objects and handlers as well as linking more than one method to a single remote object.
read more »
Posted in Flex on July 27th, 2009 by Nick – 4 Comments
This is a short example of how to play an audio clip and loop it in Flex, and works with AIR. Some of this code is taken from the Sound class example in the Adobe Flex Language Reference docs.
You can paste this into pretty much any function, like an init():
var soundReq:URLRequest = new URLRequest("someSound.mp3");
var sound:Sound = new Sound();
var soundControl:SoundChannel = new SoundChannel();
sound.addEventListener(Event.COMPLETE, completeHandler);
sound.addEventListener(Event.ID3, id3Handler);
sound.addEventListener(IOErrorEvent.IO_ERROR, ioSoundErrorHandler);
sound.addEventListener(ProgressEvent.PROGRESS, progressHandler);
sound.load(soundReq);
soundControl = sound.play(0, int.MAX_VALUE);
read more »
Posted in iBatis, Java, Programming on March 29th, 2009 by Nick – 4 Comments
iBatis is a framework used to map a SQL database to POJOs (Plain Old Java Objects). iBatis is one framework of many out there, others include Hibernate. Recently I’ve been tasked with a new webapp which will connect to a very old legacy database. One of the first things I decided to do was look through the database and figure out what data I needed, and then design and create java objects to hold said data. I chose iBatis for this particular project because I was dealing with a legacy database which I had little control over, and iBatis can give me the flexibility I need in case I need to write complex and specific SQL to construct my objects.
read more »
Posted in php on March 15th, 2009 by Nick – 9 Comments