Topics - kae99 [ switch to compact view ]

Pages: [1]
1
Hello dear coders,
I have an idea for a "simple" program that i think can be very useful.

Here it is the scenario:
 - Many of us have a "home server" which manages all our downloads and stores all our multimedia files. (A Windows machine in my case)
 - We work from a different PC (e.g. our laptop) browsing the web and adding download jobs.
 - Most downloads (e.g. direct file download, bittorrent or emule links) are triggered just by opening a specific URL
 - We don't want to start the direct/P2P download in our actual PC (e.g. the laptop), but at the remote home server

Right now, there is no simple solution for this. If you want to start the download in the remote PC, you have to start a remote desktop connection to your home server or manage your P2P program through its web UI and start the download manually, which is quite cumbersome.

So, the request is pretty obvious :)
 ¿Would it be possible to implement some kind of program which will forward our local download requests so they will be started at the remote home server automatically?

It would probably require:
  - a small daemon at the home server which will wait for download requests
  - a "request forwarder" program which will associate itself with e.g. emule/bittorrent URLs in our laptop and will forward opening requests to the remote home server.

Of course there could be other solutions. For example, the "request forwarder" could do all the work by starting a ssh session in the background with the remote Windows server and starting the file download on his own.

Well, is there any brave coder who could provide a solution? :D

Thank you very much!!
Kae

2
Find And Run Robot / Feature request / small bug report
« on: March 25, 2006, 09:54 AM »
Hi again,
Thanks for your interest in my previous post, I have been playing a little bit with aliases and I have a couple of suggestions:

The most important for me:
1) 'ALIAS MODE'
Problem:
FARR doesn't have a way to know when you are going to search for an alias or a program in your computer (although the user knows it from the beginning) so it keeps searching all your folders after each key press while you are writing the alias name which slows it down, it's unnecessary and a little bit annoying.

Suggestion:
I think that there should be an option to configure a prefix to enable 'alias mode'. In this 'mode', FARR would know that you are writing an alias name and doesn't have to search all your folders after each key press (just aliases names).

Each user could configure the prefix he/she prefers like ':', '>' or a simple space ' '.

For example, with the alias 'search', the user would write ' search' (or ':search').

2) 'ALIAS PASTING'

The first time I tried to paste a preformatted alias, I tried to do it directly in the almighty search field thinking that it would work.
Of course, it didn't :)
Then I found that I had to go to options/groups/right click/paste preformatted alias/paste/ok

IMO it would be nice to be able to paste preformatted alias directly in the search field. It would be a lot faster.

Due that preformatted alias have their own syntax that differs from searches (no ones searches for a number>>>name>-> ...), they could be recognized.

----
Small bug report:
When you go to 'paste preformatted alias' the alias you pasted last time is still there (so, you need to delete it before inserting the new one), it should disappear :)


Thanks again for this gem,
Kae



3
Find And Run Robot / Alias sharing
« on: March 23, 2006, 07:47 AM »
Hi all!
First of all, awesome program mouser! I love trying new software and finding those little gems that make your computer experience nicer and this one is one of the best! And good license/sharing your work philosophy!

Said that, I see that f+r has an alias feature that can be really powerful, but it seems to be under used.

I'm sure that it can be a really good tool to control your computer (accessing control panel, enabling/disabling tv out, turning off pc, etc.) just knowing the right windows command (maybe with the aid of third party tools) and assigning it an alias for fast access or to exploit webpages and search engines potential.

But I don't see many posts talking about new aliases to do new things and sharing new ones. (sorry, because I'm a new forum reader so maybe I missed them).

IMHO, it would be really nice to have an organized way of sharing new aliases with the rest of the users, something like a small online searcheable database of aliases, each one with a short description of what it does (in a nice to read format) and the command to be pasted in f+r.

But i know that it would be a lot of work and useless when there are so few of them right now.

In the meantime, maybe an organized way of sharing them through the forum would be nice.

To start sharing, here there are some I have added and use very often:

English Wikipedia search:
1000>>>wp>->Wikipedia Eng | http://en.wikipedia.org/?search=$$1>+>^wp (.*)

Spanish Wikipedia search:
1000>>>wpes>->Wikipedia Esp | http://es.wikipedia.org/wiki/Especial:Search?search=$$1>+>^wpes (.*)

English -> Spanish translation using WordReference:
1000>>>enes>->WordReference English -> Spanish | http://www.wordreference.com/es/translation.asp?tranword=$$1&dict=enes&B10=Search>+>^enes (.*)

Spanish -> English translation using WordReference:
1000>>>esen>->Esp - Eng |  http://www.wordreference.com/es/en/translation.asp?spen=$$1>+>^esen (.*)

Currency conversion:
1000>>>xe>->xe EUR -> USD | http://www.xe.com/ucc/convert.cgi?Amount=$$1&From=EUR&To=USD>n>xe USD -> EUR | http://www.xe.com/ucc/convert.cgi?Amount=$$1&From=USD&To=EUR>n>xe EUR -> GBP | http://www.xe.com/ucc/convert.cgi?Amount=$$1&From=EUR&To=GBP>n>xe GBP -> EUR | http://www.xe.com/ucc/convert.cgi?Amount=$$1&From=GBP&To=EUR>+>^xe (.*)

RAE dictionary search:
1000>>>rae>->RAE | http://buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_HTML=2&TIPO_BUS=3&LEMA=$$1>n>DRAE | http://buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_BUS=3&LEMA=$$1>+>^rae (.*)

Bittorrent search:
1000>>>tor>->Torrentz | http://www.torrentz.com/s.php?q=$$1>n>TorrentSpy |  http://www.torrentspy.com/search.asp?query=$$1>n>TorrentTyphoon | http://www.torrenttyphoon.com/default.aspx?q=$$1>n>Mininova | http://mininova.org/search/?search=$$1>n>Bittorrent | http://search.bittorrent.com/search.jsp?query=$$1>n>Pirate Bay | http://thepiratebay.org/search.php?q=$$1>+>^tor (.*)

And accessing my most frequently used webpages like:

Gmail
1000>>>gmail>->Gmail | www.gmail.com

Netvibes
1000>>>netvibes>->Netvibes | www.netvibes.com

----------

I know most of them are 'Spanish related', but I'm from Spain :), i hope they will be useful for somebody or give new ideas of new commands to add to their own collection.

All of them fall in the category of 'exploiting search engines potential', I got the ideas for them from the YubNub search engine.

If somebody doesn't know it, YubNub it is a 'social commandline for the web' and has literally thousands of commands like these!!

Just write 'ls' in their search box (or 'ls <something>' to narrow the search) and you will find tons of commands to do nearly anything with the search engines that exist out there.

To add it to f+r, just copy the url related to the command that you want to use from YubNub and replace %s by $$1 in FARR and you are done!

Or, add this alias and you will have all the power of YubNub in FARR :)

YubNub commandline:
1000>>>yn>->YubNub | http://www.yubnub.org/parser/parse?command=$$1+$$2>+>^yn ([^\s]+)(?:\s)?(.*)

Examples:
yn wp test --> Look up 'test' in the English Wikipedia
yn gim test --> Performs a Google Image search for 'test'
etc.

I just prefer to add the ones that i use most as direct aliases so i have to type less and they work faster because YubNub doesn't need to parse it.

Kae

P.S. The way that yubnub allows searching and looking up its commands could be a good one for aliases database too ;)








Pages: [1]
Go to full version