pkumar-adeptia / monkey-tail Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lmartinking/monkey-tail
A swiss army knife of commands and shell hacks, using @ as the prefix
This project forked from lmartinking/monkey-tail
A swiss army knife of commands and shell hacks, using @ as the prefix
------------------------------------------------------------------------------- README for @, also known as monkey-tail ------------------------------------------------------------------------------- What? ----- @ is a swiss army knife for the *Nix user, and is self-contained and portable. Why? ---- Well, I feel that it's nice to have a collection of simple commands in a separate utility, rather than "polluting" the shell namespace. You can hang @ on your belt, along with your shell, editor and your C compiler. How? ---- Copy @ into your usual directory for scripts(make sure it is in your $PATH), etc Test if @ can run: $ @ If everything is ok, you should see: $ @ Usage: @ <subcommand> or: @ list-commands or: @ help-on <subcommand> Otherwise, if you see this: $ @ bash: @: command not found You need to add your scripts directory to your $PATH (via your .bashrc or .bash_profile). Assuming it's $HOME/tools: export PATH=$PATH:$HOME/tools: Now that everything is set, explore. Simply run: @ list-commands For example, to show disk usage of the current directory: @ disk-usage Or, find the disk hogs in your downloads directory: @ disk-hogs ~/Downloads Externals --------- @ can merge pieces of code into itself, to provide extra commands, etc. Additionally, "externals" can then be updated from their source. For example: @ external-add https://github.com/lmartinking/monkey-tail/raw/master/externals/hello-world Will import the "hello-world" external, and all commands contained within will be available. For instance: @ hello-world To remove "hello-world", simply use: @ external-remove hello-world If you have modified an external which is embedded into @, you can extract the code using: @ external-code <external-name> You can append code to an external using: @ external-append Creating Your Own External -------------------------- An external is simply a kind of bash script with "# @" on the first line Each command in @ is a bash function, prefixed with _ (underscore). For example: # @ _my-command () { echo "Hello there!" } Once merged into @ (using external-add <file>), can be accessed by: @ my-command @ provides a few built in functions, and eventually there will be more. Please do take a look at the source code! For more examples of externals, take a look at: < http://github.com/lmartinking/monkey-tail/tree/master/externals > By Who? ------- @ is written by Lucas Martin-King and licenced under the GPLv2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.