Skip to content

Instantly share code, notes, and snippets.

㊙️
Going underground

Dominic Sayers dominicsayers

㊙️
Going underground
Block or report user

Report or block dominicsayers

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 festival refereeing.md

Referees' briefing

Hello to all coaches attending the Blackheath FC Mini Rugby Festival. At some point during the day you may be asked to referee one or more matches. There will be a referees' briefing for each age group prior to play starting at 10am which you should attend but here are some notes you might like to consider.

Included are some general guidelines for all age groups but also there are a few age-group specific things below that bear repeating.

1. Communication

Whatever your level of experience of refereeing, the players and coaches will appreciate knowing what's going on. If you blow the whistle to stop play, make sure all the players know why you've blown the whistle. If an offence has occurred, miming the offence to the coaches and others watching will help if they're out of earshot.

View festival playing.md

Festival format

Here is some information about the matches you'll be playing and what to expect on the day.

We will be running the festival in accordance with the guidelines provided by the RFU in Regulation 15 and its associated Codes of Practice from here: http://www.englandrugby.com/governance/regulations/

Just so you don't have to wade through all these documents, here is a summary of the parts relevant to our festival:

1. Playing time

View keybase.md

Keybase proof

I hereby claim:

  • I am dominicsayers on github.
  • I am dominicsayers (https://keybase.io/dominicsayers) on keybase.
  • I have a public key whose fingerprint is 76C1 4574 2AD0 556B 6A8C E0BB CCE0 0232 4697 17D6

To claim this, I am signing this object:

@dominicsayers
dominicsayers / green-padlock-development.md
Last active Jan 26, 2016
Green padlock development with nginx
View green-padlock-development.md

Your production web site is delivered over SSL and has a beautiful green padlock in your users' browsers. But your dev environment uses plain old HTTP, or maybe SSL with a self-signed certificate that your browser doesn't recognise.

That's OK, but you're missing out on some nice stuff. For instance, some browsers will warn you if you're delivering mixed content over SSL (like a link to an image that's on plain old HTTP). If you don't see this until you release then you're not doing your users any favors.

So here's how I got my dev environment to give me a green padlock while I'm writing code:

1. Register a dev domain

Domains are pretty cheap these days. I registered a new domain for my dev environment - let's call it myapp.systems

@dominicsayers
dominicsayers / GET interest_category.md
Last active Apr 20, 2016
Mailchimp API v3 - problem creating an interest in an interest_category using API v3
View GET interest_category.md

Firstly, we'll GET the interest_category to demonstrate the api_key is OK:

  • Method: GET
  • URL: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests
  • Request headers: Authorization: apikey df8658fb18403e29ef4a8437a8eb3705-us11

Response:

{
  "interests": [
@dominicsayers
dominicsayers / sublime-text-settings.js
Last active Aug 17, 2017
Sublime Text 3 personal settings
View sublime-text-settings.js
{
"folder_exclude_patterns": [".git", "coverage", "cache", "uploads"],
"binary_file_patterns":
[
"*/tmp/*",
"*/attachment/*",
"log/",
"coverage/",
"*/public/uploads/*",
"*/public/assets/*",
@dominicsayers
dominicsayers / preferences.js
Last active Aug 29, 2015
Sublime Text preferences
View preferences.js
{
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": true,
@dominicsayers
dominicsayers / cloudmailin-mailapp.json
Created Jun 6, 2015
JSON sent by Cloudmailin (sent from OS X Mail app - Bcc header not set)
View cloudmailin-mailapp.json
{
"headers": {
"Return-Path": "dominic@xenapto.com",
"Received": [
"by wibut5 with SMTP id ut5so50815534wib.1 for <smartangel@xenapto.me>; Sat, 06 Jun 2015 14:31:21 -0700",
"from [192.168.1.75] (host86-150-30-216.range86-150.btcentralplus.com. [86.150.30.216]) by mx.google.com with ESMTPSA id q4sm16773563wju.14.2015.06.06.14.31.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jun 2015 14:31:20 -0700"
],
"Date": "Sat, 06 Jun 2015 22:31:18 +0100",
"From": "Dominic Sayers <dominic@xenapto.com>",
"To": "To1 <to1@xenapto.com>, To2 <to2@xenapto.com>",
@dominicsayers
dominicsayers / cloudmailin-gmail.json
Last active Aug 29, 2015
JSON sent by CloudMailin (sent from Gmail - Bcc header is set)
View cloudmailin-gmail.json
{
"headers": {
"Received": [
"by lbio15 with SMTP id o15so1647431lbi.1 for <smartangel@xenapto.me>; Sat, 06 Jun 2015 08:19:30 -0700",
"by 10.112.72.99 with HTTP; Sat, 06 Jun 2015 08:19:30 -0700"
],
"Date": "Sat, 06 Jun 2015 16:19:30 +0100",
"From": "Dominic Sayers <dominic.sayers@gmail.com>",
"To": "To1 <to1@xenapto.com>, To2 <to2@xenapto.com>",
"Cc": "Cc1 <cc1@xenapto.com>, Cc2 <cc2@xenapto.com>",
View gem_console.md
irb -rubygems -I lib -r foreplay.rb
You can’t perform that action at this time.