Skip to content

Instantly share code, notes, and snippets.


Rowan Manning rowanmanning

Block or report user

Report or block rowanmanning

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bigify.js
#!/usr/bin/env node
bigify = string => Array.from(string).map(letter => letter == ' ' ? ':blank:' : `:b${letter}:`).join('')
process.stdout.write(bigify(process.argv.slice(2).join(' ')));
View pa11y-actions-github.js
// An example of executing some actions before Pa11y runs.
// This example logs in to GitHub and runs tests on the
// user dashboard page. Note: this won't work if you have
// two-factor auth enabled.
'use strict';
var pa11y = require('../..');
// Create a test instance with some default options
var test = pa11y({
rowanmanning /
Last active Feb 1, 2017
Top 10 Slack Emoji Authors

Top 10 Slack Emoji Authors

Get a table containing the top 10 Slack emoji authors:

  1. Navigate to https://<your-org>

  2. Open the console

  3. Paste in the following and hit return:

rowanmanning / pa11y-queue.js
Created May 18, 2016
Example of running Pa11y in parallel
View pa11y-queue.js
// Example of running Pa11y in parallel. Now that I found
// this I realise it should definitely be in the examples
// in the repo!
// You'll need to install `async` and `pa11y`, probs in a
// package.json. This isn't perfect, might need some
// tweaking. Also runs in Node.js 4+ because I'm far too
// used to typing `const` and arrow functions now.
'use strict';
rowanmanning /
Created Jan 19, 2014
Example README for talk: "UX For Your Node Modules"


A small library for padding strings in JavaScript. Marmalade-free.

If you're interested in maintaining Paddington, please get in touch via GitHub.

Current Version: 1.0.0

rowanmanning / spam-email-footer.txt
Created Nov 20, 2013
A footer I keep seeing at the bottom of emails from an "INDIA based IT Outsourcing Company"
View spam-email-footer.txt
rowanmanning / sitewizard-email.txt
Last active Dec 27, 2015
Apparently my website needs some help...
View sitewizard-email.txt
I've jotted down a few notes about (I came across your
site during my third thursday morning coffee!). I hope you don't mind me
dropping you a line, but I have some feedback about your site that could
be of benefit to you.
I work for (you might have heard of us, we are a low
cost digital marketing company that's been trading since 1997 and is
probably the most recommended web services company in the UK).

I was shocked when my mum forwarded me the following email. She's very tech-savvy and wouldn't fall for this kind of thing, but it's a worrying indicator that "mobile web design" is now a big enough space that it's being targeted by these kinds of douchebags.


I'm Andrew from [company name] and I'm a mobile website specialist. I was browsing your site and noticed you don't have a mobile version for your customers. The website currently makes it hard for your customers to tap the screen to call you and find the relevant information they need quickly.

I'll get straight to the point, I'm just finishing off designing you your own mobile optimised website, just like the one you see here: [link to really awful "mobile" version of another site]. It shows the comparison between a normal desktop site and a mobile optimised site. There are now more customers visiting your website on a mobile phone than a laptop or computer, they have overtook computer use in 2013. If you don't have your website optimised

rowanmanning /
Last active Dec 21, 2015
nginx port 80 firewall hack thing

All assumes you're running nginx on port 8080. Change ports to suit your needs.

  1. Copy ipfw.plist into /Library/LaunchDaemons/ipfw.plist
  2. Copy ipfw.conf into /etc/ipfw.conf

If you want this to work straight away, you may need to run:

$ sudo launchctl load /Library/LaunchDaemons/ipfw.plist
You can’t perform that action at this time.