awhite.ca

Toronto area web developer

 
Monopoly Money

The Campaign for Real Monopoly

May 16, 2013

It’s the Victoria Day long weekend, which means it’s cottage season. Which means boardgames when the black flies chase you in. As a public service, I’d like to remind you you are, and always have been, playing Monopoly wrong. Read more at The Campaign for Real Monopoly.

Aside: I’ve seen this before, but was reminded of it today by the Penny Arcade Report.

Posted in Games Tagged as Board Games

Cleaning formatting from text on the Mac OS X pasteboard

May 14, 2013

There are a number of apps floating around that can strip rich text formatting from whatever you’ve copied to the pasteboard. I’m not sure why you’d need to buy an app for this. Here are two ways to get plain text.

⌘⌥⇧V – Paste and match style will give you plain text if you’re pasting into plain text. Otherwise you’ll get rich text that matches the formatting applied to wherever you’re pasting the text. I use this one a tonne in spreadsheets where I’m collecting information from web pages.

pbpaste | pbcopy – run this at the command prompt. It just pipes the pasteboard contents back into the pasteboard, but will remove all formatting as a result.

Posted in Mac OS X Tagged as command line, Plain text, text

WordSesh videos now up on YouTube

May 7, 2013

On April 13th, WooThemes hosted WordSesh, a full day of streamed talks on various WordPress topics by WordPress professionals. The videos from those talks are now available on the WordSesh channel on YouTube.

Posted in Web Development Tagged as tutorial, video, WordPress

Open a Word Doc as text in Coda

May 5, 2013

I often get content for sites in Word docs which I used to open in Pages. Getting the text out of pages involved far too much clicking, particularly if I was extracting a URL from text in a table. To save my wrists, I figured out the following:

catdoc file.doc | coda >> temp.txt

catdoc converts the Word file into plain text, and outputs to STDIO. I pipe that into Coda using coda-cli. For some odd reason, I need to provide the temp.txt throw-away file, or Coda doesn’t respond. The result is a new tab in Coda with the contents of the Word document.

catdoc and coda-cli can be installed using Homebrew.

Posted in Web Development Tagged as Coda, Plain text, Word doc
Litmus Scope

Scope is View Source for HTML emails

April 30, 2013

Litmus have just announced a new tool called Scope. It’s a bookmarklet that lets you view prettified versions of the source to the HTML email you’re viewing in your browser. There’s also an option to view the text or mobile version of any email, and you can share the email with your personal information scrubbed. Check out the introduction and get the bookmarklet on the Scope page.

Posted in Web Development Tagged as bookmarklet, html email
Next1234

Pages

  • About Andrew White
  • Contact Me
  • Intro to Blogging course resources

Categories

  • Gadgets 1
  • Application 1
  • Film 1
  • Course Materials 1
  • Games 1
  • Tips 2
  • Mac OS X 2
  • Productivity 3
  • Web Development 4
  • Code Snippet 8
awhite.ca © 2013. Powered by WordPress.