Wednesday, December 18, 2013

.htaccess Password Protection

Password protect a directory or selects files within it on your site via .htaccess. It encrypts the desired passwords, then outputs the corresponding codes to put inside your .htaccess and .htpasswd files.

Tuesday, November 26, 2013

Free VPN & 100% Free PPTP and OpenVPN Service


Our Free VPN (Virtual Private Network) server is designed with the latest technologies and most advanced cryptographic techniques to keep you safe on the internet from prying eyes and hackers. Our VPN securely routing all your internet traffic through an encrypted tunnel to bypass government censorship, defeat corporate surveillance and monitoring by your ISP. VPNBook strives to keep the internet a safe and free place by providing free and secure PPTP and OpenVPN service access for everyone.

Wednesday, September 18, 2013

Developer Quiz

http://www.landofcode.com/first-webpage-guide-quiz/
http://webdesign.tutsplus.com/articles/quizzes/webdesigntuts-quiz-6-responsive-web-design/

Front-End Web Developer Quiz

What is the process for validating input on a form before submitting?

What methods can you use to improve front-end performance?

What is the hasLayout-model and what are the advantages/disadvantages of using it?

What are some differences with regards to CSS in IE7 and IE8?

What is the difference between “==” and “===” in Javascript?

What are the advantages of not declaring JS event handlers explicitly?

What is the difference between bubble and capture?

What are advantages of using a CSS reset file? Disadvantages?


What are the CSS considerations for min-width and max-width in IE7? IE8?

Reference: http://garbagecandrums.wordpress.com/2011/12/05/front-end-web-developer-quiz/

Thursday, September 12, 2013

UNDC Cambodia Jobs

http://www.undp.org/content/cambodia/en/home/operations/jobs/

ANZ Bank Job

https://anzglobal.taleo.net/careersection/careersection/anzextcs/moresearch.ftl

vShare can't load data


Could not start FMCore

Could not start FMCore

Description

This article describes common troubleshooting steps if the Universal Type Core for Universal Type Client or the Core for Suitcase Fusion for Mac OS X will not start.

Solution

Upgrade to the latest version of Suitcase Fusion or UTS

You can download the latest installers for Suitcase Fusion and UTC fromhttp://www.extensis.com/support/.
NOTE: UTC 3.0 and later can only be used with Universal Type Server 3.0 and later; UTC 1.0 and later can only be used with the matching version of UTS or later. Upgrading to Suitcase Fusion 3 from Suitcase Fusion 2, or to Suitcase Fusion 4 from either Suitcase Fusion 2 or 3, requires purchasing a license for the new version.

Reset the FMCore process

  1. In the Finder, choose Go > Go to Folder.
  2. Enter “~/.Extensis” (without the quotes) into the “Go to the folder” field and click the “Go” button.
  3. Drag the FMCore folder to the Trash.
  4. Launch Suitcase Fusion or UTC.

Restore the default configuration

  1. In the Finder, go to /Users/username/Library/Preferences/. Users of Mac OS X 10.7 and later can get to their Library folder by holding the Option key down and choosing Go > Library
  2. Delete the following files if they exist:
    • com.extensis.SuitcaseFusion.db
    • com.extensis.SuitcaseFusion2.plist
    • com.extensis.SuitcaseFusion3.plist
    • com.extensis.SuitcaseFusion3.plist.lockfile
    • com.extensis.SuitcaseFusion4.plist
    • com.extensis.SuitcaseFusion4.plist.lockfile
    • com.extensis.UniversalTypeClient.db
    • com.extensis.UniversalTypeClient.plist
    • com.extensis.UniversalTypeClient.plist.lockfile
  3. Launch Suitcase Fusion or UTC

Create a new font vault in Suitcase Fusion

  1. In the Finder, go to /Users/username/Library/Extensis/Suitcase Fusion/. Users of Mac OS X 10.7 and later can get to their Library folder by holding the Option key down and choosing Go > Library
  2. Move Suitcase Fusion.fontvault to the desktop
  3. Launch Suitcase Fusion

Clear the client datastore in UTC

  1. Go to /Library/Extensis/UTC/
  2. Select all of the folders inside of the UTC folder and move them to the desktop
  3. Launch UTC
Reference: http://www.extensis.com/support/knowledge-base/could-not-start-fmcore/

Saturday, September 7, 2013

How to create and call store procedure in phpmyadmin

call add_contact_us('test','yahoo','test','testing','test','test',now());

Thursday, August 22, 2013

500 – Internal server error from IIS 7.5 on Windows 2008 R2

You are running an ASP or ASP.NET web application on IIS on Windows 2008 R2 from a remote web browser and you constantly see following error message.
SNAGHTML839201
While this is the proper results for a production server (you never want to show remote users the details of an error), it is not helpful while testing a new installation…as a developer you need to see the error messages on the remote browser. There is an obscure setting that controls this for both ASP and ASP.NET. I hope the following will help anyone needing to see error details on a remote connected browser.

For Classic ASP Errors

In IIS Manager, select your ASP site, the double-click the ASP icon in the IIS section. The configuration settings for this ASP applications will appear. Open the section for Debugging and make sure the option Send Errors to Browser is set to True. Review other settings while you are here to ensure they match want you want.
SNAGHTML8bec9e

For Classic ASP and ASP.NET Errors

