Ozzie.eu

Love to code, although it bugs me.

Free alternative to XML Spy

No comments
Professionally I'm sometimes faced with the challenge of being assigned a task, without having the adequate tools to perform it. An example of that is working with XML files.

Not having acquired a commercial software like XML Spy, I had to find a free alternative. To open XML files, pretty-print them and check for issues, I adopted XML Copy Editor:



XML Copy Editor is a free editor that enables you to:

  • open XML files
  • edit your own XML
  • check if the XML is well formed
  • check the XML for compliance with a given schema
Additionally it also performs advanced user operations like syntax highlighting and XPath evaluations. Overall, XML Copy Editor performs all the tasks necessary for XML analysis.

No comments :

Post a Comment

Delete Blogger pictures from Picasa

No comments
Before this one, I had a couple of blogs hosted on Blogger. The pictures I used on the blogs posts were uploaded into Picasa Web Albums.

Having deleted thos blogs I no longer need the pictures, but the delete option was disabled.

The solution to delete an album associated with a blog is to first delete all the pictures on it, and then delete the album.

You don't need to delete a picture at once. If you select the option "Edit > Reorganize & Reorder", you can select all pictures and delete them.

HTH y'all!

No comments :

Post a Comment

Netbeans and Glassfish Error: CLI130 Could not create domain

No comments
Having Netbeans 6.8 installed, with Glassfish V3 on a laptop running Windows 7, I had the following error upon starting the IDE:

CLI130 Could not create domain

Apparently, the J2EE development server domain could not be created. I opened a command prompt, navigated   to the Glassfish installation folder and executed the "asaadmin create-domain" to create a new domain. Still no luck! A lack of privileges prevented the new domain folder creation.

Next, I repeated the same step, but opened the prompt with the "Run as administrator" option. The domain creation went smoothly and after starting the IDE, the same error appeared because it would always try to start the default domain.

I carried on, manually starting my domain with the "asadmin start-domain" command and connecting to the server as if it was a remote server. But I was not pleased with the solution.

So, I tried to start the IDE with "Run as Administrator" option. And it worked. After all, it had a really simple work around.

No comments :

Post a Comment

Migrating from Wordpress to Blogger

No comments
As you might know, if you were following my blog on the previous address, I've migrated it from Wordpress to Blogger. The reason for doing so is just that Blogger let's you control the page's content with a finer grain, even write raw HTML it you want to.
I managed to get all my posts from Wordpress and import them to blogger. The problem at hand with that is Blogger only supports file exported from another Blogger hosted blog.
The solution I found was as follows:
  1. Export all the posts from the previous site, hosted on Wordpress, to a file in the WordPress eXtended RSS (WXR) format. You can do this going to "Tools > Export" on your Wordpress dashboard.
  2. Next I found this tool, called Wordpress2Blogger, uploaded my WXR file and downloaded a new file, this one on the Blogger RSS format.
  3. Finally, I imported the given file into Blogger, using the available import option,
With three simple steps, not counting the new blog account registration, the migration is successful.

No comments :

Post a Comment

Security on ASP.NET applications

No comments
The evolution of information systems places more and more applications on web-based architectures. The concern with security on this type of systems has to evolve also. Any programmer familiar with Web development is a potential script kiddie. The task of corrupting, destroying or getting illicit access to data cannot be facilitated.

There is a series of guides on Microsoft Developer's Network, on how to protect an ASP.NET application against injection attacks. The guides are pretty straightforward, giving a brief notion of the attacks and also the counter measures one can adopt to prevent them:

Even if you have already deployed applications, it's very well worth it to spend some time analyzing them and integrating the security enhancements explained. Better safe than sorry.

No comments :

Post a Comment

Connecting VPN on Ubuntu

No comments
Sometimes, to insure a service's quality stated on a Service Level Agreement, one has to do interventions on the systems at any given hour of the day. Even late at night, or on holidays.

Given the possibility of connecting to my Workplace´s network through VPN, I faced the challenge of configuring a VPN network client on Ubuntu Linux (9.10). Our communications staff had a ready to use setup for Windows, but that didn't help much. So I took the exported Cisco PCF file and got engaged on this task.

Overall, it wasn't as tricky as I would expect. I performed the following steps:

Packages to install

  1. Open the Synaptic Package Manager

  2. Selected the following packages: vpnc, network-manager-vpnc, KVpnc

  3. Apply the changes


Having finished the installation:



  1. Go to the Application menu, select Internet/KVpnc

  2. Start the new connection wizard and import the pcf file

  3. Save your new profile

  4. Connect and ... that's it!


I tried to import the pcf file directly, without using the wizard and it didn't work. Anyway, when your VPN connection is active, open a terminal window and run the command "ifconfig". Your VPN tunnel should be listed on the active connections.

No comments :

Post a Comment