Category Archives for No category

Xiaomi (Redmi 3) doesn’t connect to PC via USB

I want to use my old Redmi 3 phone as a camera for my PC. The most stable connection is via USB not by WiFi. I expected to plug into USB, select the right mode on phone and… Yes the journey just began… My PC didn’t see at all Xiaomi. Redmi was charged but nothing more.

What I try? Reinstall system on Xiaomi, different apps which should give access to USB settings mode on Redmi, but nothing works. Then I started looking from the other side – is it something wrong maybe in my Windows installation?

Continue reading

How to resize root partition without losing data

I signed up for a promotion with my VPS vendor for a one-time fee for a permanent increase in available space. The change was made on the provider’s side – now I had to make changes on my side.
Of course the question arose how to do it, so as not to reinstall the system and not to lose data. And to keep potential VPS downtime as low as possible.
So how did I do it?
As a reminder: my system is Debian 9, ALWAYS do backup and you do it on your own responsibility.

Continue reading

How to install CorelDraw X3 on Windows 10

I buy in the past CorelDraw X3. I know, there are many other newer versions but for me, it’s enough. After update Windows from 7 to 10, everything works ok. BUT when I install fresh version Windows 10 and try to install CorelDraw X3 I got errors.
The question occurs: Is there a way to install CorelDraw X3 on Windows 10? Yes! answer below.

Continue reading

Apache 2.4 redirect http to https via .htaccess

Just edit main .htaccess file and add:

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Of course you must have load mod_rewrite in your Apache config.

Using console Symfony2 shortcuts to app/console in Windows

Hi,

I`m developing using Symfony2 in Windows. I`m little tired still write “php app/console something…”. So I was wondering is there easier way. Should be possibilities to write aliases or shortcuts to console command.Continue reading

msvcr110.dll missing problem with PHP

After update GIT I notice problem with start my php installation on Windows 7. I don`t know it`s related to git update, however solution is easy.Continue reading

Plextor M5P update firmware by USB pendrive

So, as I mentioned before in my laptop I haven`t DVD drive. This is a problem when I want to update firmware in my Plextor M5P SSD drive. I try couple of make-USB-bootable drive software with no success. To now.

Step-by-step.

Continue reading

SSD freezing Windows 7 problem and fix

Recently I replaced the hard drive to SSD in my laptop Dell XPS 1647 . My choice was  Plextor M 5P Pro 128GB. As the magazine moved the existing drive in place of the optical drive – but that’s another story .

All beautifully and nicely – increase speed visible but … From time to time the system Windows 7 freeze . HDD LED is shining, the system don’t respond . It took a few minutes and occurred several times a day . Very annoying!

I started looking and found that it is responsible: Intel Rapid Storage Technology (RST) . In particular, LPM (Link Power Management) and DIPM (Device Initiated Power Management) . Theoretically, these systems have lower energy consumption SATA devices that support it , but as I can see can have side effects.

It remains to turn them off. RegEdit and go to work 😉Continue reading

DirectAdmin recursive set “proper” permission for files and folders

You must use console and type for all users files and folders:

find /home/*/domains/*/public_html -type f -exec chmod 644 {} \;
 find /home/*/domains/*/public_html -type d -exec chmod 755 {} \; 

If you want use only for specified directory just change patt pattern…

Have good day 🙂

Symfony2.3: The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

After update my Symfony2 project to Symfony2.3 i get:

The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

Easiest way is copy app/config/parameters.yml to app/config/parameters.yml.dist and run php composer.phar update again.

That’s all! Have a nice day 🙂

1 2 3 4