Skip to content

Instantly share code, notes, and snippets.

Mark markreid

  • Mentorloop
  • Melbourne, Australia
Block or report user

Report or block markreid

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
set -e
# makes a copy of a file, appending a datestamp and incrementing a counter
# if it's needed.
# ie, running this 3 times:
# /foo/bar.qux /foo/backups
# will create:

Keybase proof

I hereby claim:

  • I am markreid on github.
  • I am markreid ( on keybase.
  • I have a public key ASCycZr-FHQl-mr28t-vaQdxjlg9ZZmkZIe9hIEjdIXHiAo

To claim this, I am signing this object:

markreid / showactive.js
Created Dec 1, 2015
meteor show active subscriptions
View showactive.js
var subs = Meteor.default_connection._subscriptions; //all the subscriptions that have been subscribed.
markreid /
Created Oct 22, 2015
JS Dev Interviewee quiz

JS Dev quiz.

Most of these questions have several possible answers and no real wrong answer. The aim of the quiz is to gauge your level of experience with software development in general but also your experience working directly in Javascript, so add as much detail as possible, explain how you arrived at your answer, etc.

Some of the questions are quite difficult or confusing, so don't worry too much if you're not sure about the answers; a couple of them are deliberately designed to be hard to solve!

General questions

  1. Describe the stack for a recent project that you found interesting.
# Author: Todd Larason <>
# $XFree86: xc/programs/xterm/vttests/,v 1.2 2002/03/26 01:46:43 dickey Exp $
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
# colors 16-231 are a 6x6x6 color cube
for ($red = 0; $red < 6; $red++) {
markreid / solarized.vim
Created Dec 5, 2014
solarized vim theme
View solarized.vim
" Name: Solarized vim colorscheme
" Author: Ethan Schoonover <>
" URL:
" (see this url for latest release & screenshots)
" License: OSI approved MIT license (see end of this file)
" Created: In the middle of the night
" Modified: 2011 May 05
" Usage "{{{
View gist:a293b37b5d4ec176d448
var hasRun = false;
var job;
// this is some asynchronous thing
job = returnedJob;
hasRun = true;
markreid / agileassigneefilter.js
Last active Aug 29, 2015
quick-filter JIRA Agile view by assignee name
View agileassigneefilter.js
// quick filter jira agile view by assignee
var constants = {
ISSUE_CLASS: '.ghx-issue'
var issuesLookup;
markreid /
Created Nov 5, 2014
pipe changed/untracked tests into jest
git status -s | grep __tests__ | cut -c4- | xargs jest
You can’t perform that action at this time.