extraction

How Do I Extract a Full Icon From a Vista/7 Executable?

If I have a Vista .ico file which contains a 16x16, 32x32, 256x256 etc. version of an icon, I can successfully load it as a .NET Icon by simply doing -: Icon myIcon = new Icon("C:\\MyIcon.ico"); I can then access all of the various sized images in the icon. I can even access the 256x256 Vista PNG using methods detailed HERE. However...

How to capture zoomable image as one high resolution image?

I would like to capture a zoomable image at a high resolution zoomed at 3x. Do you know of a way I can piece this image together without having to do it manually? Here is the image ...

How to get Solr Extraction Handler to extract multiple META tags with the same name?

I am uploading some HTML documents to the SOLR extraction handler (Solr-Cell), which have META elements in the head in this form: <meta name="product" content="firstproduct" /> <meta name="product" content="anotherproduct" /> My schema has product defined as a multi-valued field: <field name="product" type="string" indexed="true" sto...

Programmatically grabbing DLL manifest information with Python or other common scripting language / tool.

Hi, I am having a problem like this one: http://svn.haxx.se/tsvnusers/archive-2008-07/1051.shtml Except that the app is our own (sorry, won't give you confidential details). Although, it is not our fault that SideBySide is so flawed. Anyhow, version X works and version Y bombs right at the start. I am facing the task of walking throug...

extracting numbers and characters from a string, which doesn't follow a specific format? (postfix calculator)

Hey there, I'm having trouble separating numbers and characters from my input string. The purpose of my program is to add,subtract,multiply and divide in postfix so i cant predict the input form as it can be anything from 2 2 3 + * (answer being 10) to 2 2 + 3 * (answer being 12). So i cant use sscanf to extract the numbers and the opera...

going through a string of characters and extracting the numbers?

Hello there, This is related to my previous question. Basically, given a string of characters, how do I go through it and assign all the numbers within that string into an integer variable leaving out all other characters? Not at input but when there is a string of characters already read in through gets(); ...

Techniques for extracting the 'best' image from a webpage.

I'm trying to build something akin to Facebook's "Share" functionality for my website. I've gotten to the point where I can accept a URL, scrape it for meta keywords and suitably get titles/descriptions, but I'm a bit stuck as to the best way to determine 'likely' photos the user may want to share. I currently use the SimpleXMLElement ...

A specific string format with a number and character together represeting a certain item

Hello there, I have a string which looks like this "a 3e,6s,1d,3g,22r,7c 3g,5r,9c 19.3", how do I go through it and extract the integers and assign them to its corresponding letter variable?. (i have integer variables d,r,e,g,s and c). The first letter in the string represents a function, "3e,6s,1d,3g,22r,7c" and "3g,5r,9c" are two separ...

Extract part of a git repository?

Assume my git repository has the following structure: /.git /Project /Project/SubProject-0 /Project/SubProject-1 /Project/SubProject-2 and the repository has quite some commits. Now one of the subprojects (SubProject-0) grows pretty big, and I want to take SubProject-0 out and set it up as a standalone project. Is it possible to extr...

how to cout a vector of structs (that's a class member, using extraction operator)

hi, i'm trying to simply cout the elements of a vector using an overloaded extraction operator. the vector contians Point, which is just a struct containing two doubles. the vector is a private member of a class called Polygon, so heres my Point.h #ifndef POINT_H #define POINT_H #include <iostream> #include <string> #include <sstream> s...

Text extraction with java html parsers

I want to use an html parser that does the following in a nice, elegant way Extract text (this is most important) Extract links, meta keywords Reconstruct original doc (optional but nice feature to have) From my investigation so far jericho seems to fit. Any other open source libraries you guys would recommend? ...

[Bash] Save part of matching pattern to variable

I want to extract a substring matching a pattern and save it to a file. An example string: Apr 12 19:24:17 PC_NMG kernel: sd 11:0:0:0: [sdf] Attached SCSI removable disk I want to extract the part between the brackets, in this case [sdf]. I tried to do something like grep -e '[$subtext]' to save the text in the brackets to a variable...

How to extract the keys of a digital certificate type A3 for use as an A1 certificate?

It's possible to extract the keys of a digital certificate type A3 for use as an A1 certificate? ...

Using chilkat to extract RAR files with progress bar?

Hello. Does anyone know how to show the progress of archives extracting, when using chilkat? I already have a progress bar called "progressBar1" on my form. At the moment the whole program freezes when extraction is started. Maybe have another thread? I'm using this code: Chilkat.Rar rar = new Chilkat.Rar(); bool success; success = r...

Information Extraction Toolkits

I'm looking for information extraction libraries where I can have semi structured information that may have either hidden or incomplete data. I want to train some classifiers to pull out content based on the structure. I'm working on building a tool where I can select text in the browser, and it will generate (via some web service call)...

Function names extraction from static library.

Hi! I have a static library static_library.a How to list functions and methods realized there. or at least how to look is there concrete function 'FUNCTION_NAME' realized? ...

Self-extracting Delphi program

I'm writing an updater program in Delphi7 which will be run once, but needs many files to run. What I'd like the achieve: User runs exe Exe unpacks files, runs updater If updater detects and error, prompts the user to send log in e-mail After the updater is run, temporary files are deleted (some of these files are dlls used by the upd...

Extracting methods body from a class of Java Source Code

Hi, I want to extract method body from a Java Source Code. Suppose I have the following code: public class A{ public void print(){ System.out.println("Print This thing"); System.out.println("Print This thing"); System.out.println("Print This thing"); } } My objective is not to extract the method name (in this case pr...

improving data extraction from text file in Java

I have CSV file with sample data in this form : 220 30 255 0 0 Javascript 200 20 0 255 128 Thinking in java , where the first column is height, second thickness, next three are rgb values for color and last one is title. All need to be treated as separate variables. I have already written my own solution for this, ...

How to extract files from a zip file using Lua?

How do I extract files using Lua? Update: I now have the following code but it crashes every time it reaches the end of the function, but it successfully extracts all the files and puts them in the right location. require "zip" function ExtractZipAndCopyFiles(zipPath, zipFilename, destinationPath) local zfile, err = zip.open(zipPa...