Tag Archives: javascript

SinonJS FakeServer with Browserify or Node

If you’ve tried using NPM’s SinonJS Fake Server with Browserify or Node you will experience this bug ( https://github.com/cjohansen/Sinon.JS/issues/319 ): FakeServer is not wrapped for proper ‘require’ usage. If this ticket’s status has changed to resolved, that is probably the best solution and you can stop reading. Otherwise I found that the minified version from a […]

Continue reading →
Post Tagged with , ,

New project: Ottawa AED mapper

Like any modern major city, Ottawa has recently gotten into the Open Data game. Releasing a myriad of content from skating rink locations to annual budgets (Full list of Ottawa Open Data here). One piece of data really caught my eye was the list of Public Access Defibrillator Sites. Problem For sudden cardiac arrests chance of […]

Continue reading →
Post Tagged with , , , ,

Facebook ‘share’ & Twitter ‘tweet’ Link Generator

Option 1: Simple meta tags to control Facebook Share info You can control the content Facebook uses for sharing links via the follow meta tags in your HTML: General format: <meta property=”og:{tagName}” content=”{tagValue}”/> Examples: <meta property=”og:image” content=”http://davidrs.com/wp/wp-content/uploads/2013/01/github.png”/> <meta property=”og:title” content=”David’s Facebook Twitter Gen.”/> <meta property=”og:url” content=”http://davidrs.com/wp/facebook-feed-link-generator/”/> <meta property=”og:site_name” content=”David Rust-Smith Blog”/> <meta property=”og:type” content=”blog”/> Facebook […]

Continue reading →
Post Tagged with , , ,