Wednesday, November 30, 2016

How to speed up Magento?

How to speed up Magento?



Magento is considered to be a professional open-source CMS that is rich in various features and offers its users the entire control and flexibility over it. All in all, it’s one of the most widely used eCommerce platforms around the world, and online merchants like it because it’s really a solid platform with amazing high functionality and easy adjustability.


Nevertheless, like any other thing in this world, Magento has certain drawbacks. For instance, lots of online merchants consider Magento rather slow. However, this fact isn’t a true one, and today, we’re going to debunk this myth about Magento by showing you several effective ways how to speed it up.

Way1: Use the Latest Version of Magento



If you use Magento as your eCommerce platform, always try to use its latest version. It’s an essential thing as the latest Magento version often contains all necessary bug fixes and performance updates. To find a notification about the latest Magento updates, check your messages inbox regularly.


It’s really easy to upgrade Magento: you should follow these three easy steps:


  • Download the Magento file tree of the freshest version; 


  • Initiate the installer from the file tree on top of the old version’s database; 

  • Transfer custom extensions and themes from the old version to the current version.

Way 2: Apply for CDN Services

If you have any problems with your web performance, it’s time to use a CDN for website . This service is really effective in speeding up web resources because your content objects (product images, video files and etc.) and other elements like JavaScript or CSS objects will be delivered to your final users from proxy servers located in various parts of the world. It really handy as your shoppers may be really scattered around the world.

Way 3: Use Flat Catalog

If you want to keep information about your goods in one table, you can simply enable flat catalog. This option really improves Magento performance by giving responds to MySQL queries faster.

Way 4: Optimize Magento Images



To increase your pages’ speed and cut down their downloading time, it’s vital to optimize all images of your goods. You may easily do this with the help of the following software:


PhotoShop;


TinyPNG Extension;


Compressor Extension.

Way 5: Combine JavaScript and CSS Files


To reduce the number of HTTP requests and to speed up your pages downloading time, always try to merge JavaScript and CSS files into one file.

Way6: Initiate Magento Compilation


If you are willing to boost up your Magento performance, you may also enable Magento compilation option. It’s able to shorten the file system reads by copying files into a single directory and catching the files that are frequently used.

Way 7: Get rid of Magento Database and Logs


Magento is able to keep logs up to 180 days, and if you don’t want to get a large database, you may set it to something like 14 days to save space.

Way 8: Use Less Modules and Extensions


The more extensions you run, the more HTTP you’ll have. In order to speed up Magento, use as little extensions as possible.

Friday, November 18, 2016

Scanning requirements for Linux and Unix operating systems

Significant scanning requirements for Linux and Unix operating systems
There are a great many operating systems on the market, provided by top-companies. Among the most popular and widespread are: Windows XP, Windows 7, Windows 8, and Mac OS X and Linux. Your smartphones, home appliances, cars, computers all run on the Linux platform. As for the Unix – it is a family of multitasking, multiuser computer operating systems which provide users with a set of tools which let them perform required tasks properly and effectively.
What about inventory scanning software?
The best way to scan these operating systems is to do it through SSH or to use inventory scanning software. Surely other protocols enabled on the computer, for instance SNMP, also provide some information as well, but keep in mind that it is SSH which can return the most detailed data. In order for Lansweeper to scan a Linux or Unix computer, you need to ensure that SSH is enabled on the computer. We advise you to use OpenSSH
The account you use to access SSH must be able to run the uname command. Lansweeper will also run a selection of the following commands (but it depends on your Linux distribution), though these commands are not strictly required: arp, bdf, df, dmidecode, dpkg, echo, equery, grep, hal-find-by-property, hal-get-property, ifconfig, lanscan, lslpp, lspci, machinfo, netstat, oslevel, pciconf, pkg_info, pkginfo, prtconf, prtdiag, rpm, smbios, sudo, swlist, sysctl, type, uptime, xl. Surely the required language for output is English, because computer may fail to parse other languages.
You shouldn’t necessarily use full robot access, but it is recommended to use an account with sudo rights. Sudo is required to run dmidecode but if it is not installed, then Lansweeper will try to run dmidecode without sudo. In case dmidecode can not be executed for some reasons, some hardware information will not be scanned, but the rest of the scanning process will still be executed.
What should you do to prepare a Linux (or Unix) computer for scanning?
Check out the list of steps you should make, the commands to enter are also provided for you:
  1. Make sure OpenSSH is installed on your computer. Use a graphical package manager or enter one of the commands below in the console:
  • Debian, Linux Mint, Ubuntu: dpkg -s openssh
  • Fedora, Mageia, Red Hat: rpm -q openssh
  • Gentoo, Sabayon: equery list openssh

  1. If not, install the OpenSSH server. Again, use a graphical package manager or enter one of the commands below in the console:
