Blog of Alexander Mamchenkov

… mammoth cave …

PrimeTel SIM card replacement

Ok, as I had couple of post here and here with regards to issues I faced with PrimeTel and the fact that my wifi did a nice post in her blog concerning the issue of changing PrimeTel pay as you go SIM card from normal to mini, I will be short this time. What I [...]

Cutting Image Background with ImageMagick

Here is a small sequence of commands to cut the image of background (given that background is a solid color): ORIG_IMAGE_NAME=green.jpg; NEW_IMAGE_NAME=green-trans.png; TMP_COLOR=`convert $ORIG_IMAGE_NAME -crop 1×1+0+0 txt:- | sed -n ‘s/.*\(#\S\+\).*/\1/p’`; convert $ORIG_IMAGE_NAME -bordercolor $TMP_COLOR -border 1×1 -alpha set -channel RGBA -fuzz 30% -fill none -floodfill +0+0 $TMP_COLOR -shave 1×1 $NEW_IMAGE_NAME Just change the first [...]

DNS wildcard observations

Had an interesting case with DNS wildcard records: if you have a wildcard (*) A record – it works pretty fine, but if you specify a CNAME record to point to non-existing A record (which would normally be satisfied by wildcard A record) it won’t work, at least in the case I had. So as [...]

GNOME3 Delete button in Nautilus

Just noticed that Delete button in Nautilus of GNOME3 does not delete a file. Either Shift+Delete should be used to delete file completely or Ctrl+Delete for normal removal to Trash. If you use Nautilus a lot and would like to get normal (old-style) behaviour, check out these post: Basically you need to enable accels key [...]

September, vacations…

It’s been a long while since I’ve been on such good vacations. More than one week away from office traveling around Cyprus and having all sorts of fun. Just a short post with list of things done during these nice days: 15/09/2011: Trip to Agia Napa to see Olga and Anatoly who came to visit [...]

keep looking »