Tag Archives: Mac

My iPhone “Coding” Setup

Us IT guys, we all have our preferred setups. Software, tools, operating systems, keyboards, prefered browsers… We could fight unholy wars about them.

I consider myself to be a pretty flexible guy, myself. I don’t really worry about IDE’s, mostly because I can’t remember what IDE stands for and because I use Coda 2 for 90% of the things I do.

Coda 2 is a Mac app, and while I’m a Mac user at work my Mac(s) aren’t always in use. I usually use my Windows 10 laptop, but that means I’m struggling when the time comes to write some code or SSH into a server.

In that case, I could whip out my Macbook and find a way to make it work on my desk, or I could whip out my iPad / iPhone. They both also have a version of Coda installed. It’s a bit more limited in its features but it can access the credentials Coda2 stores in the cloud, and it’s got an easy to use SSH client. The only downside is that you’d be typing on an on-screen keyboard.

But today, I found what might be the ideal setup when I’m in a literal tight spot and need to use Coda for a bit. I present to you, my iPhone-As-A-Coding-Device setup


This setup leaves me with plenty of room for my notebooks and the likes, while still giving me a good programming experience. Here’s what my setup looks like:

  • iPhone 6 Plus with Coda installed
  • Apple keyboard, connected through bluetooth

That’s pretty basic so far. But take a look at my screen. I am streaming my iPhone to my PC, so I’m able to work in a big, easy to use window!

That’s because I’ve got 5kplayer installed, a tool that allows you to use Airplay to stream your iPad / iPhone to your Windows machine (if they’re on the same network). The configuration couldn’t be easier. Just install the software, and your iDevice will recognize the PC and it’ll be able to stream both sound and video.

You can resize the window, and up until 1920×1080 and even a bit higher, the content looks pretty great. Perfect when you need to do 15-20 minutes of programming. Or, in my case, when I need to stream a video from my iPhone to my Windows PC because my PC refuses to play the file. Long story, don’t ask.

How about you guys? Do any of you have particular or unusual setups or hacks? Let us know in the comments!



Review: Compare files and folders with VisualDiffer (Mac)

If you are building websites, at some point you will want to compare two versions of a file. Or, an entire folder perhaps. For example, earlier today I had to compare the entire folder of a Joomla site with a baseline back-up to see if someone had entered malicious code. That would have been a lot of (boring) work, but VisualDiffer made it a breeze to do the comparison.

VisualDif is extremely easy to use.

VisualDif combines being a powerful with an ease of use that’s often missing from similar products.  To get started, you drag the files (or folders) you’re going to compare to the App, and you click “Show Diff”.


After the App processes the comparison – which, in our case only took a few seconds – you are presented by a simple to understand results page. Colors indicate if a file is different from it’s counterpart, or if it was new. Colors on the folders make it really easy to find files that are different.

Example of a comparison. VisualDif detects a changed file in the CSS folder

When you’ve found files that have been changed, you can inspect them using VisualDiffer’s excellent editor – with built-in navigation between differences. In only a few seconds, you’ll see what has been changed, and if needed you can open the file in the text editor of your choice.



VisualDiffer is a handy little tool, useful for everyone who’s got a need for comparing (lots of) files. This Mac App can be purchased from the App Store for €3,49.

Duplicates in Filezilla after Importing Sites – Solution

In our office, we use Filezilla as the FTP client of our choice. We often share our “Site Settings” with each other – since we all manage the same sites – so we don’t have to ask “Can I get an FTP account for X? What’s the password for Y?” It might not be the best way of working, but it works for us.

During our latest ‘exchange’, however, my colleague pointed out that there were duplicates in her overview. Deleting all sites and doing a new import of the Site Manager only made things worse. And worse.

Fortunately, there’s a solution for this problem, and of course we are sharing it with you.  The trick is in deleting sitemanager.xml before importing the sites.

For Windows Users

2013 06 05 10 03 04

  • Go to Start, and type %appdata% in the search box at the bottom. Click the “Roaming” folder that appears
  • If you’re still using XP Go to Start > Run and enter the same. 

  • Open the Filezilla folder and delete the file sitemanager.xml

For Mac Users

If you are using a Mac, you can delete the file in the terminal.

  • Open your Terminal
  • Enter the following: cd $HOME/.filezilla
  • Enter the following: rm sitemanager.xml

For everyone

Now that that’s done, you can start Filezilla again and import the Sitemanager configuration. No more duplicates, rejoice!

How to: Delete Windows from your Mac



Is there anything Mac’s can’t do these days?  You can even install Windows on those darn machines!  Ideally, I’d now explain you how to install Windows (XP / Vista / 7) on your Mac.  But let’s talk about something different. 

