Skip to content

Instantly share code, notes, and snippets.

View rowanmanning's full-sized avatar
📢
honk

Rowan Manning rowanmanning

📢
honk
View GitHub Profile
@rowanmanning
rowanmanning / .gitignore
Last active August 19, 2024 16:01
OpenTelemetry Redis Instrumentations reduced test case
node_modules
package-lock.json
#!/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(' ')));
@rowanmanning
rowanmanning / pa11y-actions-github.js
Created March 16, 2017 10:47
Pa11y Actions GitHub
// 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
rowanmanning / README.md
Last active February 1, 2017 13:57
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>.slack.com/customize/emoji

  2. Open the console

  3. Paste in the following and hit return:

@rowanmanning
rowanmanning / pa11y-queue.js
Created May 18, 2016 19:17
Example of running Pa11y in parallel
// 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
rowanmanning / README.md
Last active February 18, 2024 21:12
Writing a Friendly README. This a companion-gist to the post: http://rowanmanning.com/posts/writing-a-friendly-readme/
@rowanmanning
rowanmanning / README.md
Created January 19, 2014 10:57
Example README for talk: "UX For Your Node Modules"

Paddington

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

NOTE: PADDINGTON IS NO LONGER UNDER ACTIVE DEVELOPMENT.
If you're interested in maintaining Paddington, please get in touch via GitHub.

Current Version: 1.0.0

@rowanmanning
rowanmanning / spam-email-footer.txt
Created November 20, 2013 09:56
A footer I keep seeing at the bottom of emails from an "INDIA based IT Outsourcing Company"
@rowanmanning
rowanmanning / sitewizard-email.txt
Last active December 27, 2015 16:09
Apparently my website needs some help...
Hi,
I've jotted down a few notes about rowanmanning.com (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 SiteWizard.co.uk (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).
@rowanmanning
rowanmanning / Mobile-Site-Design-Email.md
Created August 19, 2013 16:56
An email my mum received

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.

Hi,

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