tmux and fzf: fuzzy tmux session/window/pane switcher

This script allows me to fuzzy search for window/pane using pane’s name – title – directory – command. Maybe someone will find it useful. It uses fzf-tmux for searching. gist: https://gist.github.com/thugcee/41d1ba786fa5e66167ed6ee45e4f6346 It can be started directly, but it’s better to bind it to some tmux key. Put something like this into your tmux.conf to do … Read more

Some Unixporn – The Story of My Life Through X Window Managers

my first time was probably with FVWM, it was a standard at that time; then I fell in love with Gnome 1.xx – fresh and elegant; changed it to KDE when Gnome became desktop environment for idiots; after years of development KDE authors finally managed to make me hate KDE for its bloatedness and bugs, … Read more

Cool Linux Stuff: Live Resize of Libvirt Guest’s Disk Served as LVM Logical Volume on SAN Volume

Here is the situation: We have a FC SAN with one volume dedicated for virtual machines’ disks. That SAN volume is available on the server via 2 paths (two storage controllers, two FC switches and two HBAs) and failover is handled by multipath-tools. This SAN volume has no partition table but is a LVM’s physical … Read more

Eclipse – GMF – Making Figures Sensitive To Attributes Of Semantic Elements

TASK: Change a diagram editor generated by GMF to make its figures sensitive to changes of semantic elements’ attributes’ values. Changes of attributes’ values should be automatically detected and reflected in figures’ look. SOLUTION: You have to make a little change in *EditPart class. I’m going to change edit part for the semantic model element … Read more

Bash Does Not Support RegExps? Read The Fucking Manual!

I have stumbled on this again. There is so many places on the Net (for example Advanced Bash-Scripting Guide) where you can read that Bash does not support regular expression by itself and you have to use other tools (usually grep, sed and awk are mentioned) to match/replace with regex. Since regular expressions are part … Read more

Put Image Size Into Filename

Sometimes it is useful to have image size written in filename (I needed it when I was browsing my collection of wallpapers). I could not find any tool which would automate this process, so I have decided to write one. Probably it is job for bash or Python but I like Java most, so it … Read more