Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm looking for an open source tool that can be used to search text files on the local machine. I've looked at elasticsearch but it seems too complicated with more features than I need.
I need to search only text files on the local machine. I'm looking for something that'll take as input a directory of files and a search string and will output a list of files that contain the string. Data size will probably be multiple GB spread across hundreds of files so something that has an indexing capability would probably work the best. A simple, client side HTML UI would be fantastic.
I don't need data streaming, collection, multi-server aggregation, web services, multiple file format support, external databases, etc.
Somebody must have already done this. Can anyone point me in the right direction?
Edited to add: I'm looking for a library, something that can be integrated into another client side application. A local front end for lucene/elasticsearch/etc that does not require a web server or database.
If you want to search text files in multiple directory. Notepad++ could do the job.
Agent Ransack is my favorite -- it will use multiple threads, and it can optionally use regex patterns for your file search.
Though it only works by individually searching each file, the Ack program may be worth a look.
I am now using a text search tool---TEXT FINDING .It is a simple and free tool for you to find all types of files in PC,just a few seconds can be done!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a project with a lot of source code. For documentation purposes, I must merge all source code into a single file, for instance, PDF, HTML or DOCX. Preferably, each merged file content should have a caption with its relative origin. Nice formatting is desired but not obligatory.
Did anybody ever do this task? Is there any simple code snippet to automate the task? Strangely, I searched around and did not find any hints on this challenge.
If on something UNIXish, a2ps does a really nice job printing large amounts of sources to postscript, which is then trivial to convert to PDF via e.g. ps2pdf. Something like:
a2ps *.c -o foo.ps
ps2pdf foo.ps foo.pdf
This will dump all sources you specify on the command line (and you can go recursive with some combo of find and xargs or similar). If you don't need a total source dump, you're probably best off reading up on your language's native source documenter (like doxygen or javadoc or similar). Most source documenter systems can output to bunches of formats ime.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to build ... something (website? app? tool of some variety?) that searches other sites -- such as Amazon -- for specific items and then lists whether or not those items exist. Ideally it could also pull prices, but that's secondary.
I'd like to be able to enter a (very specific, an identification number) search term into the thing that I build and then have the thing return whether or not the searched item exists on the sites that it checks (a predetermined list). I'd also like it to take a list of ID numbers and search them all at once.
I have no idea where to begin. Can anyone point me in the right direction? What do I need to learn to make this happen?
You will need to learn a few key languages in order to start working on a program like this.
PHP: you need a server side language to skim the site
Javascript: For the input on the users side
HTML: to implement the javascript
Once you learn the basics, search stackoverflow for specific questions relating to a specific problem.
This is certainly a too broad question, but as OP asks to point in some direction here are few suggesstions-
Well this seems to be a big projects. You'll need to find if there is some official api given the other sites from where you want to fetch the product info, if yes use the api to retrieve the product info or else use web scraping where you retrieve the data by parsing the page and storing into your local database.
Amazon provides EC2 instances, where you can hourly rent specific configuration server as needed e.g. Linux with apache/mysql/php, or linux/java.
Amazon has a set of other tools like the S3 storage where you can host your images/docs/video and link them on the site.
Hope this helps in someway.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to be able to parse the printer settings binary files that Excel saves inside xl\printerSettings\printerSettingsNN.bin inside the XLSX zip archive. Much searching for documentation avails little.
Is this a common format that I just don't recognize, or is it specific to Excel? Is anyone aware of where to find details on the format?
It looks to be a Windows device-specific structure, DEVMODE.
Tracked it down via http://blogs.msdn.com/b/chrisrae/archive/2010/10/06/where-is-the-documentation-for-office-s-docx-xlsx-pptx-formats-part-2-office-2010.aspx, which links to ECMA-376, Second Edition, Part 1 - Fundamentals And Markup Language reference from www.ecma-international.org.
Except from the relevant §15.2.15 on page 160:
An instance of this part type contains information about the
initialization and environment of a printer or a display device. The
layout of this information is application-defined.
[Note: It is recommended that a Printer Settings Part contain well documented XML content for improved interoperability;
however, there is no requirement on the format of the content
contained in a Printer Settings Part. end note]
[Example: An Office
Open XML producer on Windows might store the DEVMODE structure defined
here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_8nle.asp,
while an application on the Mac OS might choose to store the print
record defined
here:http://developer.apple.com/documentation/Printing/index.html. end
example]
(Even 5,568 page standards suffer link rot- see DEVMODE structure.)
That means, in C# for example, you can make use of the PrinterSettings' GetHdevmode and SetHdevmode methods to interop with the structure.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The scenario is this:
My company has 2000 customers, and we need to send the all 2000 customers a credit application via PDF. What complicates this is that certain parts of the PDF need to have customer data filled in before the form is sent to the customer. The data that needs to be filled in is currently inside of an Excel array.
As you probably guessed, what I want to do is write a script that takes the Excel array and for each row of data the script will fill it into the PDF form, save a copy of it, print the document, and repeat until all rows have been filled into their respective PDF forms.
My questions are as follows:
Is there one particular programming language (or framework) that is particularly well suited for this, and does it have a low learning curve? (I only know enough to write basic JavaScript at the moment)
In the recommended language/framework, what specifically will I need to learn? (aside from the basics like print, for each, if statements)
Are there any particular or general GOTCHAs I should watch out for in writing the script? Keep in mind, this will be the first computer script I will have ever created, so even basic/elementary GOTCHAs can come into play due to my total lack of experience.
EDIT
I should probably specify that I would prefer to write this script in Python if it is at all possible, simply because of all the good things I have heard about it so far.
There are applications that might be able to do this without programming. Here's one that costs $249
http://www.pureforms.com/Products/PFPrintMerge/pfprintmerge.htm
I have never used it -- but there are plenty of products if you search google. If you decide to go the programming route -- you need a PDF SDK for whatever language/framework you choose. There are many to choose from for .NET and Java.
EDIT: You asked for python. See this other SO question.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am trying to collaborate with a graphic designer sitting on the other side of the world. The only communication medium we have is a phone line. Every time she makes even a minute change to an element on a page, she has to take a screenshot, save it and mail it - all manually till now.
As you can guess, this gets downright irritating and is significantly hampering progress on the project.
My idea is to create a simple .xls file with a macro which will capture a specific hotkey combination (in a global manner) so that she can just press ctrl+shift+q (or whatever) from inside her photoshop / illustrator with the .xls file open and minimised (and the macro listening for the key combo) and this key combo would capture the screenshot and send it to outlook / thunderbird as an attachment just waiting for the send button.
My question is whether this is the best (and free) method of achieving this and if it is then how can we make an excel macro listen for global hotkeys, capture screenshot and mail?
We have this. Our designers are based in San Francisco and our developers are all over the world (most in Auckland). We use a lot of Microsoft Shared View to see each other's desktops. We also have a defined diagramming style of wire diagrams that are used to communicate intention.
We tend to use a lot of screen captures and the snagit tool from Tech Smith is excellent. Once you've captured what you want, it can go straight to email, or a document, or in fact anywhere as they have a number of capture profiles and an api you can use. It really is a worthwhile tool for the amount it gets used.
You can use TeamViewer.
Edit:
Teamviewer is only free for non commercial use. There are a number of alternatives to this including a variety of VNC type products. Just search for free remote desktop tools.
I take it the other side does not have a permanent internet connection?
In that case should check out a screenshot utility like Snagit. Though not free it does everything you need.