In lot of applications, we need to pick up one element randomly from an array. For example, we need to select a random color for some text from a group of predefined colors. Below is several methods one can use
A faster method to create complicate password
Existing method Have been using the following function to create password for years. New method Recently found that this method is quite slow. A much simpler and faster method. Test output Here are the results for some kind of benchmark
Test the speed of PHP functions: strtr and str_replace
Three arrays were built first: $array1, $array2, $array3. The last array was a combination of $array1 and $array2. $array1 was the keys of $array3 and $array2 was the values of $array3. The length of $array1 and $array1: 113 720 The
Auto fill numbers into a Pyramid
Colour tricks
Unicode List
Manuals for OpenOffice.org
It includes six books in Wiki form. New user’s guide Manual of Writer 3.x Manual of Calc 3.x Manual of Impress 3.x Manual of Draw 3.x Manual of Math 3.x We translated all books from English and Chinese. We produced
Share files among friends using Hotmail, Gmail, Dropbox and so on
We are living in a time that there are many options of Cloud Storage services. Anne is using Hotmail. Hotmail is linked to free cloud service OneDrive (formerly SkyDrive). Erik prefer Gmail. Google Drive is the free cloud storage service
XYS Mirror Site (Modern)
http://www.xys1.ebookdiy.com/ It contains about 1500 articles till October, 2015. The difference from other mirror sites include: Mobile first: easier for mobile users to view the site. The text size and layout will be adjusted automatically according to the size of
XYS Mirror site (improved)
http://xys.ss156.net/index.php It contains 99% articles published by Xin Yu Si, from its start-up. The difference from other mirror sites include: Mobile first: easier for mobile users to view the site. The text size and layout will be adjusted automatically according