stantheman / fuse-colors Goto Github PK
View Code? Open in Web Editor NEWMake (almost) all of your command output colorful
License: MIT License
Make (almost) all of your command output colorful
License: MIT License
Not sure why or when this happened, but trying to run fuse-colors on at least 10.8.5 refuses to work. It'll state that it mounts successfully, but trying to use it results in:
12:08 [881] stan fuse-colors (master) $ ls mounted/
ls: : Device not configured
It's not fun sending it to the background by hand.
Didn't realize I had hardcoded bash. Need to think about the implications
I tested this on my Debian boxes this whole time, so issues 1 and 2 are both surprises to me. If you have XCode (which you'd probably have if you're screwing with you path/care about lolcat), you have access to otool, which looks almost exactly the same. Throw an if-branch in.
The project can't be officially complete until I write about it on schwertly.com
Instead of guestimating 400 bytes, just do the same math and length() the result
Really, this is kind of a really weird system for doing things to commands as they happen. For instance, it could be a really horrible command tracker by making it tee everything to a file. If it took a config file or option for this, we could all do any horrible thing we want, and not just look at colors. You could make it do lots of terrible things.
OSX is again making me a less-bad person, since Ruby is warning about my terrible permissions here
Thanks @dwfreed. Grabs a few objdump didn't catch
Although I list objdump as a dependency, I don't have access to a linux box that doesn't have it. That said, simply hardcoding /usr/bin/objdump isn't enough for the 10% of people that might have put it somewhere else. Or Arch users. <3
Apparently OSX cares about this. I was a bad person in the read handler and just handed everything out at once. A substr should take care of it and make macs closer to happier.
This is debatable. I didn't think I'd ever truly daemonize it, so if you installed something new with ncurses while you were in fuse-colors, you'd just remount fuse-colors. The only upside of this is that it's trivial to add and could prevent some otherwise boring "ctrl-c, unmount, remount" dances.
I had no idea the POD parser was going to look like this on GitHub. Maybe a .gitignored precommit hook or something to convert. Yikes.
You can add your user to the "fuse" group in most distros and have it be happy. Remove the strict dependency.
Gotta take a minute and pick one I like
Although it's not any different than mentally adding "| lolcat" to most things, screenshots look awesome on READMEs and I want one too
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.