Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting

Archive for the ‘technology’ Category

magento hellowired theme slider white blank screen issue


2013
Apr 06

many people have issues on the slider jquery plugin on magento, we tried the free template hellowired and we found out the fix for IE8 or let said mainly issue on IE.

follow their example:

<div id=”slider-wrapper”> <div id=”slider”> <div class=”panel”><img src=”image1,jpg”/></div> <div class=”panel”><img src=”image2.jpg”/></div> <div id=”controls”> </div> </div> </div>

you would get the white blank screen after the slider 1 changed to slider 2.

by looking through the css, what you need to do is just a simple fix, add the overflow:hidden at the end.

#slider { width: 674px; height: 328px; overflow:hidden;}

web site security


2013
Mar 16

how could you ensure your website is safe?

we find some tools on the web which could help you to ensure your website and server is safe.

here is the list:

this is a free open source version

- http://w3af.org/

- https://code.google.com/p/skipfish/

it provides a free community version to you. it is fine if you have a light weight website.

- https://www.mavitunasecurity.com

- http://www.nstalker.com/products/editions/free/

apple mac mini – mac OS upgrade issue


2013
Feb 13

we have finally upgraded our mac to 10.6.8, it got issue for a long time…… since we have installed virtual box, however during the upgrade, it reported that virtual box crashed the upgrade.

we removed the virtual box but the issue still unresolved.

hence, what we do is to upgrade the virtual box to the latest version, and the upgrade is succeed.

But, the upgrade still have issue, after the machine reboot, no icon and no login dialog is prompted…… finally, we search on the web and we find out the solution: http://support.apple.com/kb/TS1411

we have to go to safe mode (hold the shift key), then do the follow thing after open the terminal: (for Mac OS X 10.2.8 or earlier) mv /var/db/SystemConfiguration/preferences.xml preferences.old

(for Mac OS X 10.3 through 10.3.9) mv /Library/Preferences/SystemConfiguration/preferences.plist preferences.old

we don’t know why we have to do that……for normal user, they may go to pay several dollars to the support for the fix..

Cloud database


2013
Feb 02

Everyone should hear the word “cloud” for recent years. most people should try the cloud storage like box.net, dropbox, etc. Few people may even try the cloud hosting.

Since cloud is popular nowadays and even database, it become a cloud solution. For a web architecture, the most time consumption process is the database and image generation.

To improve the performance, using CDN for images is one of the solution.

To improve the reliability without downtime, web server could choose cloud service plan.

To further improve the back-end performance, you may even consider cloud database solution.

However, each cloud solution is like that, you have to pick up one primary data-center. To reduce the latency, you have to choose the right data-center for your solution, otherwise the performance may not be improved.

several vendors for Mysql Cloud:
Rackspace Cloud databases
Amazon Relational Database Service
Google Cloud SQL
xeround mysql cloud
cleardb mysql cloud

google cloud mysql would still be free until June 2013. if you really want to try the performance of the mysql cloud, you may try xeround and cleardb, they provided free service below:
xeround: DB Size: 10MB, Connections: up to 5
cleardb: DB Size: up to 5MB, Connections: 10

since the connections is limited, you may not use it for production web site, you may just use it for testing purpose.

fix google chrome app for asp.net


2012
Dec 09

browser issues again and again….asp.net cannot handle not only new browser IE10, but also “unknown” browser which regard as “new” browser that is not known by .Net framework.

Google chrome is common, we do think around 10% of iPhone, iPad owner using google chrome rather than safari, especially technical guy. How to fix the issue? Through server side programming.

you could write to the common master file on asp.net on the Page_Load or Page_PreInit at the first line like this:

if (Request.UserAgent != null && Request.UserAgent.IndexOf(“AppleWebKit”, StringComparison.CurrentCultureIgnoreCase) > -1){
this.ClientTarget = “uplevel”;
}

it would let ASP.NET to pick up the uplevel browser instead of downlevel browser.

google apps for business is not free anymore


2012
Dec 09