If you’ve managed to install Windows on your Mac, using bootcamp, it’s there to stay.  Right?  Well, no.  There could be many reasons why you want to get rid of Microsoft’s operating systems.  You’ve finally seen the light (kidding, I like MS and Apple equally), your OS is performing poorly, or you’ve decided that windows + your Mac = not a good marriage.

Whatever your reason might be, this post will explain you how to delete Windows and win back the precious GB’s for your Mac OSX. 

I probably shouldn’t tell you this, but my reason to delete Windows (In this case, Windows 7) from a Mac was because the entire Mac was in a pretty bad state.  So, before we sent it back to our supplier, we wanted to set it back to it’s original (a.k.a “There is only one OS on this machine”) state. 

How you do it.

First of all, find your installation DVD of Mac OSX, and put it in your Mac.

Then, start your Mac.  While booting, there’s two options which will lead to the same result.

  • Hold down the “C” key
  • Hold down the “Option key”, and select the DVD as boot device.  In case you’re using a non-Mac keyboard, hold down Alt Gr instead. 

Once you’ve booted from the DVD, you’ll end up with an environment which looks like Mac OSX.  From the top menu, choose “Utilities”.   Then, choose “Disk Utilities” from the dropdown menu. 

In the new window, check the Disk on which Windows is installed.  In  case of doubt: it’s the one formatted in NTFS.  Don’t select the disk of which the name appears when using Mac OSX (Sorry, I wish I could be more specific).  Click on the tab “Partition”  and click the button “Delete this partition” (or something similar). 

Next, select the main partition (The only one left); and simply expand it by dragging at one of the corners. 

Your Mac OSX will now be able to use the full disk again.  Your Mac is now liberated from the chains of Microsoft!  (I stole this from GNU.  But, from their view, Mac OSX is just as “evil”.)

How to: Boot Windows / Mac OSX on a Mac

Just a few notes before we start this article.  I’ve made a few assumptions when I wrote this article.

  1. You already managed to install Windows on your Mac using Boot Camp. 
  2. Your “problem” is that Mac OSX keeps booting, and you want to boot Windows.  If the problem is the other way around: Don’t worry, the same tips still apply.  Just replace “Windows” with Mac OSX” and you’re set.   fixed my article so it works for everyone.

So, you’ve run into the problem that, when your Mac boots, it another OS than you’d like it to boot.  This isn’t really a problem, but more of a setting.  In Boot Camp, you’ve got to choose which OS will be used by default.  And because Mac’s truly are easy to use, this is easier to do than you might think.  .  Hold your “ZOMG Apple Fanboy insults, I’m a System Admin who works on a Windows Machine all day.  But I also happen to own a Mac which I’m very fond of.  Anyway, that’s not the point.  The point is that it should be easy to solve your issue.  Here’s how it’s done. 

Method 1: Selecting your OS at start-up

The first method to boot your OS of choice, is by using the boot screen that you can use during the startup of your Mac.  Here’s how to do it.

  1. Start your Mac.
  2. As soon as you hear the Mac startup sound, hold the option / alt key (I call it an alt key because it functions as the alt-key under windows.  And it has ALT written on it, not “option”). 
  3. A screen will appear, asking you to choose between the operating systems installed on your Mac.  Choose the one you want to load, using the arrow keys, and press the alt / option key again.  The OS of your choice will now boot!
Method 2:  Changing the default OS


In case you use one OS more often than the other, you’ll want to set it as the default OS, so you only need to use method 1 when you want to use the other OS on occasion.  (OS being Windows / Mac OSX, obviously).  Luckily, Macs are quite simple to use (here we go again) and even their software for windows is simple to use.  So you should have no problem following these instructions:

For Windows


  1. Open the Boot Camp tool.  Since there are so many windows versions out there today, I’ll be unfriendly and tell you to find the exact location by yourself.  One thing, though: If you use the quick launch / search bar under vista; mind the spelling:  it’s Boot Camp, not Bootcamp.
  2. In Boot Camp, you’ll already be ath the tab “Boot Disk”.  Simply follow the instructions (select the OS you want as your default OS) and click apply. 
  3. The next time you start / reboot your Mac, the OS you just chose will be loaded by default. 

For Mac

  1. Click the “Apple” on the top left.
  2. Choose “System Preferences”. 
  3. Choose “Boot Disk”.
  4. Once again, follow the instructions by choosing the OS that should boot by default. 
  5. Feel free to close the window.  You don’t need to press any “okay” or “apply” buttons.  I’m sure, I’ve checked it for you four or five times to make sure. 
  6. Next time you Mac boots, your OS of choice will load by default. 

And that’s it!  You’ll now always be able to boot the OS you want, not the one that just happened to be set as the default OS after you installed Windows.  Enjoy your Mac and Windows!