Just making the change above seems to work find under IIS on Windows 7 but not Windows 2008 R2. You may need to change one other setting. In IIS Manager, select the ASP or ASP.NET site, the double-click the Error Pages icon in the IIS section (do not confuse with the .NET Error Pages in the ASP.NET section) . The list of error codes and related IIS Error Pages will appear. Select the one for 500 errors and right-mouse, then choose Edit Feature Settings from the popup menu.
SNAGHTML94342f
The default settings is the third option which only allows detailed errors to be sent to a browser on the same server. Change this setting to the second option labeled Detail errors and then details of your code or script errors will be sent to the browser even if it is a remote quest. If you are using Internet Explorer, also make sure that Show Friendly Errors is not enabled. This is not a problem for Firefox users.
SNAGHTML962958
Be sure and change this setting back to the default if and when the server is used in a production environment. When that is the case, use the NT Event log for ASP errors (also set in the ASP settings section) and .NET Error Tracing as better ways to view the details of production errors. Hope this helps! Now you can view ASP and ASP.NET errors in the browser remotely. Here is an example of a Classic ASP error.
SNAGHTML9ccb57

Friday, August 9, 2013

PHP: give alert popup then redirect the page

Do something like
header("Location: index.php?Message=" . urlencode($Message));
Then on index.php...
if (isset($_GET['Message'])) {
    print $_GET['Message'];
}
Reference: http://stackoverflow.com/questions/11703854/php-give-alert-popup-then-redirect-the-page

Friday, July 26, 2013

Importance of Election Vote

Since the communism collapsed; the democracy has been brought to Cambodia instead of the communism. Becoming a democratic country, people have to vote to take several advantages of it.

The first thing, people have rights to choose a good leader who they trust and believe in leading our country to be a developed country. Choosing a good leader, the people get advantages to develop their communities, according to the needs of daily lives. The good leader will take responsibilities for the people who are voters. One more thing is that people have rights in their hands to decide on the destiny of our country related to our lives. Moreover, the people will live comfortably in a country with a good leader that helps people when they have problems. The most important thing, our country will have a strong structure to lead and prevent our country.

As we know the important of votes, so people who are over eighteen years old have to go to vote to choose our representative.

Apple Signing Bug Resulted In Downgrades From 6.1.3 To Jailbreak 6.0.X

Today, in a rather peculiar turn of events, Apple began re-signing iOS 6.0, 6.0.1 and 6.0.2 for supported iOS devices, including the iPhone 5iPhone 4SiPhone 4,iPhone 3GS, iPod touch 5, iPad 4, iPad 3, iPad 2, iPad mini and the iPod touch 4thgeneration. This came as incredible news, especially for iDevice owners who mistakenly upgraded to either iOS 6.1.3 or 6.1.4 (in the case of the iPhone 5). Users who were stuck on 6.1.3 without a jailbreak were glad to know that they could downgrade for a brief period of time to a firmware that’s fully supported by the evasi0n Untethered jailbreak.

Through somewhat of a fluke miracle, Apple was signing 6.0, 6.0.1 and 6.0.2 earlier this afternoon for devices that attempted to restore to any of the threefirmwares – for those of you who missed your opportunity though, you’reregrettably stuck on iOS 6.1.3 or 6.1.4 until a new jailbreak utility is created, unless this signing error occurs again.
When attempting to downgrade from 6.1.3 to a lower firmware that can be jailbroken evasi0n users simply had to download the corresponding 6.0, 6.0.1 or 6.0.2 IPSW, enter DFU mode, hold down either shift on Windows or option on OS X and left click the restore button inside iTunes. Once the firmware selection window popped up, it was as easy as selecting the firmware that was previouslysaved.
Unfortunately, while it’s not possible to take advantage of this error any longer, and although something like this has never happened before in Apple history, there’s always the chance that history will repeat itself.
Thank you for reading and don’t forget to subscribe to our Jailbreak UnTethered Evasi0n  news feed, like us on Facebook, follow us on Twitter and add us on Google+ to be promptly notified when we publish new articles regarding iOS 7 and future jailbreak solutions.

Wednesday, June 26, 2013

People do many different things to stay healthy. What do you do for good health? Use specific reasons and examples to support your answer.

As the popular adage says, "Health is wealth". Health is important than money and reputation. A healthy person can think and act better. Other things in life can go and come any time. But health is one thing that can not be gained back once lost. Eating right, exercising, sleeping, keeping healthy relationships are the methods I follow to keep myself healthy. I discuss these methods further.

First of all, Nutritious diet plays vital role to maintain good health. I eat right food in right quantity at right time to keep myself healthy. My food always include fat free and oil free items. I depend a lot on fruits which improve digestion system. In addition to it, I drink lots of water and fruit juices. Furthermore eating food at correct time keeps you far from obeysity and controls piling of fat at unwanted places.

Second, exercises like swimming, skipping, walking help a lot in keep one healthy. I walk for half an hour a day. Right exercises keep anybody active the whole day. In addition to it, exercises give lots of energy and keep stress away. Furthormore outdoor activities like playing games with friends or family would give much more energy and refreshes ones mind and body. Apart from this, as the famous maxim says, "early to bed, early to rise, keeps you healthy", is so much true that waking up early gives you fresh feeling and keeps you relaxed for the rest of the day.

Finally, maintaining good relationships with friends and family is one important thing which provides inner happiness. Playing and laughing with the people who are close to the heart are the priceless moments in anybody's life. For example, when you come back home after a stressful day at work, if your family welcomes with pleasent smiles you keep all you stress away and enjoy with family. It is important to have a happy family and friends which adds more health. 

To sum up, not just one but many factors play vital role in maintaining good health. Avoing any of the methods I mentioned might keep one in health hazards.