Earlier quoted context omitted.
Very cool tool. Just curious as to why directories are not selectable. I did "ls | fpp" and everything got listed (directories and files) but only the files were selectable.
Yeah, we don't match on directories since the regex would overmatch other results (we would basically have to match anything that is words with a slash). However if we added support for checking for file / directory existence we could definitely add support for that
Facebook PathPicker
151–160 of 168 posts
Re: Facebook PathPicker
#152I hope you can add support of selecting directories, and fuzzily filtering results(like what percol does).
Re: Facebook PathPicker
#153Dozens of cool utilities like this are created every week and launched at Show HN, but without "Facebook" in their names you need at least 10 of them to get the many points this thread has gathered.
Re: Facebook PathPicker
#154Earlier quoted context omitted.
Might already be familiar with it, but if you aren't, you should check out sikuli script [1] for when you have a repetitive GUI task you have to perform that can't be directly scripted. I've used it to script some really complex workflows through GUI's It's also just weird and interesting to program something to move through a GUI as fast as is possible 1: http://www.sikuli.org/
Wow. Never heard of it, but this must be the most amazing software idea I've seen in a while. It's gonna be a playful day :P
Yeah, getting the scripts to run and be robust is definitely an art sort of thing, but I've used it to create what amounts to a CLI's for legacy apps that you could only interface with through GUI's.
It's also fun to run across stuff like "Oh, the developer of this platform wasn't expecting me to be able to respond to a window within 20ms of it popping up on the screen."
Be interested to see what you think, if you have time to leave a comment
Re: Facebook PathPicker
#155A while back I wrote a similar tool in go to scratch my own itch and use it every day: https://github.com/robbiev/numberwang
Re: Facebook PathPicker
#156Earlier quoted context omitted.
You sound like a Windows admin living in a Linux/BSD world. I struggle to do everything with Powershell, but almost everything I do has a mouse input. I use a gaming mouse for system administration - a Razer Naga Epic with the 12 thumb buttons. They're a 3x4 array; I bind them to: Row One 1. F5 2. Up arrow 3. F2 Row Two 4. Left arrow 5. Down arrow 6. Right arrow Row Three 7. Tab 8. Delete 9. Backspace Row Four 10. En…
You should use whatever works for you but this strikes me as very bizarre I have to admit. I started out with a mouse as well and I can see this being something I would have attempted if I hadn't just put my head down and forced myself to get used to keeping my hands on the keyboard.
Want to control you audio from Powershell? There's a cmdlet[1] for that. But it only works on Powershell 4.0 and higher. And PS 4.0 is only available on Win7, (not Win8) Win8.1, and Server 2008-2012.
So on my gaming PC, where I thought putting Win8 Enterprise from my MSDN would be a good idea, I can only change the volume via mouse, or keyboard volume buttons.
[1] https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdl...
Re: Facebook PathPicker
#157Hey everyone, I'm in the main engineer on this project if anyone has questions. Facebook has a large codebase, so naturally we have a lot of long filenames and paths. It's a pain to type these out by hand, so I'd see a lot of (new) engineers select the text with their mouse before pasting it into the command line. This is pretty inefficient and I knew there had to be a better way, so a few of us started hacking on a…
Oh wow, thanks! I was just thinking about this today - how I'm always cut-and-pasting file paths from ag (silver surfer) results at the console. One thing I noticed: FPP gets confused by filenames with multiple dots. If a file is named for example "dev_backup.ldif.gz", FPP thinks that "ldif.gz" is the entire file name.
subl `ag -l Foo`
Re: Facebook PathPicker
#158Is there a reason why this is named Facebook PathPicker instead of PathPicker? It seems that the original author is giving up rights of their software to Facebook (it says copyright Facebook right in the license). What troubles me is that this tool seems completely unrelated to Facebook's business so why must they assert ownership of their employee's side project? On the other hand, it could be the author's intent to…
Re: Facebook PathPicker
#159Hey guys, great tool. Just want to point out it doesn't play well with ack (a better grep) because ack does not prepend a "./" to the file list returned from "ack -l 'foo'". Any way to make it work with the following: junk/foo/bar.txt instead of just ./junk/foo/bar.txt ?
Hey @iopuy can you file an issue on github? For paths that are not absolute or relative (and thus ambiguous), we: -- Try to detect the top-level version control directory -- Use that if one is found But we could possibly pipe the current working directory into the python context from bash and go from there
Re: Facebook PathPicker
#160Earlier quoted context omitted.
Wow. Never heard of it, but this must be the most amazing software idea I've seen in a while. It's gonna be a playful day :P
Hahah, awesome. Yeah, getting the scripts to run and be robust is definitely an art sort of thing, but I've used it to create what amounts to a CLI's for legacy apps that you could only interface with through GUI's. It's also fun to run across stuff like "Oh, the developer of this platform wasn't expecting me to be able to respond to a window within 20ms of it popping up on the screen." Be interested to see what you…