Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

Why Ptyxis is a Game-Changer for Embedded Terminal Emulation

When you’re building applications that need terminal-like functionality, embedding a full terminal emulator can feel like overkill. Enter Ptyxis—a lightweight, versatile tool for integrating terminal emulation directly within your application. Here’s a breakdown of why Ptyxis might be the perfect fit for developers looking to add a terminal without the bloat.

What is Ptyxis?

Ptyxis is designed for embedding terminal emulation into applications, especially those built on GNOME or GTK. Rather than a one-size-fits-all terminal emulator, Ptyxis focuses on the essentials, delivering streamlined, customizable terminal functionality.

Continue reading

Rails Service Objects: A Comprehensive Guide

2018-05-07 20 min read Uncategorized

This post was written by Amin Shah Gilani, Ruby Developer for Toptal.

Ruby on Rails ships with everything you need to prototype your application quickly, but when your codebase starts growing, you’ll run into scenarios where the conventional Fat Model, Skinny Controller mantra breaks. When your business logic can’t fit into either a model or a controller, that’s when service objects come in and let us separate every business action into its own Ruby object.

Continue reading

get the contents of whole site like some wiki or wikia

2014-02-24 1 min read Learning Uncategorized

For wikis and wikia, generally if you are trying to get some url mirror, then websucker.py is an excellent option. This script is in the python sources so, to get this tool,

yumdownloader --source python

Install the rpm downloaded in current directory and then go to ~/rpmbuild/SOUURCES.  You should find a Python-*.tar.xz file here, just extract with

tar xvf Python*.tar.xz

and there you go, you should find the tool in Tools/webchecker/websucker.py.

Continue reading

glances – Get a glimpse of the whole system

2012-02-21 1 min read Fedora

You would have used top at some point of time. Did you not wish that instead of just the processes it list all the vital statistics of the system as a whole. How good it would be to see the Memory, Net, Processes and Disk usage on the same screen. Well then you should take a look at glances. Here is how it looks:

[glances][1]
glances

For using this tool, here is what you need to do :

Continue reading