Search This Blog

Google Analytics

Sunday, March 30, 2014

Microsoft MS-DOS v1.1 and v2.0 Source Code

Microsoft released the source code for MS DOS 1.1 and 2.0 few days back. With the help of the Computer History Museum, the source codes are now made downloadable by the public.

On the same day, Microsoft also released source code for Word for Windows 1.1a.

» Microsoft MS-DOS early source code | Computer History Museum

Microsoft Word for Windows Version 1.1a Source Code

Microsoft released the source code for Word for Windows 1.1a few days back. With the help of the Computer History Museum, the source codes are now made downloadable by the public.

On the same day, Microsoft also released source code for MS-DOS v1.1 and v2.0.

» Microsoft Word for Windows Version 1.1a Source Code | Computer History Museum

Wireless@SG - SIM-based Connection Guide

From 1 Apr 2014 onwards, Singapore's FREE Wi-Fi initiative Wireless@SG will be enhanced to allow SIM-based authentication. This is on top of the existing non SIM-based authentication, one that requires connecting to a SSID through Wi-Fi and then doing a web-based authentication.

From the list of supported devices that support EAP-SIM, it appears many today's iOS, Android and BlackBerry devices are supported. Windows devices are not in the list.

Friday, March 28, 2014

Tips to convert all ebook format and make them readable across all devices

An article published on the LifeHacker - How to Buy Ebooks From Anywhere and Still Read Them All in One Place detailed just how to make sure eBooks purchased or downloaded across multiple sources can be made readable on any other eBook reader/devices. One key point to note is the step required to strip away DRM.

Hope it helps.

Tuesday, March 25, 2014

Image Resize in C#

The below code snippet (adapted from Stackoverflow) will do a image resize to a desired width in pixels. I hope it helps.

/// <summary>
/// Resize image to desired dimension based on width
/// </summary>
/// <param name="strSrcPath">Full absolute path of image source</param>
/// <param name="strDestPath">Full absolute path for resized image to be saved to</param>
/// <param name="iNewWidth">New desired width in pixels</param>
/// <param name="blnIgnoreIfNewWidthLarger">Do not resize image should new desired width is larger than width of original image if set to true</param>
public void Resize(string strSrcPath, string strDestPath, int iNewWidth, bool blnIgnoreIfNewWidthLarger)
 bool blnDoNotResize = false;
 System.Drawing.Image objSrcImage;
 System.Drawing.Bitmap objDestImage;
 System.Drawing.Graphics objGrapics;

  objSrcImage = System.Drawing.Image.FromFile(strSrcPath);

  int iSrcWidth = objSrcImage.Width;
  int iSrcHeight = objSrcImage.Height;

  blnDoNotResize = ((iSrcWidth == iNewWidth) || (blnIgnoreIfNewWidthLarger && iNewWidth > iSrcWidth));

  if (!blnDoNotResize)
   int iNewHeight = iSrcHeight * iNewWidth / iSrcWidth;

   int iSrcX = 0, iSrcY = 0, iDestX = 0, iDestY = 0;
   float fPercent = 0, fPercentW = 0, fPercentH = 0;

   fPercentW = ((float)iNewWidth / (float)iSrcWidth);
   fPercentH = ((float)iNewHeight / (float)iSrcHeight);
   if (fPercentH < fPercentW)
    fPercent = fPercentH;
    iDestX = System.Convert.ToInt16((iNewWidth - (iSrcWidth * fPercent)) / 2);
    fPercent = fPercentW;
    iDestY = System.Convert.ToInt16((iNewHeight - (iSrcHeight * fPercent)) / 2);

   int iDestWidth = (int)(iSrcWidth * fPercent);
   int iDestHeight = (int)(iSrcHeight * fPercent);

   objDestImage = new System.Drawing.Bitmap(iNewWidth, iNewHeight, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
   objDestImage.SetResolution(objSrcImage.HorizontalResolution, objSrcImage.VerticalResolution);

   objGrapics = System.Drawing.Graphics.FromImage(objDestImage);
   objGrapics.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;

    new System.Drawing.Rectangle(iDestX, iDestY, iDestWidth, iDestHeight),
    new System.Drawing.Rectangle(iSrcX, iSrcY, iSrcWidth, iSrcHeight),



   System.IO.File.Copy(strSrcPath, strDestPath, true);
 catch (Exception ex)
  throw ex;
  objSrcImage = null;
  objDestImage = null;
  objGrapics = null;

Wednesday, March 19, 2014

Edward Snowden Speaks at TED 2014

Infamous Edward Snowden, former contractor for the National Security Agency (NSA) and whistleblower who leaked thousands and thousands of classified American National Agency documents that had led to global outrage over U.S. privacy pry on all other countries. Of course, this had also led to Snowden having to base himself in Russia to avoid being detained by the U.S.

Snowden appeared in the form of a robot at and spoke about surveillance and Internet freedom.

Friday, March 14, 2014

Google Docs and Sheets Launches Add-Ons

Google launches add-ons to its Docs and Sheets apps. With add-ons written by developers, users would now be able to add in even more features in their documents and spreadsheets e.g. easily send documents as emails to contacts, create Avery address labels and name badges from Google spreadsheet data, adding track changes and approval workflow, etc.

This is really many steps ahead for Google.

Wednesday, March 12, 2014

Gift - A Singapore Drama Short Film by Viddsee

An inspiring short 8 minute short drama titled "Gift" by Singaporean Viddsee.

Being rich is not about what you have, but how much you can give.

Tuesday, March 04, 2014 - Merge multiple files (PDF, Word, PowerPoint, Excel, Images) into one consolidated PDF, Word, Excel or PowerPoint is a 100% FREE online tool that can combine/merge multiple files of varying formats (PDF, MS Word, MS PowerPoint, MS Excel, images, html, and/or .txt files) into one consolidated PDF, MS Word, MS Excel, or MS PowerPoint document. The tool also allows reordering of the selected files before finalising for merging.

Monday, March 03, 2014

Ellen Selfie at the Oscars 2014 - Most Retweets Of All Time

Ellen DeGeneres took a selfie together with several stars at the Oscars 2014 and tweet it online right away with a Samsung sponsored Note 3 phone. The tweet garnered the most number of retweets Of all time beating Obama's 2012 record.

Ellen DeGeneres 2,471,533 retweets (as of now)

Barack Obama 781,578 retweets (as of now)

Popular Posts