Headline »

How to Control a DSLR using an iPhone 5S

With the proliferation of smartphones that support powerful cameras, it’s not surprising to see an increase in the number of iPhoneographers worldwide. If you’re a camera enthusiast looking for a way to use both devices on your next shoot, read on. We’ll provide you with the steps in using your iPhone 5S to control your DSLR with the help of CamRanger.

Read the full story »
General

All other little handy tips that can’t really fit in any specific category

Photography

Photography technique, tutorials and equipment review.

Computers

Tips, tutorials and solutions for Windows, Macs, Linux, Servers and Media Centers. Get the very most out of your computer. Resources for all levels from newbies and techies.

Web Design and Development

Tools, tech tips and tutorials for web design and development. Including wordpress plugins and tweaks.

Tools and Productivity

Software, web applications, scripts and tools to make your computing, design, development or networking experience more easier, enjoyable and productive.

Mac »

Mac File Name Case Preserving yet Case Insensitive

Recently I was made aware of a little gotcha in the Mac file system. And that is file names on a Mac OS are case preserving, yet case insensitive.

What this means is that the cases are preserved in the file name, but when accessing the file, the name you use to identify the file is not case sensitive.

For example if you have a file named MyFile.txt. The cases in that file name is preserved. However when you want to access the file, you can call the filename as MyFile.txt or MYFILE.txt or Myfile.txt and in the mac, it will all reference the same file.

So you can do something like this.

$ echo "Hello World" > MyFile.txt
$ cat MyFile.txt
Hello World
$ cat Myfile.txt
Hello World
$ echo "Hello Again" >> myfile.txt
$ cat MyFile.txt
Hello World
Hello Again
$ ls 
MyFile.txt

So Where’s the Gotcha?

The gotcha lies mainly when you use the file in two different file systems and one of them uses case sensitive file names.

For example if you are writing Java code in a Mac but your build server run on Linux. You might be working on a file called MyClass.java but when you initially created the file, it was called Myclass.java. However because MyClass.java would reference the same file as Myclass.java, you weren’t aware of it until the class gets compiled on Linux.

Another example is you might have a script which executes another script or make references to other files. The file naming case sensitively on the Mac might bite you when you try to run that same script on a different operating system.

How do I work around this?

From what I have read, the case insensitive file system is actually a good thing on the Mac as for those who decided to reformat their hard drives to have a case insensitive file system, they seem to be complaining about a whole bunch of problems, mainly from programs not running as they can’t find files. You could also argue that it’s a bad thing as it resulted in programs being written with complete disregard for case sensitivity in the file name.

So it seems like the best way to work around this is to use caution when creating files when working on a Mac. And I guess if you have a build server running on Linux, as long as you have good tests, that will help you verify that your program/scripts will work in a case-insensitive file system.

 

JAVA: How to create a generic Array

If you try to create a generic array in Java, you will notice that it will throw an error. Here’s how to get around that.

Infograph on Facebook Page Marketing Part 3

edgerank103

Have your Facebook posts and updates been getting less attention than it used it? Well Facebook has gone through a number of changes and it has changed the way it determine what posts appear on each individual user’s news feed. This three part article series will explain to you how Facebook determine what posts gets displayed on which individual’s news feed.

Infograph on Facebook Page Marketing Part 2

edgerank102

Have your Facebook posts and updates been getting less attention than it used it? Well Facebook has gone through a number of changes and it has changed the way it determine what posts appear on each individual user’s news feed. This three part article series will explain to you how Facebook determine what posts gets displayed on which individual’s news feed.

How to Configure Linux to Automatically Boot Up

This article is a howto for setting up your server to use the RTC (Real-time Clock) alarm to have your Linux box automatically shutdown and boot up at a given time each day.

Google+ Cheat Sheet

Google+ Cheat Sheet

Cheat Sheet to formatting your status updates on Google+.

css.php