colorize
Tmuxinator
colorize | Tmuxinator | |
---|---|---|
6 | 44 | |
1,239 | 12,441 | |
- | 0.7% | |
6.9 | 7.4 | |
about 1 month ago | 9 days ago | |
Ruby | Ruby | |
GNU General Public License v2.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
colorize
-
Manage Your Ruby Logs Like a Pro
In Ruby, this is possible using a gem like Colorize or Rainbow.
-
Diving into Custom Exceptions in Ruby
Add the colorize gem to your project by including the code below in your Gemfile.
-
Terminal Colors Using Ruby
So you want to add color to your terminal app? Since you're a programmer, the first thing you do is go straight to Google. This generally leads people to two ideas. One is the popular Colorize gem, which is an easy and super convenient way to get color functionality into your app. You just install the gem, require it into whatever file(s) you wish to use it in, and then you'll have several color utility functions added onto the String class. Other things people often run into are Stack Overflow posts like this one, which essentially peel back the curtain on how the Colorize gem works. When we want to add colors to a string, we wrap the string in an ANSI escape code that signals how your terminal emulator should style the text.
-
Automating Updates to Twilio Webhook URLs
Before I start going into more detail, here's the code for the rake task. The dependencies for the rake task are a running ngrok instance, the twilio-ruby gem (I'm using v5.67.1), and if you'd like a pop of color in your terminal to make things easier to spot, the colorize gem
-
Vamp up your CLI app with these!
The next thing I used on my project is the Colorize gem
-
Best gem for coloring the Windows 10 command prompt and btw what does IRB use?
The named colors available through the colorize gem are defined in Colorize::ClassMethods#color_codes, L61-73. You'll notice the colors are organized into two columns of 8 colors, plus default. Any basic color terminal will support 8 colors. The next level of support is 16 colors, and finally 265 colors. IRB does something similar in Colorize::DEFAULTS on L29-L34. Note that these two classes share a name, but they're entirely different and unrelated.
Tmuxinator
-
Automating the startup of a dev workflow
Well, I now use tmux and tmuxinator. I have had many failed tmux attempts over the years, but I'm firmly bedded in now.
-
Kera Desktop: open-source, cross-platform, web-based desktop environment
I once bought a 32 core ThreadRipper and tried to get along with using a cheap £200 Windows 10 laptop to remote into the threadripper while in coffee shops and use the ThreadRipper to do my work.
The £200 Windows 10 laptop wasn't powerful enough, it was too laggy. Even on Wifi.
I love the idea of the X11 protocol. And I still love the idea of a web desktop. Something that is supremely well integrated and allows me to move workloads between client and server seamlessly. This idea I really like. The ability to outsource computation and storage seamlessly. A process can be moved between machines seamlessly.
This could be modelled in Javascript and promises that can be sent around. Microservices in the desktop environment.
I looked at tools that would bring up tmux sessions with everything preloaded. (https://github.com/tmuxinator/tmuxinator)
ScrapScript has very good ideas in this area of distributing dependencies and storage. (https://scrapscript.org/) There is also val town.
I never use KDE Plasma widgets or the sidebar widgets that Mac provided.
There is so many exciting ideas that could be tried out but I worry they're all too big ideas to be implemented.
- Tmuxinator – manage tmux sessions easily
-
How to save workspaces?
tmuxinator
-
Getting Started with Tmux
I use https://github.com/tmuxinator/tmuxinator for my workspaces. Doesn't save ad-hoc layouts, but usually I find one layout that works per project, then create a tmuxinator config for it, so after reboot, it's a short "tmuxinator start $my-project" away to get back to how I want it to be.
-
Is tmux appropriate for automation in a script?
you might be interested in: https://github.com/tmuxinator/tmuxinator
-
A Quick and Easy Guide to Tmux
I’ve become a huge fan of tmuxinator. Incredible tool for defining templates for tmux.
https://github.com/tmuxinator/tmuxinator
- Decision to Vim - #2. vim repo and vimtutor, hammerspoon
-
zoom only one side of the window?
I doubt that would be possible with tmux's built-in zoom functionality (if it is, I'm not aware). You can use tools such as tmuxinator to create cusotm layouts, but I think "zoom" in tmux means "cover the whole window"
-
Been there, done that
mprocs looks pretty cool. In the past I've used Tmuxinator or Tmuxp configs for stuff like that.
What are some alternatives?
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
tmuxp - 🖥️ Session manager for tmux, build on libtmux.
rainbow - Ruby gem for colorizing printed text on ANSI terminals
awesome-tmux - A list of awesome resources for tmux
tty-command - Execute shell commands with pretty output logging and capture stdout, stderr and exit status.
teamocil - There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.
snapcrawl - Crawl a website and take screenshots
edex-ui - A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
GeoNames - GeoNames API's wrapper (gem)
Terjira - Terjira is a very interactive and easy to use CLI tool for Jira.
tty-pager - Terminal output paging - cross-platform, major ruby interpreters
zellij - A terminal workspace with batteries included