thanks but it's way faster to have my stuff in G drive that way I can open a browser tab, wait 5 seconds for it to load, locate the new screen location of the search bar, click it, wait for javascript to finish loading so I can click the search bar, click it for real this time, mistype because there's some kind of contenteditable event jank, wait 5 seconds for my results to come up, fix the typo, and just have my res…
Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
111–120 of 144 posts
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#112thanks but it's way faster to have my stuff in G drive that way I can open a browser tab, wait 5 seconds for it to load, locate the new screen location of the search bar, click it, wait for javascript to finish loading so I can click the search bar, click it for real this time, mistype because there's some kind of contenteditable event jank, wait 5 seconds for my results to come up, fix the typo, and just have my res…
I'm not sure on how many level this statement is off. Sure, if its file where you don't care about your privacy, the kind of files you don't mind posting on facebook, then sure put in G Drive. But don't think for a second that those files in the cloud is yours. It is NOT! Especially when we are talking about FANNG here. You will have NO legal protection! Stop using cloud, usb is fine.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#113Developer of the tool here :) Glad to see it posted here, I still actively use it myself. Also check out the fzf integration in the README: https://github.com/phiresky/ripgrep-all/blob/master/doc/rga-... Currently the main branch is undergoing a refactor to add support for having custom extractors (calling out to other tools), and more flexible chains of extractors. Ripgrep itself has functionality integrated to call…
AUR has both a ripgrep-all [1] and ripgrep-all-bin [2] package. Both were addded by you. The bin package has a newer version. What is the difference between the two? 1. https://aur.archlinux.org/packages/ripgrep-all/ 2. https://aur.archlinux.org/packages/ripgrep-all-bin
The -bin suffix is an AUR convention to let you know that it's downloading a precompiled binary rather than building from source.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#114Earlier quoted context omitted.
If you're using Duckduckgo, just search ''!drive search-term'' or ''search term !drive'' or ''search !drive term'' More !operators here - https://duckduckgo.com/bang
Firefox supports custom search engines, the most bang for the buck custom search engine must be https://duckduckgo.com/?q=%s with keyword being the letter d. Then you get all these 13000+ bangs without having to configure the custom search engines. E.g. write "d !drive term" in url bar. And "d !w hacker news" sends you directly to https://en.wikipedia.org/wiki/Hacker_News
Firefox keyword search has one little known killer feature: You can combine it with data URIs and JavaScript to run small "command line snippets" stored in your bookmarks from your browser bar.
To get started, create a keyword search from any form (like the search bar on duckduckgo.com) and edit the URL of the entry in the bookmark manager to point to
data:text/html,alert("%s")
instead.What you can do with this is (fortunately) limited by cross-origin restrictions but there are some useful applications. For example, I use this snippet
data:text/html,i="%s";firstSep=i.indexOf(" ");if(firstSep==-1)firstSep=i.length;subreddit=i.substr(0,firstSep);searchTerm=i.substr(firstSep+1);location=`https://old.reddit.com/r/${encodeURIComponent(subreddit)}${(searchTerm!=null&&searchTerm.replace(/\s/,"").length>0)?`/search?q=${encodeURIComponent(searchTerm)}&restrict_sr=1`:""}`
as a nice shortcut to Reddit (" " to jump to a Subreddit, " " to search within a Subreddit).You can also insert content directly into the document which opens the possibility for instant marquee
data:text/html,%sRe: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#115thanks but it's way faster to have my stuff in G drive that way I can open a browser tab, wait 5 seconds for it to load, locate the new screen location of the search bar, click it, wait for javascript to finish loading so I can click the search bar, click it for real this time, mistype because there's some kind of contenteditable event jank, wait 5 seconds for my results to come up, fix the typo, and just have my res…
A lot of us don't want our stuff on G-drive for privacy and security concerns. Tools like this are valuable to us. It's an old problem and there are plenty indexers out there, this more real-time scan is more than welcome to join the bunch of course.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#116Earlier quoted context omitted.
> In the currently stable version, the main interface of each "adapter" is `fn(Read, Write) -> ()`. To allow custom adapter chaining I have to change it to be `fn(Read) -> Read` where each chained adapter wraps the read stream and converts it while reading. But then I get issues with how to handle threading etc, as well as a random deadlock that I haven't figured out how to solve so far :/ I don't quite grok the prob…
> If you file an issue against ripgrep proper with code links and some more details Sorry, I don't think I explained my issue very well. In general it has nothing to do with the interaction with ripgrep, that works fine. It's that each adapter (e.g. zip -> list of file streams) needs to have an interface of fn(Read) -> Iter But then if there's a PDF within the zip, I have to give the returned ReadWithMeta to the PDF…
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#117Earlier quoted context omitted.
> Since pdftotext has been officially discontinued Do you have a link for that? That's news to me.
brew info pdftotext https://formulae.brew.sh/cask/pdftotext#default
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#118Earlier quoted context omitted.
You're saying you can't tell it's sarcasm that he can't tell it's sarcasm?
This means it's good sarcasm! The best sarcasm lies on a ridge, you cannot tell if it's sarcasm or not.
This is in fact what's happened with Schrodinger's Cat: it was meant as an argument from absurdity against the Copenhagen Interpretation of quantum mechanics, but it's presented seriously and so people take it in that way.
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#119One a related note there is one program that I absolutely miss on Linux called everything (on windows). The closest I can find is mlocate but it does not have a GUI but more importantly it does not index my Windows or NTFS drives. Would appreciate any suggestions if someone knows something like 'everything' for Ubuntu.
For general file search at ludicious speeds like Everything does on windows its pretty good :)
Re: Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
#120Earlier quoted context omitted.
Laugh all you want but try looking for a Fullstack/Frontend role in today's job market. What do they want? AnGuLaRr with oBsErVaBlEs! Why do they want it? Because Google can't be wrong.
wait actually? my sense is that react is leading