Hi all,

I have made an interactive interface (similar to CPAN or any other CLI
installation utility) to allow users to share and use each other's user
scripts.

Code is all done via bash, it requires wget/grep/curl to be installed.

I'd say it is a beta version still, you can download the latest version
at:

        http://ahungry.com/vp2_scripter/ahungry_scripter.sh

        (or grab this email's attachment)

If you run it with -h, help, or about commands you can see how to use
it.

It should probably be placed in and run from ~/.config/vimprobable,
unless your vimprobable config directory is elsewhere (really it just
needs to be in the same directory as your scripts.js file is expected to
be in).

The script makes 3 directories: scripts.{available,enabled,constant}

The scripts.available consists of all user submitted userscripts, while
any you want to use but not share should be stored in scripts.constant.

If you want to add a script to the server, just use:

        ./ahungry_scripter.sh push ./yourscript.js

and it'll be merged into the tar.gz within the next minute.

The main purpose of the script (other than pushing and pulling files) is
to merge multiple javascript files into the single scripts.js file that
vimprobable2 reads.

If you run in wizard mode you can see comments for files as you choose
to include or leave out of your own scripts.js file (if you submit your
own file use @ahungry to have the script print your comment during the
wizard).

To start with, I have included the following userscripts:

        flashblock user script

        auto scroller (written by me, moves page based on mouse position)

        password auto filler (I sent this to the mailing list awhile ago as a
        patch to hinting.js, now it gets its own spot - requiers some user
        config so copy it to scripts.constant and add your own passwords, do
        NOT push your password containing file to my server or add any super
        sensitive passwords here as they are plaintext)

Please let me know if you like this little utility.

If desired I can send out the server side code (its not much) and this
can be run from the main vimprobable servers instead of my own.

Thanks,
-Matt

On Sat, Oct 13, 2012 at 11:17:00AM +0200, Hannes Schüller wrote:
> Patch merged, the example script should probably be added to the wiki
> (with the appropriate credit).
> 
> Hannes
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Vimprobable-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/vimprobable-users

-- 
Matthew Carter
[email protected]

Attachment: ahungry_scripter.sh
Description: Bourne shell script

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Vimprobable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vimprobable-users

Reply via email to