Warning: Use of undefined constant _FILE_ - assumed '_FILE_' (this will throw an Error in a future version of PHP) in /home/bolyarco/www-ikratko/ogrelab/wp-content/plugins/ad-blocker-stats-vip/ad-blocker-stats-vip.php on line 13

Archive for the ‘Uncategorized’ Category

Zoneminder configuration for Floureon 1080P

2017-11-21   

Recently I bought Floureon 1080P 18x. I was planning to use it to test an idea about car license plate recognition. The camera came with software for Windows which was no go for me because I was planning to use Ubuntu linux. After spending some time looking for a linux software to control the cam I found Zoneminder. It is free and open source but it lacked support for Floureon cameras. Long story short, I had to make some additions to Zoneminder in order to make it work.

Here is a simple guide:

(more…)

Syntax highlighting for Rust language for Linux KDE's Kate

2015-04-06   

At this point (April 2015) Rust is in 1.0.0-beta and there are no complete IDE integration (either Eclipse or Idea) so we need to go back to basics (no, no, no, not vim/emacs, relax :-) ) and use Kate for editing source files.

Frankly, so far I've never used Kate for programming and was totaly unaware how to configure it and I had some trouble setting Rust's syntax highlighting so here is the short explanation how to do it:

1. Download rust.xml from here: https://github.com/rust-lang/kate-config/blob/master/rust.xml

Take care to save it in it's original XML form, not as HTML (as I did somehow the first time…)

2. Copy it in ~/.kde/share/apps/katepart/syntax/

3. Restart Kate

(btw, I use Kubuntu 14.04, other distros may have different location for the SH files…)