Skip to content Skip to sidebar Skip to footer
Showing posts with the label Perl

Efficiently Remove Lines From Filea That Contains String From Fileb

FileA contains lines FileB contains words How can I efficiently remove lines from FileB containing … Read more Efficiently Remove Lines From Filea That Contains String From Fileb

Combine Lines With Matching Keys

I have a text file with the following structure ID,operator,a,b,c,d,true WCBP12236,J1,75.7,80.6,65.… Read more Combine Lines With Matching Keys

Integration Testing For A Web App

I want to do full integration testing for a web application. I want to test many things like AJAX, … Read more Integration Testing For A Web App

Calculating The Distance Between Atomic Coordinates

I have a text file as shown below ATOM 920 CA GLN A 203 39.292 -13.354 17.416 1.00 55.7… Read more Calculating The Distance Between Atomic Coordinates

Recursively Traverse Directory And Replace Function Calls

I would like to traverse a directory recursively and find all files that have at least one of the f… Read more Recursively Traverse Directory And Replace Function Calls

How To Get Unique Values Set From A Repeating Values List

I need to parse a large log file (flat file), which contains two column of values (column-A , colu… Read more How To Get Unique Values Set From A Repeating Values List

Convert Msword To Xml/html On Linux

I need to convert MSWord file into XML or HTML, while preserving the structure of the file (mainly … Read more Convert Msword To Xml/html On Linux

Script To Get The Max From Column Based On Other Column Values

I need a script to read in a csv file(orig.csv) and output a reformatted csv file(format.csv) The … Read more Script To Get The Max From Column Based On Other Column Values

Is There Any Way Of Quickening Monkeyrunner Script Execution?

I've got a particular monkeyrunner script (in Jython), which I use for taking screenshots or to… Read more Is There Any Way Of Quickening Monkeyrunner Script Execution?

How Do I Grab A Thumbnail Screenshot Of Many Websites?

I have a list of 2500 websites and need to grab a thumbnail screenshot of them. How do I do that? I… Read more How Do I Grab A Thumbnail Screenshot Of Many Websites?

Please Introduce A Multi-processing Library In Perl Or Ruby

In python we can use multiprocessing modules. If there is a similar library in Perl and Ruby, would… Read more Please Introduce A Multi-processing Library In Perl Or Ruby

How To Deserialize And Serialize Amf Packets In Python?

I am rewriting the following Perl code in Python: my $data = Data::AMF::Packet->new->deseri… Read more How To Deserialize And Serialize Amf Packets In Python?

Run A Python Script In Perl

I have two scripts, a python script and a perl script. How can I make the perl script run the pytho… Read more Run A Python Script In Perl