Tuesday, September 25, 2012

Fix iPhone 4 Home Button by rubbing it with alcohol

Incredibly this repair method has worked on two iPhones I own that had issues with their home button for over a year. One was not registering clicks at all for a while and while it's not 100% fixed it does work about 70% of the time now. The other phone's home button works 100%, sweet!


Saturday, September 8, 2012

MacBook Jerky Bluetooth Mouse and Wifi

Noticed today that my bluetooth mouse connected to my MacBook Pro gets nearly unusable when doing large file transfer to a nearby computer, the cursor is jerky and skips large parts of the hand motion.

This seems to be connected to Wifi vs. Bluetooth antenna interference, the jerkiness is significantly worse when my MacBook is in clamshell mode i.e. lid closed connected to external monitor. As soon as the MacBook lid is open the mouse cursor movements become smooth again. Problem goes away once file transfer is completed too.

Wifi 802.11g
Logitech M555b
MacBook Pro (15-inch, 2.53GHz, Mid 2009)
OS X 10.8.1

Saturday, July 30, 2011

Fix VNC Screen Sharing after upgrade to OS X Lion

Update: Mountain Lion seems to have fixed all issues I've had connection to the Mac from a Windows VNC client. The solution below has only worked intermittently for me.

After upgrading my MacBookPro to OS X Lion I noticed that none of my Windows, and other non-Apple VNC clients such as TigerVNC, RealVNC or TightVNC could connect to it. Following some instructions in the Apple Support Discussions web site I installed the Onyx utility, used it to delete all the caches under the Cleaning section. After cleanup and reboot, VNC sharing works again, with TigerVNC, with iPad client etc.

Here is the download link to Onyx, I used version 2.4.0b3 which is the 10.3 MB (beta) download. You can skip the S.M.A.R.T. and system volume tests on startup.

http://www.macupdate.com/download/11582/OnyX-Beta.dmg

Good luck, please comment on whether this works for you.

Saturday, January 22, 2011

Mac Outlook 2011: Keyboard shortcut to quickly file messages

Trying a switch to Outlook 2011 for Mac I needed a keyboard shortcut to quickly move selected email messages to specific folders. I edited some of the default AppleScripts which appear in Outlook's script menu, ended up with a script per folder I want to move messages to. Next step was to assign a keyboard shortcut to each script e.g. Option-A for File Message to Archive, Option-F for File Message to Follow-Up and so on.


A sample script is below, this is the one I use to move messages to a folder named "Archive", I simply created copies of this script for each folder I want to move messages to from the keyboard. The script is saved under ~/Documents/Microsoft User Data/Outlook Script Menu Items/File Message to Archive.scptd

*** UPDATE*** Microsoft released an Office 2011 SP2 upgrade on 4/12/2012, in this version of Outlook the scripts are expected to be placed in the folder: ~/Library/Application\ Support/Microsoft/Office/Outlook\ Script\ Menu\ Items/

The keyboard shortcut mapping is done from the OSX > System Preferences > Keyboard panel, just create a new Application shortcut, pick Outlook 2011 as the application and enter the exact name of your script as it appears in the script menu.


(*

 File message to Archive folder

*)

on run {}
 
 tell application "Microsoft Outlook"
  
  -- listSelectedItems : a list of all items selected in Entourage
  set listMessages to current messages
  
  -- Check to make sure items are selected, if not then quit
  if ((count of listMessages) < 1) then return
  
  -- Iterate through selected items
  repeat with objInSelection in listMessages
   
   set listFolders to mail folders
   
   repeat with objFolder in listFolders
    
    if (name of objFolder is "Archive") then
     set gtdFolder to objFolder
    end if
    
   end repeat
   
   if (class of account of objInSelection is not imap account) then
    -- IMAP currently not supported
    move objInSelection to gtdFolder
   end if
   
  end repeat
  
 end tell
 
end run

Tuesday, August 17, 2010

Caveats of Snow Leopard's Exchange 2007 Integration

My Company recently switched to Microsoft BPOS which allowed me to use the native Exchange 2007 support in Snow Leopard. I'm documenting below the various caveats I've encountered while using Mail.app and iCal on BPOS. Overall Mail is very workable and easily became my default email client. Still struggling with iCal, pretty much using it as a calendar viewer but all editing is done via OWA or Outlook in a VM.

Mail.app (v4.3)
  • Cannot configure server-side Exchange email rules, only client side-rules (workaround: configure via OWA)
  • Doesn't support sending or requesting read-receipts
  • No HTML composing
  • No easy way to set font type or size when composing (see workaround from jasonjackson)
iCal (v4.0.3)
  • Doesn't allow editing message when declining invitation
  • Cannot delete event without sending a Decline message
  • Pending invitations remain in iCal even when deleted on Exchange server
  • Events forwarded to Outlook users appear to them as calendars
Address Book (v5.0.2)

Sunday, August 30, 2009

Fix Juniper Network Connect on Snow Leopard

If you are unable to connect your corporate Juniper SSL VPN with Network Connect after an upgrade to Snow Leopard, enter the commands below in a Terminal window:


sudo chmod 755 /usr/local/juniper/nc/6*
sudo mkdir "/Applications/Network Connect.app/Contents/Frameworks"



Try to connect as usual and this should do it.

Tuesday, August 18, 2009

Sort installed RPMs by size

Keep forgetting this one, to list all RPM packages installed on a Linux (Red Hat / CentOS) machine sorted from the largest to the smallest in size:

rpm -qa --queryformat '%{size} %{name}\n' | sort -rn | more

This outputs something like this:

[root@healthy ~]# rpm -qa --queryformat '%{size} %{name}\n' | sort -rn | more
87389896 kernel
66720559 glibc-common
35274936 perl
30873913 valgrind
28767659 selinux-policy-targeted
27805586 redhat-logos
27022854 valgrind
26982540 mesa-libGL
24517704 mesa-libGL
22091978 python
20474820 specspo