Skip to content

Instantly share code, notes, and snippets.

View revett's full-sized avatar
:octocat:
Freelance (Available)

Charlie Revett revett

:octocat:
Freelance (Available)
View GitHub Profile
@revett
revett / bouldering_competition_strategy.md
Last active December 14, 2016 11:37
(Climbing) Strategy for bouldering competitions 👍

Strategy for Bouldering Competitions

This gist gives a high level overview of strategy and tips that I have been advised to use in bouldering competitions.

Food

  • Carb up meal before.
  • Simple sugars (raisins or sports drinks) 30-60 minutes before, and every hour within competition.
  • Caffeine before start (beware of jitters).
@revett
revett / _README.md
Last active February 16, 2016 19:30
Word frequency list of Hilary Clinton's emails.

Word Frequency List of Hilary Clinton's emails

This gist provides a JSON file showing the most used words within Hilary Clinton's email corpus.

Corpus

I used the Emails.csv file from within the open-source corpus [1] (~7,000 emails) released by Kaggle [2].

How?

@revett
revett / README.md
Last active November 7, 2016 11:36
Tutum Zero Downtime Re-deploy

Tutum Zero Downtime Re-deploy

cats.jpg

I tweeted Tutum last night asking if they're looking at implementing zero downtime re-deploys for a given service. Slightly surprised by their response as it seems like a critical feature if you want to use the service for a production environment.

"not a top priority, but by Spring :)"

As Tutum currently doesn't support graceful termination of containers within a service, I was experiencing a 5-10 second window of 503 errors, so decided to use the following hack (code below) until the feature is officially implemented.

@revett
revett / git_branch_naming.md
Last active December 22, 2023 17:12
Git Branch Naming Conventions

Syntax

<author>/<type>/<ticket>/<title>

Example

revett/feature/24101/skeleton-service-for-email-sender