Sunday, August 18, 2019
Simon Tushev

Simon Tushev

Simon is IT professional with interests in web design, electronics, photography and astronomy. He writes about PHP, Yii, Joomla!, Arduino and several other topics.
Monday, 16 March 2015 10:08

How to suppress Matlab warnings

In many cases Matlab produces different warnings. Some of them are useful, some are REALLY not. Such warning as "Warning: Image is too big to fit on screen; displaying at 50%" is really annoying and disrupts output in command window.

The Web is full of suggestions like providing initial magnification:


but that's not a cure, it only masks symptoms. To turn it (or any other warning) REALLY off just click on the uppermost link in inner matlab files that produced that warning, find warning ID like 'images:initSize:adjustingMag' and copy it into clipboard. Then add the following line to your script:


This will really suppress this Matlab warning and you will not see it any more.

MikroTik RB951G-2HnD is a wireless SOHO Gigabit AP/Router featuring five Gigabit Ethernet ports, one USB 2.0 port and a high power 2.4GHz 1000mW 802.11b/g/n wireless module with built-in antennas.

It's a robust and reliable device, however, it may be bricked if it was uploaded with incorrect firmware.

In this article I'm going to show how to recover it. The information here is applicable to RB951G-2HnD, but may be useful for other models as well.

Wednesday, 13 June 2012 22:14


A small plugin that wipes off unnecessary words from your site.

In some cases you have to run multiple services on a domain secured by SSL certificate, on various ports.

Users, who want to access your server at often type just, which leads to plain HTTP request and the error specified above.

A single line in nginx configuration can prevent nginx from showing this error message, and redirect user user using the correct scheme instead. Just add

error_page 497 https://$host:$server_port$request_uri;

to your host configuration inside server { ... } block and reload the configuration:

[[email protected] #]service nginx reload

If you upgrade to windows 8.1 64-bit, you may find that you cannot install argyll drivers for your colorimeter in a usual way.

To install them, you need:

Page 4 of 7


Here I publish articles related to my areas of interest, my brief notes that may save some time to others, as well as some of my works.

This site is a work in progress. I will add more sections in the future, such as

  • More photos to photogallery
  • More Joomla!-related articles
  • ...



New Posts

Spam/Forgery Notice

If you've received a spam email from, please know that this emails are...

07-03-2019 in Blog


Using dynamic GeoIP module with nginx (CentOS)

nginx introduced dynamic module support in v. 1.9.11. This brief article provides step-by-step procedure...

13-04-2016 in Linux, BSD, Unix


Visual difference between pseudo and true random data

This is is "random" image generated using PHP rand() function: And this is an image...

20-11-2015 in Blog

Scroll to top

We use cookies, just to track visits to our website, we store no personal details Privacy policy