- Debian, Linux Mint, Ubuntu: sudo apt-get install openssh-server
- Fedora, Red Hat: sudo yum install openssh
- Gentoo: emerge --ask --changed-use net-misc/openssh
- Mageia: sudo urpmi openssh
- Sabayon: sudo equo install openssh

  1. To complete the installation reboot your computer.
  2. If you intend to run SSH automatically every time when the computer starts, enter one of the commands below in the console:
- Debian, Linux Mint, Ubuntu: sudo update-rc.d ssh defaults
- Fedora, Mageia, Red Hat: sudo chkconfig sshd on
- Gentoo, Sabayon: rc-update add sshd default

  1. If you intend to run SSH once, simply enter the command below in the console (in this case the SSH service will be started once and then shut down when the machine reboots).
sudo /etc/init.d/sshd start

  1. Verify whether SSH is running by entering the command below in the console. If there's output, SSH is running; if there's no output, SSH is not running.

ps -e | grep sshd

Tuesday, November 15, 2016

Common HTML and CSS mistakes

The most common HTML and CSS mistakes to avoid

When you just start trying your hands with HTML or CSS, making mistakes is quite natural cause you’re just the newbie. However, making mistakes does consume your time and energy. It may even influence on your career prospective.
Today, you’re going to speak about the most common mistakes made by beginners while using HTML and CSS.

HTML Faults

The most common HTML errors are:
  • Forgetting to close a tag (This mistake is very spread among beginners. Several tags require closing tags such as divs, strong tags, and links to name a few. Other tags require a closing slash to end the line such as an img tag);
  • A wrong DOCTYPE (HTML demands that you start out the document with the relevant DOCTYPE declaration. It needs to be before anything else in the code, starting the document by declaring what type of HTML you’re using);
  • Incorrect nesting tags (It’s a key moment to open and close tags in the proper order. Once something (for example a div) has opened, it must close before anything above it can close);
  • Capitalizing tags (Use lowercase for tags like divs, links, and images);
  • Using Inline Styles (Inline styles do work, but don’t forget to edit and add them in the future);
  • Don’t forget to encode special characters (all special characters should be shown by the proper HTML code invented for them);
  • Messing up classes and Ids (Classes are for items that are used more than once on one page. This can be a link style that you’ll call in multiple times on one page, but doesn’t follow the global link styling. Ids are items that are called in just once, like the header div. Classes and Ids are often overused and used in unnecessary places as well. Stick to the minimum amount of classifications that you need)

CSS Faults

The most common CSS errors are:

  • Not properly closed things (Remember that each div or item called in starts with the opening curly bracket and ends with the closing curly bracket. Each style called in needs to end with a semicolon. The last declaration within an item doesn’t need a semicolon, but it’s best to use it in case you plan on adding more items later on, you may forget to add it back in);
  • Not using global styles (use global styles for headings and paragraphs. It will reduce the risk of mistakes and will also cut down on the amount of code in your stylesheet);
  • Not using shorthand code (Shorthand code is another way to condense your stylesheet, which is helpful for speeding up user load times as well as finding things when you’re editing later on);
  • Not using original names for Ids and classes (It’s very important to choose names that are unique so that it’s easy to edit later on, and easy to identify in your stylesheet. Name your divs specific things like #home-left-column, which is better than just #left);

Visual Studio on Mac.


Microsoft announced that Visual Studio will be available on Mac soon. Prefiously they prefered to lock developers on single platform by keeping Visual Studio Windows only. A preview of the software will be unveiled at Microsoft’s Connect developer event later this week. For more information including technical details, head over to Microsoft’s  blog announcing the news.
After few hours Microsoft deleted their blog post, but you can find cached version here.

Facebook kills

If you Log on to your Facebook account on 11 November - there was a high chance to see a memorial banner, that urging your friends  to remember you.
It was something like this:

At 5 p.m. 11.11 2016 A spokesperson told the Wall Street Journal that everyone has been brought back to life — a move the company will almost certainly regret. “For a brief period today, a message meant for memorialized profiles was mistakenly posted to other accounts. This was a terrible error that we have now fixed. We are very sorry that this happened and we worked as quickly as possible to fix it.”