THE PUTXI PROJECT

Catalonia is Not Spain

Having fun with CSSH

Posted by putxi on April 24, 2007

I’ve just dicovered CSSH. This little ugly tool can be found in ubuntu, and I presume it would be found on all others.

CSSH stans for Central SSH and its meant for cluster administration. In an environment where you have quite a few servers with almost exactly the same configuration you can type any command in the main window and its typed to every host at the same time. Read the rest of this entry »

Posted in Linux | Leave a Comment »

VMWare and Ubuntu Feisty Fawn incompatibilites

Posted by putxi on April 24, 2007

Last week I upgraded my work computer to the new Feisty. Of course such an upgrade installed a new kernel and it wasn’t supported by vmware…Today I’ve got time and I found this page (VMWare and Ubuntu Feisty) a comenteer says to apply a patch to vmware, I did it and the modules compiled well.

Just to let you know ;)

http://blog.kusw3.com/

Posted in Linux | Leave a Comment »

FileStream and PictureBox

Posted by putxi on April 24, 2007

Have you got problems with a locked File? Are you searching a unlocker aplication? If your file is locked due to a PictureBox you are doing something badly. You must open the PictureBox like in the following example and the message of “this file is used for another person or application” will desapear

Read the rest of this entry »

Posted in C# | Leave a Comment »

Get file names from a directory

Posted by putxi on April 18, 2007

This code is very usefull when you wanna print or show all the files in a directory. You can get all the sames like this esasy way in c sharp. Read the rest of this entry »

Posted in C# | 2 Comments »

Manipulate XML File Data Using C#

Posted by putxi on April 18, 2007

By Anand Narayanaswamy

Nearly 95 percent of .NET applications use XML for various tasks. A main usage for Web developers is combining XML with HTML to display information on Web pages, which relieves them from having to spend a long time editing the content on their Web pages. A single change to an XML file will be reflected across the entire Web site, thus simplifying the development and also greatly reducing the development time.

With the advent of .NET, programming languages such as C#, Visual Basic .NET, and frameworks such as ASP.NET took advantage of XML’s rich features. In fact, the configuration file (web.config), which is used in ASP.NET applications, is completely built upon XML tags.

This article demonstrates how to manipulate an XML file using C#. The manipulation includes displaying, adding, editing, and deleting data from a single XML file using C#. It also shows how to use the Stream class included in the System.IO namespace and various other XML classes included in the System.XML namespace.

Read the rest of this entry »

Posted in C# | 2 Comments »

Create PDF from CrystalReport

Posted by putxi on April 18, 2007

The following code explains how to create a PDF File when you have a CrystalReport

You must use this namespace : using CrystalDecisions.Shared;

CrystalReport2 crReport = new CrystalReport2();
ExportOptions crExpOpt = crReport.ExportOptions;
DiskFileDestinationOptions crExpDest = new DiskFileDestinationOptions();
crExpDest.DiskFileName = “c:\\myexportedreport.pdf”;

crExpOpt.ExportDestinationType = ExportDestinationType.DiskFile;
crExpOpt.ExportFormatType = ExportFormatType.PortableDocFormat ;

crExpOpt.DestinationOptions = crExpDest;
crReport.Export();

Posted in C# | Leave a Comment »

Ubuntu vs Suse vs Fedora

Posted by putxi on March 23, 2007

 

UBUNTU vs. SUSE vs. FEDORAUBUNTU vs. SUSE vs. FEDORAUBUNTU vs. SUSE vs. FEDORA

According to the Linux watching web site, DistroWatch, there are more than 400 Linux and BSD distributions currently available and active. Many of these exist with many versions, giving thousands of possible options to choose from.
The question often arises “Which one is the best?”. As with many simple questions, it does not have a simple answer. Typically, if you ask five random Linux users, you will get five different and conflicting answers. Read the rest of this entry »

Posted in Linux | Leave a Comment »

StreamReaders and StreamWriters

Posted by putxi on March 19, 2007

Text Reader and Text Writer in C#
by: Collin
INTRODUCTION:

This article covers the information of how to read or write (Unicode) character based data through TextReader and TextWriter. The TextReader and TextWriter are base classes. The StreamReader and StringReader derives from the abstract type TextReader. Similarly the StreamWriter and StringWriter derives from the abstract type TextWriter. Read the rest of this entry »

Posted in C# | 1 Comment »

dsd primeraaaaa de provaa

Posted by putxi on March 17, 2007

Posted in CSS, PHP, Visual Basic | Comments Off on dsd primeraaaaa de provaa

tercera pagina

Posted by putxi on March 16, 2007

banner_cataloniaonline.jpg

banner_cataloniatoday.jpg

banner_georgeorwell.jpg

Posted in C# | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.