Category: Uncategorized

  • 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.)To start compiz don’t follow their instructions – rather open gnome configuration editor, browse to /desktop/gnome/session/required_components and change value for windowmanager to be compizmanager (instead of metacity, also make sure…

  • How to mount ISO with FreeBSD

    Like this:mdconfig /path/to/isomount -t cd9660 /dev/mdX /mountpointX being md unit reported by mdconfig command. After done with ISO unmount it and delete md created for it:umount /mountpointmdconfig -d -u X(Again X being md unit as reported during creation)

  • 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.

  • 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

  • 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: After all this you should be able to start monodoc from command line (or to…

  • Managing user groups on FreeBSD

    Group creationpw groupadd name-of-group To add users to grouppw groupmod name-of-group -m username1,username2,…,usernameNNOTE: usernames in list are separated only by comma, you can’t add space too.