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 moreSome Unixporn – The Story of My Life Through X Window Managers
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 moreCool Linux Stuff: Live Resize of Libvirt Guest’s Disk Served as LVM Logical Volume on SAN Volume
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 moreEclipse – GMF – Making Figures Sensitive To Attributes Of Semantic Elements
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 moreBash Does Not Support RegExps? Read The Fucking Manual!
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 morePut Image Size Into Filename
This solution is for those who use also GMF. In one of your plug-ins (or create a new empty plug-in for that) add following section to plugin.xml: <extension point=”org.eclipse.emf.ecore.extension_parser”> <parser type=”MY_SEMANTIC_MODEL_FILE_EXTENSION” class=”org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory”> </parser> </extension> It will make EMF use GMFResourceFactory for XMI [de]serialization. GMFResourceFactory enables usage of UUIDs. Don’t forget to replace MY_SEMANTIC_MODEL_FILE_EXTENSION with your … Read moreEclipse GMF – Enabling UUIDs in Semantic model – The Simplest Way