windows file metadata

Windows seems to keep a very poor record of file attributes such as date created, date modified and date accessed. These attributes are important especially for audit purposes. My profs are even using these dates (in UNIX fortunately) as submission dates. Furthermore, I believe that these dates ...

Layered security

The unfortunate happened to me a few days back. While pushing a project onto a github public repo, I had forgotten to replace my mysql password with a dummy one. So, it was out there in the open for almost 1 entire day before I noticed it. Fortunately for me though, I had an additional layer of ...

Web = public

A very timely reminder that nothing on the web is private. Having just stumbled upon the awstats page for comp.nus, I have just unlocked a whole treasure trove of information. Among the most useful would be the list of 20000+ URLs generating most traffic, would be very interesting to poke in ...

Continuity plan

Having a good continuity plan is important in case of unexpected incidents. Today, I brought my tablet in for servicing as the touch screen got a little wonky. It started exhibiting "phantom touches" and was bordering on unusable as it would cause foreground applications to go out of focus, ...

Default printer settings

I have never paid much attention to setting default printer, normally setting it to the most commonly used printer for convenience sake. However, a reason episode made me think twice on whether it is wise. Recently, while using my hybrid laptop in school, a dialog popped up and disappeared ...

Hiding compressed files in images

Have been doing this for quite some time, just wanted to share the method. The following code should work on Linux/Mac. Step 1. Zip/Rar/7z your secret file zip hideme.zip s3cr3t Step 2. Append the zip file to a random image file cat hideme.zip > randompic.jpg Thats all. When you open the jpg, ...