Tuesday, November 14, 2017

Blog

Here I publish my notes that I feel could be useful for someone else on the globe...

This is is "random" image generated using PHP rand() function:

50c4692360d970e64ef356f74746f894

And this is an image base on true random generator:

e50c4c4f806f423ab6ca6253c403ebdd

 (Having a true random number is extremely important in cryptography, simulations and so on)

Tagged under:

If you run nginx on Windows (for development purproses, for instance), you may often experience 'An existing connection was forcibly closed by the remote host' errors.

To get rid of them, add the following lines to your nginx.conf:

keepalive_timeout 65; keepalive_requests 500; proxy_http_version 1.1;
Tagged under:

Pale Blue Dot

Friday, 02 October 2015 by
Tagged under:

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:

imshow(X,'InitialMagnification',50);

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:

warning('off','images:initSize:adjustingMag');

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

Tagged under:

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.

Tagged under:

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:

Tagged under:

Premium Joomla templates

Wednesday, 27 March 2013 by

Many years ago I discovered a site with tons of high-qualty Joomla templates. Yes, it's ThemeForest - one of my favourite marketplaces. I often use it to get adequately-priced and high-quality items.

Try it for yourself! >>

Tagged under:

Recently I was doing some coding in C#, which featured launching processes as another user. I've set all the necessary parameters in ProcessStartInfo object that I passed as an argument to Process.Start(... method. However, it was constantly causing an error - 'The directory name is invalid'.

Tagged under:

We all know that it's diffucult to make backup of Windows registry. This is because OS prevents direct access to the files, even for reading, so we have to use an alternate tools. But when you are running a Recovery console (as well as any other OS) you can access those files, copy and replace them.

Welcome!

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

 

themeforest

New Posts

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

READ MORE

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

READ MORE

Best EEPROM practices

(this article is a work in progress). My own advice will be added later...   Having...

12-10-2015 in Arduino

READ MORE
Scroll to top

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