Get CR10 run on Win10



Disable Roming Profiles (Windows Server)

This can be done on a per-user (Users; [User]; User properties; Profile tab; Profile path) or per-machine basis or in the Active Directory GPO. Here are the instructions for the computer policy which I prefer to use as to me in my scenario it is more appropriate to implement via a GPO/per-machine basis:

  1. Open Group Policy Management
  2. Navigate to: Computer Configuration\Administrative Templates\System\User Profiles.
  3. Enable “Only allow local user profiles” and “Prevent Roaming Profile Changes from propagating to the server” to disable roaming profiles on this machine or GPO.

Get count of files in each directory

Use: for i in `ls -1 .`; do echo -n $i „:  „; find $i|wc -l; done

Delete (really) many files in a directory

You may get an error with "rm", if really many files are deleted - like "arguments too long ..". Use this:

find . -maxdepth 1 -name '*.pdf' -delete

Increase Magento Speed with simple tricks

Here are some basic steps to optimize the Performance of Magento.

Read the rest of this entry »