Ben Hamilton

Category Archives: How to

How to change drive space on VMware Fusion VM

On occasion you’ll want to change the size of a Virtual Machines hard disk drive. I’m using VMware Fusion, and to do this, you enter the Settings of that VM and under the Hard Disk option you’ll be able to change the drive size. Note that you can’t make changes if the VM has snapshots […]

| Tagged , , | Comments Off on How to change drive space on VMware Fusion VM

How to get Google Chrome to open your pages from your last session

I use Google Chrome as my primary browser on the MacBook. Although I only restart the machine every few weeks I like it to re-open the same tabs that were open last. To do this, in Google Chrome type chrome://settings/ into the address bar and press enter. This loads the Settings page. Then check the Continue where […]

| Tagged , , | Comments Off on How to get Google Chrome to open your pages from your last session

Sharing a host folder with a guest Virtual Machine

I’m using VMware Fusion on my MacBook. At times I have either files on the local host (the MacBook) that I want to edit or installers that I want to run on the guest (the virtual machine). With your virtual machine running, click on the Settings icon, select Sharing | Shared Folders ON | tick […]

| Tagged , | Comments Off on Sharing a host folder with a guest Virtual Machine

How to close an app properly on iOS

To close an app on iOS, simply switching to another app does not close it. It is still running and consuming RAM. This Apple KB explains how to close it properly on iOS7. On iOS6, use this method.

| Tagged , | Comments Off on How to close an app properly on iOS

Emergency + is a smartphone app for Australian emergencies

In Australia we dial 000 for emergency services. This smartphone app (iOS and Android) shares your location with emergency services as well. Get it here: Emergency +.

Also posted in General | | Tagged , | Comments Off on Emergency + is a smartphone app for Australian emergencies

Habits of a happy Node.js programmer

Habits of a happy Node.js programmer.

| Tagged , | Comments Off on Habits of a happy Node.js programmer

Simple silkscreening

Simple silkscreening.

| Tagged | Comments Off on Simple silkscreening

Learn JavaScript

How to learn JavaScript Properly.

| Tagged , | Comments Off on Learn JavaScript

Backup because only the paranoid survive

I first heard the quote “only the paranoid survive” about 1999 or 2000. But it’s only recently I’ve heard the full quote. Which is: Success breeds complacency. Complacency breeds failure. Only the paranoid survive. For more Quotes from Andy Grove visit this quote page. This thinking applies to so many things, but one I often […]

| Tagged , , , , | Comments Off on Backup because only the paranoid survive

Apple Mac Firewall

I do use the Apple Mac builtin firewall, I’ve started with the default settings and only changed what I need when I need.

| Tagged , | Comments Off on Apple Mac Firewall

Do you use the Apple FireVault to encrypt your drive?

Do you use the Apple Mac FireVault? I’m not. At least, not yet. Given the warning it gives prior to turning it on I’ve not yet turned it on. Should I? or should I not? This is the warning that appears: WARNING: You will need your login password or a recovery key to access your […]

| Tagged , , | Comments Off on Do you use the Apple FireVault to encrypt your drive?

SQL JOINs explained

SQL JOINs? Go read the article from the source (Visual Representation of SQL Joins) and it’ll make even more sense.

| Tagged , , , , | Comments Off on SQL JOINs explained

The Perfect Web Development Environment for Your New Mac

The Perfect Web Development Environment for Your New Mac. Great set of instructions, worked for me.

| Tagged , , | Comments Off on The Perfect Web Development Environment for Your New Mac

How to resolve a Talend Execution failed due to access is denied error

Have Talend Open Studio running on a Windows server, however, when we run a job, it gives an error similar to the below: Execution failed : Failed to generate code. [No .class file created for file org\talend\designer\codegen\translators\processing\TMapMainJava$1.class in C:/Talend/TOS_DI-Win32-r111943-V5.4.1/workspace/.JETEmitters/runtime because of an IOException: C:\Talend\TOS_DI-Win32-r111943-V5.4.1\workspace\.JETEmitters\runtime\org\talend\designer\codegen\translators\processing\TMapMainJava$1.class (Access is denied) It turns out that the windows file permissions […]

| Tagged | Comments Off on How to resolve a Talend Execution failed due to access is denied error

Remove thousand separator in Integers in SugarCRM

We want to record a ‘Year’ value on a record in SugarCRM, but we don’t have a day and month to do with it, you can’t use a field that is of a ‘date’ type as that requires a full date (year, month, day). You can use an ‘Integer’ field type tho. The downside is […]

| Tagged , , | Comments Off on Remove thousand separator in Integers in SugarCRM

Find duplicate records in SugarCRM

Find duplicate records in SugarCRM version 6.5 and version 7.1.

| Tagged , | Comments Off on Find duplicate records in SugarCRM

Using GeekTool to display key timezones

I’m using GeekTool to display some key time zones on my wallpaper, which happens to include world map. The key to this is to add Shell Geeklets using a command similar to this: env TZ=Pacific/Auckland date +’%l:%M %p %A’ Use the appropriate timezone code and the date string formatting codes to display the time and date […]

| Tagged , | Comments Off on Using GeekTool to display key timezones

Java for Talend Tips

Java for Talend Tips.

| Tagged , | Comments Off on Java for Talend Tips

Using a ternary expression to check if a value is null

Simple test to see if a field is null. I’m using this in Talend to determine if I copy the value into a new note field. You could use a length test, but if the field is a date, then you need to do it this way. row1.field1 != null ? do_this_if_true : do_this_if_false

| Tagged , , | Comments Off on Using a ternary expression to check if a value is null

iCloud folder location

On Mac OSX (Mavericks) you can find your ‘iCloud’ documents in the relevant application folder like this: /Users/USERNAME/Library/Mobile Documents/CODE_AND_APP_NAME/Documents/ Each application keeps its own documents in a sandboxed folder. You can make an alias for a file and then move that to an appropriate folder, for example, I’m using Byword on the Mac, iPad and […]

| Tagged , , | Comments Off on iCloud folder location