Download bbcp

bbcp binaries for Mac OS X, Linux, and Windows can be found at http://www.slac.stanford.edu/~abh/bbcp/bin/

For Ubuntu:

apt-get update
apt-get -y install build-essential zlib1g-dev
wget http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz
tar xvfz bbcp.tgz
cd bbcp/src
make
mv ../bin/*/bbcp /usr/local/bin/

Disable Software Update Notices In Mac OS X

System Preferences » App Store. (It is there in Mavericks – look for the blue circle with the big, stylized “A” in the second row from the bottom.


This reportedly works in Mavericks. Dunno if it works in Yosemite.

sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False

per http://apple.stackexchange.com/questions/106149/how-do-i-permanently-disable-notification-center-in-mavericks


You might be able to control-click on the Update button for the update in App Store, and select Ignore Update.

Nirvana API - Installation / Re-installation / Tips

This is useful for backing up Nirvanahq todo lists.

Mac Install:

  • sudo gem install nirvanahq
  • Edit /Library/Ruby/Gems/2.0.0/gems/nirvanahq-0.1.4/lib/nirv.rb and go to line 74 and change “rescue Exception => e:” to “rescue Exception => e” (remove the colon).
  • nirv init
  • Edit ~/.nirvanahq/config.rb and
    • Update the value of user name to your Nirvana user name
    • Run this command to calculate the md5 of your password: md5 -s yourPasswordHere
    • Update the value of password to the md5 of your Nirvana password

Cygwin Install:

  • Run Cygwin setup and install
    • ruby
    • rubygems
    • gem install nirvanahq
    • Ensure that $HOME/bin is on your PATH
    • Edit ~/.gem/ruby/gems/nirvanahq-0.1.4/lib/nirv.rb and go to line 74 and change “rescue Exception => e:” to “rescue Exception => e” (remove the colon).
  • nirv init
  • Edit ~/.nirvanahq/config.rb and
    • Update the value of user name to your Nirvana user name
    • Run this command to calculate the md5 of your password: md5 -s yourPasswordHere
    • Update the value of password to the md5 of your Nirvana password

Basic Operation:

  • nirv version
  • nirv help
  • nirv backup
    • Dumps a full copy of your account to ~/.nirvanahq/backup.json
  • nirv add “task text here”
  • nirv add “task text here” -n “task note here” -t “Tag 1,Tag 2”

Spiffy Tricks:

  • Mac: Install DTerm. Set up DTerm to activate on Ctrl-Space. Create a shell script named ‘nirva’ which executes: nirv add “$*”
    • This lets you add an action item by:
      • Press Ctrl-space
      • Enter: nirva Your text goes here
  • Windows:
    • Run via SlickRun:
      • Install SlickRun. Set up SlickRun to activate on Cmd-Space. Create a command named ‘nirva’:
        • MagicWord: nirva
        • Filename or URL: e:\cygwin\bin\bash.exe
        • Start mode: Default mode
        • Startup path: E:\cygwin\home\WindowsLoginIdHere
        • Parameters: -tn rxvt-cygwin -g 100x5 -e /bin/bash –login -c ‘/home/WindowsUserId/bin/nirv-wrapper.sh “$I$”’
      • Create /home/WindowsUserId/bin/nirv-wrapper.sh, containing:

#!/bin/bash
PATH="$PATH:/user/bin:/home/WindowsUserId/bin"
nirv add "$*" 2>&1 | grep -v deprecated
sleep 3

Packet Switching Won't Work

Bob Taylor: “When I asked AT&T to participate in the ARPANet, they assured me that packet switching wouldn’t work. So that didn’t go very far.” [Nerds2.0]

Merging/Joining Word Tables

In theory, to merge two tables in Word, you simply drag the lower table to line up with the upper table:

  • Click inside a table cell.
  • Drag the “+” table-handle and drag the upper-left corner of the lower table to be just a hair below the lower-left corner of the upper table, and Word will just merge them.

Sometimes it doesn’t work:

  • Ensure that the second table doesn’t have a row marked as a heading.
  • Ensure that neither table is wrapped (Set Wrapping to None on the Table tab of Table Properties).

Sometimes you still can’t drag them together. Select the lower table, and use Alt-Shift-UpArrow to move it, instead of the mouse.

Save Tab Set With Pinboard In Safari

If you use Pinboard and the Pinboard extension for Safari, you might wonder how to save a Tab Set (or a “Read Later” or a Note).

There’s a Pinboard toolbar button with a pushpin and a plus-sign. Pressing it quickly will save the current tab to Pinboard. Pressing and holding it will get you a menu including

  • Add to Pinboard
  • Read later
  • Add note
  • Save Tab Set

Safari - Open Bookmark In New Tab

Cmd-click the bookmark to open it in a new tab.

(Otherwise, you will navigate the current tab to the bookmark.)

Clean Soap Scum From Bathtub

I scrubbed and scrubbed at the soap scum on my bathtub. A fingernail could get it up, but scrubbing with general purpose household cleaner got nowhere.

WD40 works pretty well. Spray it on, scrub with a diaper. I read on a boaters forum that there is some concern that, as a solvent, WD40 may emulsify and remove some layer of the gel coat.

Things to try next time:

  • Citrus cleaner
  • Borax (with soft bristle brush on the non-slip surface)

I may try The Original Gel-Gloss Kitchen & Bath Cleaner & Polish or this repackaged edition or I might just put on a marine wax.

Maybe this: http://www.thecleanteam.com/Fiberglass-Cleaner-16-oz-spray-top-_p_72.html

Word 2010 / 2013 - Section Break With New Header

To change page headers from one page to the next:

  • First insert a section break instead of a page break. (“Page Layout” tab of the Ribbon, look in the “Page Setup” panel. Select “Breaks”.)
  • Then double-click in the header to open the header.
  • Then select the Design tab in the Ribbon.
  • Then toggle “Link to Previous” to make headers independent/same-as-previous.