timbertson / 0path Goto Github PK
View Code? Open in Web Editor NEW[abandoned] path manipulation for testing 0install packages
Home Page: http://gfxmonk.net/dist/0install/0path.xml
[abandoned] path manipulation for testing 0install packages
Home Page: http://gfxmonk.net/dist/0install/0path.xml
DEPRECATED ---------- 0path is lacking some features required for newer versionf of 0install, and is generally a fragile way to go about this sort of thing. Please consider using the newer [0env](http://gfxmonk.net/dist/0install/0env.xml) instead. ----- 0path is a utility for making the contents of a zero install feed (including its dependencies) active in your current shell session, as if the library or application were installed globally. This should not be used as a substitute for creating a zero-install feed with your dependencies declared appropriately, but can be useful for trying out a library without going to that effort. INSTALLATION: ------------- Because 0path modifies environment variables, the suggested method of installation is to add this function to your shell's inisitalisation environment (e.g by adding to ~/.bashrc): function 0path { eval "$(0launch 'http://gfxmonk.net/dist/0install/0path.xml' "$@")"; } (for zsh users, you should remove the double quotes around "$@") USAGE: ------ Then the usage is simply e.g: 0path http://gfxmonk.net/dist/0install/mocktest.xml This will make the `mocktest` python library available to all programs run from within the current shell session. For example, you can now run a python shell and `import mocktest`. ADVANCED USAGE: --------------- If you need to add the feed's implementation to a specific environment variable (rather than one it exports): 0path http://gfxmonk.net/dist/0install/mocktest.xml PYTHONPATH This will insert mocktest's base path into your $PYTHONPATH environment variable. If providing an environment variable name, you can supply optional --insert and --mode options, which mimic the behaviour of these attributes in a zero-install <environment> binding. If you just want to run it as a once-off without installing it into your shell, you can run e.g: eval "$(0launch 'http://gfxmonk.net/dist/0install/0path.xml' <feed-uri>)"
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.