Skip to main content

Posts

Showing posts from February, 2013

Removing .NET Framework

In case one needs to remove .NET framework for some reason e.g. re-installation, there is a free .NET Framework cleanup tool.

The .NET Framework cleanup tool supports removing the following products:

.NET Framework - All Versions.NET Framework - All Versions (Tablet PC and Media Center).NET Framework - All Versions (Windows Server 2003).NET Framework - All Versions (Windows Vista and Windows Server 2008).NET Framework - All Versions (Windows 7).NET Framework 1.0.NET Framework 1.1.NET Framework 2.0.NET Framework 3.0.NET Framework 3.5.NET Framework 4.NET Framework 4.5
» .NET Framework Cleanup Tool User's Guide | Aaron Stebner's WebLog

Every student in every school should have the opportunity to learn to code

Code.org is a non-profit foundation dedicated to growing computer programming education.

Our vision is that every student in every school has the opportunity to learn how to code. We believe computer science and computer programming should be part of the core curriculum in education, alongside other science, technology, engineering, and mathematics (STEM) courses, such as biology, physics, chemistry and algebra.

jQuery: Move Up, Move Down, Delete Elements

The following article describes how to make use of jQuery to move elements up/down and also to delete them.


The JavaScript bit
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script language="javascript" type="text/javascript"> $(document).ready(function() { $(".moveDown").click(function() { $(this).closest("li").insertAfter($(this).closest("li").next()); //$(this).parent().parent().insertAfter($(this).parent().parent().next()); }); $(".moveUp").click(function() { $(this).closest("li").insertBefore($(this).closest("li").prev()); //$(this).parent().parent().insertBefore($(this).parent().parent().prev()); }); $(".deleteItem").click(function() { $(this).closest("li").remove(); }); }); function getSequence() { …

Bug on iOS 6 and iOS 6.1 let anyone access your phone without passcode

The bug on iOS 6 that allows anyone to access your phone without having to key in a valid passcode but Apple has fixed this with the release of iOS 6.1.


Very shortly, hackers found yet another bug this time round on iOS 6.1, exploiting the emergency call feature again to access your phone's data, voicemail and contacts.

How to delete the server history list from SQL Management Studio 2008?

Especially if you are in an environment where you need to connect to several different DB servers, the list of server names in your SQL Management Studio (SSMS) may get lengthy and some may even become defunct.

The question is how do I delete them? The steps involved is actually quite simple (note this is for SSMS 2008).

Go to %UserProfile%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\ShellFind SqlStudio.bin file and delete it.
The server name list is now clean again.

Google Glass Commercial Ad

Yahoo! Homepage Refresh - Newsfeed and Infinite Scrolling

Yahoo! CEO, Marissa Mayer, announced in a blog post that the homepage of Yahoo! (U.S. only) is refreshed. The new homepage features a new newsfeed section with infinite scrolling.

Designed to be more intuitive and personal, the new Yahoo! experience is all about your interests and preferences. Since streams of information have become the paradigm of choice on the web, we’re introducing a newsfeed with infinite scroll, letting you experience a virtually endless feed of news articles. Whether you are a sports fanatic or entertainment buff, you can easily customize your newsfeed to your interests. And, to make Yahoo! even more social, you can log in with your Yahoo! or Facebook ID to get articles from thousands of news sources as well as those shared by your friends.

Meteorite hit Russia, injuring almost 1,000

On 15 Feb, a meteorite entered Earth and came direct impact onto central Russia, setting off a shockwave that shattered windows and injuring almost 1,000 people in an event unprecedented in modern times. Preliminary investigation by the NASA suggests the meteor is unrelated to the less than 24 hours later asteroid which was set to pass Earth at a distance of 27,520 kilometres.

Quote from Nasa,

The trajectory of the Russia meteor was significantly different than the trajectory of the asteroid 2012 DA14, which hours later made its flyby of Earth, making it a completely unrelated object.
The reason as to why the Russian meteor was not detected is because it came out of the daytime sky. These are nearly impossible to find ahead of time because telescopes can only spot asteroids during the night. This is as quoted from the NASA.

Gangnam Style is history; Harlem Shake is NOW!

The PSY Gangnam Style has been copied all over the world and YouTube hits gathered more than 1.3 billion views so far - a record for YouTube.

Now, everybody is doing a brand new 30 seconds dance. This is how easy the dance can be setup. We just need one one person with a helmet and a mask in a seemingly normal environment. That person will start the Harlem Shake first before the entire room join in the dance.

Because of the simplicity of creating own Harlem Shake, many have joined in the fun, including big organisations like Pepsi, Google, Facebook and Microsoft.

Pepsi does the Harlem Shake
http://www.youtube.com/watch?v=DeMuHWai8-o

Google does the Harlem Shake
http://www.youtube.com/watch?v=8OiFb5O4fio

Facebook does the Harlem Shake
http://www.youtube.com/watch?v=dXC85PNVms4

Windows 8 does the Harlem Shake
http://www.youtube.com/watch?v=GNcnI3wfiso

Permalinks for Google Drive Images

In December last year, I talked about How to Download Google Docs With a Click. An unofficial blog Google Operating System published an article on getting a permalink for images uploaded onto the Google Drive, hence, allowing you to embed it onto your own blog or website.

Here's how to do just that.

Find out the file idThe permalink will be as such: https://docs.google.com/uc?export=view&id=[FILE ID]

PM Lee's Speech at Parliamentary Debate on Population White Paper

Speech by Mr Inderjit Singh on Population White Paper

People's Action Party MP, Mr Inderjit Singh, debated on the Population White Paper and put up his point across that he is against his own party's 6.9m projected population. I applaud his courage to stand up against the party whip and for his fellow Singaporeans.

His key points are;

Slow down immigration and focus on resolving all issue related to the past population boom.We can live with a slightly slower growth (not zero or slow growth) and hence moderate dependence on foreigners.Use the Dubai model to complement our local workforce with foreign workforce, but don’t grant them PRs – ie a transient workforce.Abandon the 6.9m figure by 2030, this will be another rapid growth which we cannot handle.Solve Singaporeans problems first and also don’t give PRs same privileges as citizens.
As published on Mr Inderjit Singh's Facebook status, the full speech made in the parliament is as below:

Speech by Mr Inderjit Singh, MP for Ang Mo Kio GRC
On the White Paper on Population

Madam S…

Turn your browser into a text editor

When we need to jot down something quick that doesn't need to be saved later, we often open up Notepad. There is actually a simple quick handy way to do it right in your browser. All you need to do is type the following code into the browser's URL bar:

data:text/html, <html contenteditable>
The above trick uses the Data URI's format and telling the browser to render an html.

» One line browser notepad | coderwall