Selasa, 22 September 2015

Using fonts in web design

An important part of the design is typography.
In print design, as long as we have the rights to use a font, we can pretty much do what we want. Of course, designers stick with some golden rules : don’t use too many fonts in one page, make sure it’s readable, make it big enough, but not too big, use colours and style wisely, etc, etc…
But in web design, not only we have to follow the same general design rules, but we also have to make sure fonts we use will be correctly displayed for all or most of our visitors.
There is a very short list of web safe fonts we can use for sure. CSS Font Stack is a great website extending this list of basic web fonts and providing statistics about availability of those fonts depending on operating system.
We also have access of many other fonts by using external services such as Google Fonts, TypeKit or Font Squirel to name a few. But this has its drawbacks. Even when the service is free, the use of these fonts can increase the page loading time (i.e. slow down your website).
Depending on what type of web page you’re building, it can be better to stick with default fonts. Choose your favorite, then make a list of fonts that look similar, in case the one you prefer is not available. Typically, if we go for Helvetica (widely available across Mac computers, not so much on Windows), we will give Arial as a second choice (which is available on all Windows computers). The page will look slightly different depending on the device and operating system you use, but it will be close enough and the pages will keep loading fast.
Talking about devices and operating system, here’s another annoying thing you should know : even if we use the same font and make sure it is available widely, there’s no way it will look exactly the same everywhere. Some computers will make it look bigger, or use different space between letters (kerning and/or tracking). So when building a website, you need to accept the fact that it will never be exactly the same. Your web designer / developer also needs to be aware of that to make sure it will look close enough and always usable and readable on all devices.

 source:http://www.tirzen.com/2013/12/using-fonts-in-web-design/

Senin, 21 September 2015

Where are the Windows registry files located in Windows 7/ 8/ 10?

The Windows Registry is the centralized configuration database for Windows NT and Windows 2000, as well as for applications. The Registry stores information about tuning parameters, device configuration, and user preferences.

On disk, the Windows Registry isn’t simply one large file but a set of discrete files called hives. Each hive contains a Registry tree, which has a key that serves as the root (i.e., starting point) of the tree. Subkeys and their values reside beneath the root.

Location of Windows registry files

The location of these registry hives are as follows:
HKEY_LOCAL_MACHINE \SYSTEM : \system32\config\system
HKEY_LOCAL_MACHINE \SAM : \system32\config\sam
HKEY_LOCAL_MACHINE \SECURITY : \system32\config\security
HKEY_LOCAL_MACHINE \SOFTWARE : \system32\config\software
HKEY_USERS \UserProfile :  \winnt\profiles\username
HKEY_USERS.DEFAULT : \system32\config\default
Some hives are volatile and don’t have associated files. The system creates and manages these hives entirely in memory; the hives are therefore temporary in nature. The system creates volatile hives every time the system boots. Examples are:
HKEY_LOCAL_MACHINE \HARDWARE : Volatile hive
HKEY_LOCAL_MACHINE \SYSTEM \Clone : Volatile hive


These files are database files, and only RegEdit, Regedit32 and the Kernel32 can read them. The primary tool in Windows 7 for working directly with the registry is Registry Editor. To access it, simply type Regedit in Start Menu Search Bar and hit Enter !
If you need to read more on this, head over to TechNet!
UPDATE: AccidentalADMIN has made a useful comment. He says:
Every Windows got a registry Key which lists every hive in system. Open Regedit and navigate to the following key to get a complete list:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelist

Ad-Aware Antivirus Standalone Installers

Ad-Aware Standalone Installers – No internet required.

Step 1. Download the Standalone Installer files for:
x64-bits OS
win32-bits OS

Step 2. Unzip and move all the 3 msi files on Disc C.


Step 3. Start Command Prompt (CMD).
Windows 7:
Click on the START button and then use the search tool. Type CMD and you should find this:

Windows 8:
Move your mouse the bottom right corner and then use the search tool. Type CMD and you should find this:

In both case, you need to press CTRL + SHIFT + ENTER in order to use CMD in admin rights. If you did it properly, you will be prompt to accept the “User Account Control”. Press YES

You should now have this window exactly like this:


Step 4. In CMD, enter this: cd \
This will send you back to the C: drive. And you should now see this:


Step 5. Install Ad-Aware component as standalone
For Windows 64: copy in CMD, using right-click and PASTE, the following strings, one at the time, and install each components individually. Once you copy pasted a string, press ENTER
Ad-Aware Installer:
msiexec /I AdAwareInstaller_x64_11.0.4555.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"
Ad-Aware Anti-Malware Engine:
msiexec /I AntimalwareEngine_x64_2.6.0.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"
Ad-Aware Updater:
msiexec /I AdAwareInstaller_x64_11.0.4555.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"
For Windows 32:
copy in CMD, using right-click and PASTE, the following strings, one at the time, and install each components individually. Once you copy pasted a string, press ENTER
Ad-Aware Installer:
msiexec /I AdAwareInstaller_win32_11.0.4555.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"
Ad-Aware Anti-Malware Engine:
msiexec /I AntimalwareEngine_win32_2.6.0.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"
Ad-Aware Updater:
msiexec /I AdAwareUpdater_win32_11.0.4555.0.msi INSTALLDIR_ROOT="c:\\Program Files\Lavasoft\Ad-Aware Antivirus"

Follow each prompts to install:


Step 6. Once completed, download the Definition Files:
x64-bits OS
win32-bits OS

Step 7. Move the "Plugins" folder in this folder:
C:\Program Files\Lavasoft\Ad-Aware Antivirus\Antimalware Engine\2.6.0.0
Windows will ask if you want to merge both folder. Click on YES


Step 8. REBOOT your computer and then you can start using Ad-Aware and scan your computer. This is an important part of the process, a reboot IS NEEDED.

source: http://www.lavasoft.com/mylavasoft/support/supportcenter/standalone-installer