You are here

Ivan Radovanovic's blog

Ivan Radovanovic's picture

Pic that always make me laugh

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)

Ivan Radovanovic's picture

Using Compiz with FreeBSD

For setting up X server follow instructions here. (Long story short, use nvidia driver, add glx and extmod extensions to xorg.conf, and add argb-glx-visuals to monitor.)

Ivan Radovanovic's picture

How to mount ISO with FreeBSD

Like this:
mdconfig /path/to/iso
mount -t cd9660 /dev/mdX /mountpoint

X being md unit reported by mdconfig command.

After done with ISO unmount it and delete md created for it:
umount /mountpoint
mdconfig -d -u X

(Again X being md unit as reported during creation)

Ivan Radovanovic's picture

How to format json data

Using python from command line:
cat file.json | python -mjson.tool

Keep in mind this will sort keys in structures.

Ivan Radovanovic's picture

Running unit tests from console

If you created and compiled unit tests using MonoDevelop you need to copy several dlls to the same directory before you can use nunit-console with compiled dll. Those libraries can be found /usr/local/lib/monodevelop/AddIns/NUnit directory

Ivan Radovanovic's picture

Installing monodoc on FreeBSD

I don't have any idea if mono-tools is still supported package, but its build is badly broken at least on FreeBSD. Anyway, the only tool I find really useful there is monodoc, which luckily can be installed manually like this:

Ivan Radovanovic's picture

Managing user groups on FreeBSD

Group creation

pw groupadd name-of-group

To add users to group

pw groupmod name-of-group -m username1,username2,...,usernameN

NOTE: usernames in list are separated only by comma, you can't add space too.

Pages

Subscribe to RSS - Ivan Radovanovic's blog