GithubHelp home page GithubHelp logo

scalp42 / backscratcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tbarron/backscratcher

0.0 3.0 0.0 173 KB

"Every good work of software starts by scratching a developer's personal itch." Eric S. Raymond

backscratcher's Introduction

                            Backscratcher

"Every good work of software starts by scratching a developer's
 personal itch."
  - Eric Raymond

This is a collection of small programs I have developed over the years
to take care of various tasks on the computer. Perhaps the one I use
most is 'tps' (turbo-ps), which lets me grep the output of ps with
strings rather than pids.

Another one I use a lot is fx (effects). It can do a number of tricks
to issue a command on each of a collection of files, even commands
that ordinarily only operate on a single file.


    align.py
        Read a sequence of text lines and align their contents into
        columns.

    ascii.py
        Display the ASCII collating sequence.

    calc.py
        Simple calculator/expression evaluator.

    chron.py
        Timer. Can count up (like a stopwatch) or down (like a kitchen
        timer).

    dt.py
        Easy date arithmetic.

    errno
        Feed it a number from errno.h, get back the symbolic name and
        meaning.

    fab.py
        Poor man's make.

    filter.py
    
    fl.py
        File manipulation.

    fx.py
        Command line effects.

    hd.py
        Hexdump.

    list.py (list.pl)
        Set arithmetic applied to lists generated by Unix commands.
    
    mag.py (magnitude)
        2384192384283 -> 2.17 Tb

    msh
        Start ssh with a control socket so that multiple sessions can
        piggyback over the same connection without repeated
        authentication.

    odx.py (odx.pl)
        Report the octal, decimal, and hexadecimal variants of a
        number.

    plwhich
        Which for the perl installation. Where does Data::Dumper live?

    ptidy
        Cleanup up emacs debris.

    pytool.py
        Generate python templates.

    replay.py (replay.pl)
        Run a command over and over and watch its output.

    rxlab
        Play with regular expressions.

    scanpath
        Where in my $PATH is foo?

    summarize.pl
        Apply "artificial ignorance" to a set of files.

    testhelp.py
        Testing utility routines.

    toolframe.py
        Easy launching for tool-style and simply python programs.

    tpbtools.py
        Utility routines.

    tps
        Find processes.

    truth_table
        Generate truth tables for an arbitrary number of variables.

    vipath
        Edit $PATH.

    wcal
        Wide cal. Three months side by side.

    workrpt.py
        Read my work log and generate a report.

    wxfr
        Bulk file transfer.

 
You may notice that some of these are written in only perl while
others have a python version and some are only in python. I learned
perl first and used it alongside the tcl-based expect tool until I
discovered python and realized that it provides pretty much everything
perl and expect do in a single tool. I'm not a performance wonk, I
just want to get the job done, so I didn't worry too much about
whether python is as fast or efficient as perl. I just jumped in.

So now I'm in the middle of converting all these programs to python.

Even more recently, I have started using Perl::Expect. So now I know
that perl can do expect-type stuff, too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.