Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Deleting Safari Cookies in iOS Simulator
    11/06/2013 9:36AM

    If you are doing any kind of development that involves cookies and need to be able to delete them while testing iOS you will likely need to delete them as well.

    The iOS simulator (Launched from Xcode by going to Xcode > Open Developer Tool > iOS Simulator) stores data for the simulator in the following directory on the host Mac OSX file system:  /Users/<uid>/Library/Application Support/iPhone Simulator/

    First, quit out of the iOS Simulator.

    To find the cookies and delete them open up a terminal and cd to the iPhone Simulator directory.

    $ cd /Users/<uid>/Library/Application\ Support/iPhone\ Simulator/

    Then execute the following find command to find the cookie data file:

    $ find ./ -type f -iname '*binarycookies*' -exec ls -l {} \;
    -rw-r--r--  1 ryanchapin  staff  2503 Nov  6 08:32 .//7.0-64/Applications/630F9FE9-87B2-4A6D-8C60-CA70EBC5FD8A/Library/Cookies/Cookies.binarycookies

    You can then update the find command to the following to delete the file.

    $ find ./ -type f -iname '*binarycookies*' -exec rm {} \;


  • Showing Hidden Files and Folders Under Mac OSX
    10/09/2013 11:10AM

    By default the Mac hides a number of different Folder as well as any file or folder that starts with a "." character.

    To show all of these files/folders in the Finder open a terminal and enter teh following commands:

    $ defaults write com.apple.Finder AppleShowAllFiles TRUE

    $ killall Finder

    The Finder should restart and you should be able to see all of the files and folders on the machine.

  • Tabbing To Links Problems in Browsers under Mac OS X
    02/05/2013 3:43PM

    I am working on building some 508 Compliant/Accessible web sites and am testing out how well the navigation works using only the tab key.

    Under Mac OS X with Firefox, Opera, and Safari, by default, the tab key does not cycle through all of the links on a web page.

    Firefox:

    • Go to: System Preferences/Keyboard/Keyboard Shortcuts
    • Click on the 'All controls' radio button towards the bottom of the dialog under the text that says: 'Full Keyboard Access: In windows and dialogs, press Tab to move keyboard focus between:'

    Safari:

    • Enabling the aforementioned setting does not do it for Safari
    • Go to: Safari/Preferences/Advanced
    • Under 'Accessibility:' click on the checkbox next to 'Press Tab to highlight each item on a a wepage'

    Opera:

    • Go to: Opera/Preferences/Advanced
    • Click on 'Shortcuts' in the left-hand nav of the dialog
    • Select 'Enable single-key shortcuts'
    • Opera does not implement keyboard navigation the way most other browsers do.  To step through the links on a page, press the 'Q' key to go forward, and 'A' key to step backwards through the links on the page.  'W' and 'S' keys you to navigate between headings <hn> tags.

    Chrome:

    • Go to: Chrome/Preferences
    • Scroll all of the way down to the bottom of the settings page and click on 'Show Advanced Settings'
    • Scroll down to 'Web Content'
    • Check the box next to 'Pressing Tab on a webpage highlights links, as well as form fields'
  • How to Add an Application to the Mac Approved Software List
    02/04/2013 9:16AM

    I am installing Eclipse on Mac OS X Mountain Lion.  Unpacking the .tar.gz was no problem, however, when I went to run it for the first time I got the following error message:

    Your security preferences allow installation of only apps from the Mac App Store and identified developers

    To add Eclipse to the list of 'approved' applications run the following command in a terminal:

    xattr -d com.apple.quarantine /path/to/Eclipse.app
  • Changing the VMWare vmnet IP Range when it Conflicts with a VPN on Mac OS X
    12/21/2012 3:34PM

    If you are running both VMWare (in my case VMWare Fusion 5) and a VPN that uses the 192.168.203.0 subnet you will may need to update the ip range that is used for the vmnet.

    In my case, vmnet8 was configured to use 192.168.203.0 and so was a VPN connection that I was using.

    As a result, if I fired up VMWare first and then attempt to make a connection to the VPN, I could not route to any of the 192.168.203.0 hosts.

    Following is what you need to do on a Mac running OS X:

            . Shutdown VMWare Fusion (simply quit the program.  It must stop the vmware_* services)

            . edited: /Preferences/VMware Fusion/networking
                    . Updated answer VNET_8_HOSTONLY_SUBNET 192.168.203.0 -> answer VNET_8_HOSTONLY_SUBNET 192.168.247.0
                    . /Preferences/VMware Fusion/vmnet8/dhcpd.conf and /Preferences/VMware Fusion/vmnet8/nat.conf will be automatically updated by VMWare with the config change

            . Fire up VMWare Fusion:

    # netstat -rn
    Routing tables

    Internet:
    Destination        Gateway            Flags        Refs      Use   Netif Expire
    default            10.1.10.1          UGSc           27        0     en0
    ...
    172.16.19/24       link#8             UC              1        0  vmnet1
    192.168.247        link#9             UC              1        0  vmnet8


            . Connect to VPN:

    # netstat -rn
    Routing tables

    Internet:
    Destination        Gateway            Flags        Refs      Use   Netif Expire
    ...
    172.16.19/24       link#8             UC              1        0  vmnet1
    192.168.12.156     192.168.12.156     UH              5        0   utun0
    192.168.200.120/32 192.168.12.156     UGSc            1        0   utun0
    192.168.201        192.168.12.156     UGSc            0       11   utun0
    192.168.202        192.168.12.156     UGSc            0        0   utun0
    192.168.203        192.168.12.156     UGSc            0        0   utun0
    192.168.247        link#9             UC              1        0  vmnet8

  • 1 2 >>
Advanced Search

Categories

Archives