Skip to content

The Expert

The Expert is a short youtube clip that illustrates what being billed as the “the expert” can feel like sometimes. Fortunately it’s not a common occurrence.

How to generate ssh keys on Mac OSX

Good clear description on how to create your own public/private keys for ssh.

Sugar Logic bug with a workaround for date fields

A client is recording the expiry dates of staff blue cards in their SugarCRM database.

So I used the following sugar logic to show if the blue card has expired or not:
ifElse(isBefore(today(),$bluecard_expiry_c),"Current","EXPIRED")

However, the problem here is that when a user of SugarCRM is editing the record, there is a known bug that means it will display “EXPIRED” regardless of if the date is in the past or future.

The workaround for this bug (thanks Anthony) is to wrap the date field in a date(toString($datefield)) bit of code, this transform the original sugar logic into this:

ifElse(isBefore(today(),date(toString($bluecard_expiry_c))),"Current","EXPIRED")

It is essentially force-casting the field to a date field for the javascript-side while passing the formula validator in Studio by first casting the date-type field to a string type.

Which works a treat.

Activate IFTTT SMS Channel on Optus in Australia

How to activate the SMS channel on IFTTT on the Optus network in Australia.

Assuming your mobile number was 0410 123 456.

Drop the leading zero = 410 123 456.
Add the Australian country code 61 to the front = 61 410 123 456.
Add 00 to the front of the number 00 61 410 123 456.
Remove all the spaces = 0061410123456.

Use this number (0061410123456) to active the SMS channel on IFTTT.

Hat tip to @Trail_929 for the pointer.

If this works for you on other networks in Australia, please let me know.

How to change default of Inbound to Outbound for scheduling calls in SugarCRM

When scheduling a call, the default selection for the ‘Direction’ field is ‘Inbound’. Your team primarily performs outbound calls so you would like the default value to be changed.

Scott Hanselman’s Complete List of Productivity Tips

Scott Hanselman’s Complete List of Productivity Tips. Lots of good points. I especially like the CONSERVE YOUR KEYSTROKES point.

Screenshot & screencasts on Mac OSX

Back when I worked exclusively on a Windows machine, I loved using Screenpresso for the ease with which it allowed me to do screenshots and screencasts (if you’re still stuck on Windows, go buy it, it’s worth it).

But now that I’m on a Mac, what to do?

So to start with just press SHIFT-CMD-4 and you can take a screen shot. It’s a native Mac thing.

If you have Dropbox installed go to Preferences | Import and tick the Share screenshots using Dropbox option.

If you want to do screencasts, then fire up QuickTime Player (CMD-SPACE | Quicktime ↩) then press CTRL-CMD-N to start video recording.

That’s how easy it is on a Mac.

Setting up Ubuntu Server 12.04 LTS under VMware on Mac OSX

Good set of instructions on how to get Ubuntu Server 12.04 LTS running under VMware Fusion on your Mac OSX machine.

synergy has been updated

Synergy has just been updated. It is a free and open source software for sharing one mouse and keyboard between multiple computers. Works on Windows, Mac OS X, Linux, Android and Apple iOS.

SugarCRM screen formatting issue

Angel Magaña explains why, and how to fix SugarCRM screen formatting issue. Summary: it’s the cache folder permissions.