Categories
Web

Horde new interface

Just now I just realised that Horde just changed it’s interface in the latest version(v5).Before this Horde only have poor UI with classical menus and with no CSS customization but now in the latest update it has update all of it into the new interface that looks like Twitter Bootstrap.Her we inserted a few pictures on the new Horde

Categories
MY Tech Web

Get your free online Magazine now from Zinio- Malaysia

Maybe many people already know Zinio, the thing that give you many magazine through it library.Now special for Malaysian’s ,Celex partnership with Perpustakaan Negara Malaysia bring Magazine collection for free for Malaysian’s.

Partnership with National Library of Malaysia were one of the initiative under the Digital Malaysia,which encourages the use of technology in a variety of things.

After you have signup with Celex you can click on view collections to view the magazine collections,then automatically it will redirect you to the National Library of Malaysia magazine collection page.

The magazine will be added on Zinio account, and users can access it via the web, or for a better reading experience, can download Zinio app for iOS, Android or Windows.

Categories
Tech Tutorial

How to build your own Web Browser using Chromium

First of all you need this things :

  1. Prerequisite software:
    • Windows 7 or later.
      • A 64 bit OS is highly recommended as building on 32 bit OS is constantly becoming harder, is a lot slower and is not actively maintained.
      • At least 60 GB of free space in an NTFS volume. Tip: having the chromium source in a SSD drive greatly speeds build times.
    • Visual Studio 2010 Professional or Standard.
    • Windows 8 SDK.
    • June 2010 DirectX SDK.
    • (Optional) Cygwin
  2. Install Visual Studio 2010
    1. Make sure “X64 Compilers and Tools” are installed.
    2. Install VS2010 SP1.

  3. Install the Windows 8 SDK.

    Note: If you install the SDK in a path different than C:Program Files (x86)Windows Kits8.0 you need to set the following following environment variable:

    GYP_DEFINES=windows_sdk_path=”path to sdk”

  4. Install the June 2010 DirectX SDK
    Note: If your install fails with the “Error Code: S1023” you may need to uninstall “Microsoft Visual C++ 2010 x64 Redistributable”. See this tip from stackoverflow: http://stackoverflow.com/questions/4102259/directx-sdk-june-2010-installation-problems-error-code-s1023

