Friday, 20 March 2015

OpenCV Java Sample with Netbeans

Related to this doc. How to use it in Netbeans?

Create Java Application


Friday, 29 August 2014

Video files concatenation v.2

This method doesn't work any more because same_quant or sameq option was removed. So how to make file concatenation preserving quality. I found easier way to do it:

$ mencoder -oac pcm -ovc copy -idx -o out.mov AMBA6924.MOV AMBA6925.MOV




Friday, 15 August 2014

CodeIgniter Framework CMS


Here I've placed some CMS based on CodeIgniter Framework:
  • CMS Canvas - Admin section looks exactly as OpenCart, but I don't like it.
  • GetNoCMS - Need to try, it has Bootstrap 3 also.
  • GoCart - I have already experience to deal with, one of my project based on it, and I've replaced Bootstrap 2 by 3d, also made some chages in catalog, breadcrumbs, SEO stuff, and Russian translation.
  • MaxSite - also has an experience to deal with, and converted to Bootstrap 3, but I want something more simple in admin section
  • fuelcms - Haven't tried.
That's all I was able to google quickly.

Wednesday, 22 May 2013

Wolf CMS adding SEO title

I'm recently started using Wolf CMS and during SEO tasks found that same title for menu name and title tag doesn't fit good to the SEO task. So we need to separate that. First of all if you are duplicating title in content like this, you can separate by using $this->breadcrumb() instead, since by default they are the same.


If you are still not good with that, we can go further and use menu_title plugin. This simple plugin which adding second line in the title tab



And it can be used like this


Note that if second line is empty it will give you the original title, and $this->title() still give you the first line.

Friday, 19 October 2012

OpenCart Loginza plug in addon

In my previous post I did VQMod option for the Loginza plug in. Recently I've found if you logged in with this module, but don't add any address and try to checkout, you will fail, because of the bug in the original module. To fix this bug you can go to catalog/view/theme/default/template/checkout/payment_address.tpl and add following lines:

Sunday, 14 October 2012

OpenCart OpenId integration with Loginza

Recently I've found OpenId integration module for OpenCart via Loginza service. You can find the module here. But if you want to get it to work you need to replace the default files related to login or checkout. I thought why do I need to change the original files if I have VQMod installed in my OpenCart instance, and since there was no VQMod option from the author, so I've decided to write it by myself.

Friday, 5 October 2012

Xubuntu proxy settings

I have my laptop running Xubuntu 12.04. And there is no GUI to set up proxy settings. So it can be done via terminal. Open /etc/environment and add the following lines
http_proxy="http://user:password@proxy:port/"
https_proxy="https://user:password@proxy:port/"
ftp_proxy="ftp://user:password@proxy:port/"
socks_proxy="socks://user:password@proxy:port/"
Also if you want the apt-get is working behind proxy, go to /etc/apt/apt.conf and add
Acquire::http::proxy "http://user:password@proxy:port/";
Acquire::https::proxy "https://user:password@proxy:port/";
Acquire::ftp::proxy "ftp://user:password@proxy:port/";
Acquire::socks::proxy "socks://user:password@proxy:port/";
Restart X by log out and back in again for settings to take effect.