Starhub is offering 30 FREE TV channels this Lunar New Year from 30 Jan, 12pm to 3 Feb, 3pm.
And if you are on the move, download StarHub TV Anywhere App which is available on both Android and iOS.
Computer, Technology, Databases, Google, Internet, Mobile, Linux, Microsoft, Open Source, Security, Social Media, Web Development, Business, Finance
Wednesday, January 29, 2014
Tuesday, January 28, 2014
Isaac Asimov’s Three Laws
The Three Laws of Robotics (often shortened to The Three Laws or Three Laws) are a set of rules devised by the science fiction author Isaac Asimov. The rules were introduced in his 1942 short story "Runaround", although they had been foreshadowed in a few earlier stories. The Three Laws are:
» Three Laws of Robotics | Wikipedia
- A robot may not injure a human being or, through inaction, allow a human being to come to harm.
- A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
- A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
» Three Laws of Robotics | Wikipedia
Sunday, January 12, 2014
Share Your Android Screen to PC or Laptop
I came across this BBQScreen app few months back and I thought it worth a mention to blog it. With BBQScreen, it is possible to share your Android screen right onto your PC or laptop. What you need to do is to install the app on your Android and also on your PC or laptop. BBQScreen support Windows, Linux and Mac OS. What's most important is that it is absolutely free of charge!
Saturday, January 11, 2014
15 jQuery Tips and Tricks to Increase Performance
jQuery has been widely used in several websites to make use of available libraries. Though the API itself is already optimised, it is still possible to enhance its performance.
Here are 15 tips and tricks by the Web Revisions.
Here are 15 tips and tricks by the Web Revisions.
- Always Use the Latest jQuery Version
- Always load CDN-hosted copy of jQuery
- Always use ID as Selector Instead of Classes or Name
- Always Cache jQuery Objects before use
- Always use Tags Before Classes
- Use Chaining
- Just give your Selectors a Context
- Storing Data
- Preloading images
- Try to make code simpler using group queries
- jQuery Lazy Loading
- Always Return False
- Use join() for Longer Strings
- Try to avoid DOM Manipulation
- Check if an Element Exists
Wednesday, January 08, 2014
10 Awesome Infographics to Guide your Marketing Plan for 2014
The Buffer blog has rounded up 10 infographics and suggestions on online marketing to help us get our 2014 marketing strategy off to a great start. Visit the page now.
Wednesday, January 01, 2014
Typography: Care about how sentences are looked, read and understood
Do you care about words and how they look, read, and are understood? 24 Ways mentioned the need to manicure the right rag. There are 5 possible violations that we should be mindful of.
Violation 1. Never break a line immediately following a preposition
Solution 1: Are there any prepositions in the text? If so, add a after them.
Violation 2. Never break a line immediately following a dash
Solution 2: Are there any dashes? If so, add a after them.
Violation 3. No small words at the end of a line
Solution 3: Are there any words of fewer than three characters that you haven't already added spaces to? If so, add a after them.
Violation 4. Hyphenation
Solution 4: Are there any emphasised groups of words either two or three words long? If so, add a in between them.
Violation 5. Don't break emphasised phrases of three or fewer words
Solution 5: Are there emphasised phrases of three or fewer words? If so, try not to break the line among them. Group them.
To implement the above on your blog or website itself, you may try out this script on GitHub.
» Run Ragged | 24 Ways
Violation 1. Never break a line immediately following a preposition
Solution 1: Are there any prepositions in the text? If so, add a after them.
Violation 2. Never break a line immediately following a dash
Solution 2: Are there any dashes? If so, add a after them.
Violation 3. No small words at the end of a line
Solution 3: Are there any words of fewer than three characters that you haven't already added spaces to? If so, add a after them.
Violation 4. Hyphenation
Solution 4: Are there any emphasised groups of words either two or three words long? If so, add a in between them.
Violation 5. Don't break emphasised phrases of three or fewer words
Solution 5: Are there emphasised phrases of three or fewer words? If so, try not to break the line among them. Group them.
To implement the above on your blog or website itself, you may try out this script on GitHub.
» Run Ragged | 24 Ways
How to defer loading of javascript efficiently using the Google way?
If there is a piece of code that is intended to be loaded after a webpage finishes loading, one efficient method as recommended by Google is to use listeners. An article on feedthebot illustrates the Google's method. The following code should be placed in your HTML just before the </body> tag. Also, all code blocks supposed to be delayed are to be placed in an external js file (defer.js in this case).
<script type="text/javascript"> function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "defer.js"; document.body.appendChild(element); } if (window.addEventListener) window.addEventListener("load", downloadJSAtOnload, false); else if (window.attachEvent) window.attachEvent("onload", downloadJSAtOnload); else window.onload = downloadJSAtOnload; </script>
Subscribe to:
Posts (Atom)
Popular Posts
-
Google url shortener service, goo.gl , is now much improved with newly included features like easier copy and paste, and ability to delete e...
-
I would like to apologize that sigining of my guestbook is not possible at the moment due to an unexpected bug. There is already 74 entries ...
-
Get accurate and real-time bus arrival information for public bus operators in Singapore, including SBS Transit, SMRT Buses, Go-Ahead Singap...
-
Installed FortiClient recently but the challenge in disabling the application/service from running automatically on every start-up annoyed m...
-
*********** Try to sleep now, close your eyes Soon the birds would stop singing Twinkling stars, are shining bright They'll be watch...