Next you’ll need to patch Windows 8 SDK

    1. Parts of Chromium build using the winrt headers included with the Windows 8 SDK. All the headers we use, including the WRL, can be compiled with Visual C++ 2010 with the exception of one file, asyncinfo.h. This file uses a strongly typed enum which the VS2010 compiler doesn’t understand. To workaround this for the time being, a small patch needs to be applied to the Windows 8 SDK to build with the winrt headers in VS2010:

      Patch for Includewinrtasyncinfo.h

      Index: asyncinfo.h
      ===================================================================
      — asyncinfo.h
      +++ asyncinfo.h
      @@ -63,7 +63,7 @@
       #pragma once
       #ifdef __cplusplus
       namespace ABI { namespace Windows { namespace Foundation {
      -enum class AsyncStatus {
      +enum /*class*/ AsyncStatus {
         Started = 0,
         Completed, 
         Canceled, 
      This patch should be applied to the file “Includewinrtasyncinfo.h” located in your Windows 8 SDK directory. If this patch is not applied, the parts of Chromium that use the Winrt headers will not compile.
      Note: By default the Windows 8 SDK will install to C:Program Files (x86)Windows Kits8.0. This directory will require admin privileges to write to. Easiest way to do apply this patch is tostart an administrative command prompt, cd to C:Program Files (x86)Windows Kits8.0Includewinrt, run notepad.exe asyncinfo.h and comment out or delete the word “class” on line 66.
      Note: For Googlers, this patch has already been applied to your SDK, everything should Just Work.
  1. (Optional) Install cygwin

Next Build Chromium.

First of all you need to download the depot_tools from here . or the installer ( the installer is not from The Chromium Authors but I creatd it for you to easily extract it without have to waiting for a long time

After you have download it extract it to C: . Next you will need to :

  1. Check out the source code using a direct svn or git checkout. Do not use a tarball since it is not compatible with Windows’ svn client.
  2. Set up the component build (or else creating chrome_dll.pdb may fail laterl) and then regenerate the build files by running “gclient runhooks –force” in a cygwin/cmd window.
  3. Install API keys.
  4. Open the chrome/chrome.sln solution file in Visual Studio and build the solution. This can take from 10 minutes to 2 hours. More likely 1 hour.
  5. If you just want the Chromium browser, and none of the tests, you can speed up your build by right-clicking the chrome project in the solution explorer and selecting Build. You may want to make sure this project is the Startup project (which will display as bold) by right-clicking it and selecting Set as Startup Project. This will make Chromium (as opposed to some random test) build and run when you press F5.

[alert style=”yellow”] This Step was originally taken from Chromium Project Page. [/alert]

 

Categories
Tech Tutorial

How adblock works?

How does Adblock Plus block addresses?

The hard work here is actually done by Gecko, the engine on top of which Firefox, Thunderbird and other applications are built. It allows something called “content policies”. A content policy is simply a JavaScript (or C++) object that gets called whenever the browser needs to load something. It can then look at the address that should be loaded and some other data and decide whether it should be allowed. There is a number of built-in content policies (when you define which sites shouldn’t be allowed to load images in Firefox or SeaMonkey, you are actually configuring one of these built-in content policies) and any extension can register one. So all that Adblock Plus has to do is to register its content policy, other than that there is only application logic to decide which addresses to block and user interface code to allow configuration of filters.

For developers: to register a content policy you have to write an XPCOM component that should implement the nsIContentPolicy interface. Make sure to adjust the module’s registerSelf method to register your component in the “content-policy” category (use the category manager for this). That’s it, now your component’s shouldLoad method will be called and you can decide whether the specific request should be accepted or not.

How does Adblock Plus process its filters and which filters are faster?

All filters a translated into regular expressions internally, even the ones that haven’t been specified as such. For example, the filter adbanner.gif| will be translated into the regular expression/ad.banner.gif$/. However, when Adblock Plus is given an address that should be checked against all filters it doesn’t simply test all filters one after another — that would slow down the browsing unnecessarily.

Besides of translating filters into regular expressions Adblock Plus also tries to extract text information from them. What it needs is a unique string of eight characters (a “shortcut”) that must be present in every address matched by the filter (the length is arbitrary, eight just seems reasonable here). For example, if you have a filter |http://ad.* then Adblock Plus has the choice between “http://a”, “ttp://ad” and “tp://ad.”, any of these strings will always be present in whatever this filter will match. Unfortunately finding a shortcut for filters that simply don’t have eight characters unbroken by wildcards or for filters that have been specified as regular expressions is impossible.

All shortcuts are put into a lookup table, Adblock Plus can find the filter by its shortcut very efficiently. Then, when a specific address has to be tested Adblock Plus will first look for known shortcuts there (this can be done very fast, the time needed is almost independent from the number of shortcuts). Only when a shortcut is found the string will be tested against the regular expression of the corresponding filter. However, filters without a shortcut still have to be tested one after another which is slow.

To sum up: which filters should be used to make a filter list fast? You should use as few regular expressions as possible, those are always slow. You also should make sure that simple filters have at least eight characters of unbroken text (meaning that these don’t contain any characters with a special meaning like *), otherwise they will be just as slow as regular expressions. But with filters that qualify it doesn’t matter how many filters you have, the processing time is always the same. That means that if you need 20 simple filters to replace one regular expression then it is still worth it. Speaking of which — the deregifier is very recommendable.

The filter matching algorithm in detail

How does element hiding work?

Element hiding rules are translated into CSS and applied to all web pages the user is visiting. A rule like example.com#div(evil_ad) then looks like:

@-moz-document domain(example.com)
{
  div#evil_ad, div.evil_ad
  {
    display: none !important;
  }
}

@-moz-document is a proposed extension to the CSS standard, you can read more about it in theMozilla Developer Center.

Rules that are not restricted to a certain domain will be restricted to the protocols http:// and https:// to prevent them from hiding elements of the browser’s user interface (it is using the chrome:// protocol scheme). For example the rule #div(evil_ad) will be translated into:

@-moz-document url-prefix(http://),url-prefix(https://)
{
  div#evil_ad, div.evil_ad
  {
    display: none !important;
  }
}

For developers: Adblock Plus is using the stylesheet service here. This interface came with Gecko 1.8 and allows extensions to add user stylesheets dynamically (before that you could only modify userContent.css which requires you to restart the browser). User stylesheets will overwrite CSS code of all web sites, they have the highest possible importance.

[alert style=”yellow”] This is what we found on adblockplus wiki[/alert]

[alert style=”yellow”] Source : adblockplus wiki[/alert]

How AdBlockPlus give effect to bloggers

With Adblock many users wanted to block ads from youtube,but meanwhile when you surf website example my website the advertisement in this website also will be hidden.In this case the adblock will make our revenue decreased and hard to earn money from that ads.

Categories
Tech

The Elementary OS have been launched and available to Public

Finally The Elementary OS have been launched and available to Public.Before this the Elementary Team has run many test to developed the new Elementary OS (codename : Luna).Starting from Luna Beta 1 until Luna rc 1.Now they have succesfully developed the Elementary OS Luna.You can download it now from Elementary OS official page from the link below.

Elementary OS intro video

Screenshot (177)

 

 

[alert style=”green”] Download Elementary OS (Luna) now [/alert]

[alert style=”yellow”] We will make a review about Elementary OS in this fall In English and Bahasa Melayu [/alert]

Categories
Gadget

Ubuntu Edge funding campaign has broke the world record

Maybe before this,many people has know about the funding campaign for the Ubuntu Edge the new smartphone based on Ubuntu phone OS.Now the interesting news is with only 5 days left before the funding dateline on the Indiegogo page,Ubuntu Edge has broke the world record on the highest project funding.

The Ubuntu Edge funding campaign has reached $10.3 Million, thus breaking the old record that was held by the PebbleWatch for $10.2 Million

Watch this Ubuntu Edge video to know more about Ubuntu Edge

    nuffnang_bid = "e1fdf91bea0de4053d343715e45472e2";
    document.write( "<div id='nuffnang_lr'></div>" );
    (function() {   
            var nn = document.createElement('script'); nn.type = 'text/javascript';    
            nn.src = 'http://synad2.nuffnang.com.my/lr.js';    
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(nn, s.nextSibling);
    })();

Categories
Apple Web

Apple redesign iCloud.com into iOS 7 style.

Before this apple has introduced the new iOS 7 and Mac OSX Maverick with the new design and latest updates,with the new icons and the latest improvement in it.The iOS 7 also brings the new parallel view that enable us to see the icons in the iphone moving.And iOS7 also brings the new multitasking and control center.

Screenshot (172)

The latest news about apple and iOS 7 was the icloud.com beta.The icloud beta was redesign with the iOS 7 design/style and it also contain the same features like old icloud but with the new improvement and icons.The pages,numbers and keynote still in beta,while the other are normal.You can start logging in by going to iCloud.com beta  . Here we inserted a few pictures on the new iCloud beta.

Screenshot (176) Screenshot (174) Screenshot (175)

Maybe the iCloud beta will be launch and will be replace old iCloud after the iOS 7 launch.

Categories
Gadget

The new Gen of Nexus7 will launch in mid-September for Malaysia Market

Before this,Google already launch the new Gen of Nexus 7 and now for Malaysian’s smartphone users who are interested in,the Asus Malaysia have shared with us that the Google Nexus will be on Malaysia Market in mid-September.The release date and the price is still unknown at this time.The new gen of Nexus7 have the same screen size like old Nexus7 but the newer one brings a lot of improvement into it.The new gen of Nexus7 uses Android 4.3 as it OS

[alert style=” green”] Source Amanz.my [/alert]

    nuffnang_bid = "e1fdf91bea0de4053d343715e45472e2";
    document.write( "<div id='nuffnang_lr'></div>" );
    (function() {   
            var nn = document.createElement('script'); nn.type = 'text/javascript';    
            nn.src = 'http://synad2.nuffnang.com.my/lr.js';    
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(nn, s.nextSibling);
    })();

Categories
Gadget

SPIGEN LISTS ACCESSORIES FOR IPHONE 5C AND IPHONE 5S ON AMAZON: WILL APPLE RELEASE TWO IPHONES NEXT MONTH?

As what we know from Lowyat.net A new set of listings on Amazon by Spigen reveals that not only will Apple be selling the iPhone 5C, there will also be an iPhone 5S – quite possibly a refreshed iPhone 5 with minor bumps in specs. To top it off, the iPhone 5C cases and screen protectors will be in stock from September 20, while theiPhone 5S bumpers will be available from August 31.At this point, it is worth noting that such case listings has happened before with the iPhone 5 last year, with cases of all kinds and shapes announced months before the official iPhone 5 was launched – many of which turned out to be wildly inaccurate.

iphone-5s-case-spigen

[alert style=”green”] Source : Lowyat.net[/alert]

Categories
Tutorial

How to install wordpress?

What is wordpress?Wordpress is same as Joomla but wordpress is older than Joomla.Wordpress is very easy to use and it is the 1st option for bloggers to create their blog on their webserver.

WordPress vs Joomla :

WordPress is better to use for blogging and many more while joomla is only to create company,government and productivity websites

Template :

WordPress have many template available while joomla have many portfolio template.

How to install?

1st download WordPress from http://wordpress.org

2nd Transfer file using FTP to your webserver

3rd open your website by typing in http://yourdomain.com.

Note : you will be redirected to installation page

4th Insert all of your website details, admin details and database details then press install

You’ll need to get the database from your web hosting panel.

5th confirm the installation.Press Yes

6th  Your wordpress installation are done

7th Now you’re able to customize your wordpress with beautiful template ad plugins

 

[alert style=”green”]We offer Free Installation for wordpress.If you want us to install WordPress for you,Do not hesitate to contact us using the contact me form on the contact me page above.This is absolutely free,no credit card required.For more info click here[/alert]