A sad news on 7 Dec 2012, google apps for business does not provide 10 free mailboxes for domain owner. Instead, you have to pay after the trial period.

If you read through the google apps business clearly, you can see the strategy is changed, the service, support and the reseller program, etc.

All services are like that, first, it would go through a free service period to test for the market and product. then, after accumulate several customer base or the testing is enough, it would start changing the business model to get revenue.

what we think is google apps is now matured enough and able to extend its own ability and integrate with other products, google could focus on extending its service, and could shift some of the support stuff to reseller.

The reseller program is not easy to enter. It has several criteria, not individual person could have such benefits.

If google would like to have further extending, they should consider individual person could also share the portion of benefit on the reseller program.

how to identify whether wordpress comment is spam or not


2012
Nov 25

For those who use wordpress as their blog, the main issue is how to identify who are spamming on their own blog?

There is one way to do theĀ validationĀ on the visitor – email or domain they filled in.

For those visitors who do not fill in the valid email, you can simply remove it.

But how to do the validation? just go to google.com and then type “Email Address Checker”, you would find some free tools for that purpose.

Another way to remove comments automatically is to use some wordpress plugin to clean up. However, if it is not efficient enough, you could write your own program to remove it from the database.

windows 2008 R2 datacenter edition


2012
Nov 21

windows 2008 R2 datacenter edition is really a great tool for visualization.
You are able to build unlimited windows instance on the same OS.

the main advantage is that you could separate your active directory, file sharing system, outlook exchange, DNS, proxy into different instance and you could manage and monitor each instance separately.
You could also build a backup/secondary instance when the core instance down.

If you only build virtual machine for windows in the server, you do not need to install extra software.

Besides, you could write your own powershell script to monitor each instance.
There should be a lot of free powershell script on the internet, you could try to google it!

how to create an exe file for user to download?


2012
Oct 27

We faced many time, users do not know how to unzip files……..
so the other solution we think of is to provide them an exe, then extract all files in a specific folder themselves.

how to do that in windows? many people don’t know, microsoft provide a program call IExpress which help you to create an exe file yourself.

Step1: find IExpress program and run

the first thing you have to do is to find the program IExpress.exe from your windows, usually it is located in WINDOWS/system32 folder. After that, open it.

However, if you are using windows7, you may face an error after doing all steps below, the error message is:
- “error creating cabinet”
- unable to open the report file ….

REMEMBER, due to the security reason after windows XP, you have to run the program as “Administrator”. Otherwise you cannot create the exe file and would get the error message.
you can just simply choose “create new self extraction directive file”, assume this is the first time you use.
iexpress setup step 1

Step 2: choose the package you need

since we focus on the extracting file issue, we only need to choose “extract file only”.
iexpress setup step 2

Step 3: choose the package name, it will be displayed when user click on the exe file.

iexpress setup step 3

we simply skip the step of “confirmation prompt”, “license agreement”, just choose the default value is ok.

Step 4: add files you want user to extract

iexpress setup step 4

then use the default value of “show window” and default value for “finished message”.

Step 5: type the path and the exe name for user to use

iexpress setup step 5

Step 6: this is what we mentioned in step 1, you could save the template and use it later on.

iexpress setup step 6

after that, your exe could be created! enjoy.

improve your site quality


2012
Oct 07

there are several ways to improve your site performance:
1. use higher CPU / better network speed
it would improve your site loading speed, in average, the landing page of your website should be less than 8 sec.
2. improve site loading speed by putting images/videos/flash on the CDN site
using CDN site, the image would not directly load on your website, when user browsers your site, the closest node of the CDN would responsible to provide the web content back to user
3. keep your site alive
keep your site alive is the goal for website owner and for visitors
4. cache your static content
using gzip compression would improve the file transfer speed to the user
5. image caching
if you want to cache the image on your site, please ensure the image you upload are accurate, otherwise it would be cached from the user local computer.
6. SEO for your website
to let your site searchable by search engine, you may need to add keywords, enhance the website structure, etc
7. backlinks
if more people reference your site, it would improve the popularity of your site

you could get help from some of the website below:
web page test
google web master