You are here

Blogs

Ivan Radovanovic's picture

Enabling/disabling menu icons in GNOME

It can be enabled with

gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_icons true

and disabled (quite surprisingly) with:

gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_icons false

Ivan Radovanovic's picture

Creating certificate request with OpenSSL

It can be done like this

openssl req -new -newkey rsa:2048 -nodes -keyout certificate.key -out certificate.csr

Ivan Radovanovic's picture

Formatting USB drive with FAT32 using FreeBSD

Assuming your usb drive is /dev/da0

Using fdisk:

  • Zero disk beginning with
    dd if=/dev/zero of=/dev/da0 bs=2m count=1
  • Change first partition type to 12 (FAT32)
    fdisk -i /dev/da0
  • Initialize fat32 file system
    newfs_msdos -F32 /dev/da0s1

Using gpart:

Ivan Radovanovic's picture

Tunneling using ssh

To create tunnel using ssh execute following command:
ssh server -L local_port:remote_ip:remote_port -N
effect of this command is to create tunnel between localhost:local_port and remote_ip:remote_port going through server.

Ivan Radovanovic's picture

Debug gstreamer plugins

To discover which plugin is used for specific file run command similar to this:
gst-launch -v filesrc location=filename_here ! decodebin ! autoaudiosink
that should give you (among other things) output lines similar to these:
...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/x-id3
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstID3Demux:id3demux0.GstPad:sink: caps = application/x-id3
Pipeline is PREROLLING ...

Ivan Radovanovic's picture

Interesting builtin features in Windows

Nice article listing some of them:

Ivan Radovanovic's picture

How to discover which user is sending email in zimbra

Check /var/log/zimbra.log, username connected is logged as sasl_username

Ivan Radovanovic's picture

How to make formula result permanent in excel

Make cell's content formula (ie "=blah blah blah"); when you get value you need copy it to clipboard, then choose paste special instead of normal paste and uncheck pasting formulas.

Ivan Radovanovic's picture

If Netbeans fails to start

Try this:
env LD_PRELOAD=/usr/local/lib/libjpeg.so netbeans-7.3

(or whatever version you are using if not 7-3)

Pages

Subscribe to RSS - blogs