a blog about coding & IT

  • ls sort by date modified os x

    Sorting directory or file listing by date last changed/modified on Mac OS X (with long listing & attributes such as size & permissions): ls -latc On linux: ls -laSt

  • Linux copy all hidden files directories keep permissions

    cp -rp /source-dir/. /destination/ -r = recursive -p = preserve /source-dir/. = dot means the entire directory contents, including hidden files

  • Bash move-jump word forward backward iTerm

    In bash terminal, to skip forward or backward whole words you need to send meta + f and meta + b, but Mac’s don’t have alt keys, rather option. iTerm allows you to change option to meta under profiles (or globally in Keys).  Change option key to meta shown below and you’ll be able to…

  • aptitude package manager – how to use tutorial

    Debian / Ubuntu linux visual package manager, a step-up from apt / apt-get command line for installing your LAMP server. Navigating aptitude with hot keys ? – help screen with partial list of hot keys l – filter packages (lower case L), shows only packages / – search, places cursor (within context of all packages)…

  • Complete Uninstall Eye-Fi

    After finding Jeff Tchang’s Python (programming language) Eye-Fi lightweight file transfer server, I’ve decided to uninstall completely the Eye-Fi Center and Helper from my Mac.  Mostly because the Eye-Fi Helper continues to start on boot of my Mac, even after I’ve set it to Not Start on Boot. There’s no uninstaller for Eye-Fi Center &…

  • Macbook Retina – Can’t wake from sleep

    Opening the lid of MacBook Pro Retina from sleep, I sometimes get black screen and no wake up.  Only solution is to hold down the start key and do a cold reboot.  Keyboard function still appears to work somewhat (caps lock lights).  Changing brightness keys do nothing (nor a bunch of random button mashing, unplugging…

  • Non-Flash Internet Speed Test (HTML5)

    http://www.bandwidthplace.com performs its Internet connection speed test using HTML5 unlike every other bandwidth testing site, which has lots of useless graphics and ads. Recommended!

  • Fix unlocked iPhone 3GS random signal drops

    iPhone 3GS or 3G (software unlocked by redsn0w/ultrasn0w & similar) going from full signal strength bars to 1 bar to no bars, both 3G signal and wifi, to SEARCHING… to NO SERVICE, back to full bar signal strength, repeatedly, randomly especially with location services / GPS running (mouse pointer arrow visible in top right of iPhone…

  • Google Chrome Retina support web browser

    Download Chrome beta with Retina support (code name Canary) from Google Tools. While Safari 6 problems on Retina Macbook Pro solutions are being found, Chrome beta with Retina display support can be an alternate solution, albeit with its own set of problems. Word of warning: as of August 4, 2012, Chrome beta Canary is still…

  • Safari 6 Macbook Pro Retina Mountain Lion Problems

    Stuttering, flashing, missing page parts, delayed typing/keyboard reaction, character corruption are Safari problems (Safari version 6) seen under Mountain Lion (OS X 10.8) on Macbook Pro Retina.  The current Safari 6 version 8536.25 (check in the menu bar by clicking Safari –> About Safari) seems to only have serious issues on Macbook Pro Retina, not on…

Got any book recommendations?