Skip to content

Instantly share code, notes, and snippets.

class PayRaiseReport
HEADER = %w{
user_id
first_name
email
current_state
live_match_count
live_matches_with_custom_pay
immediate_pay_raise
new_rate

Privacy Policy

built the Geo Notes app as an Open Source app. This SERVICE is provided by at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Geo Notes unless otherwise defined in this Privacy Policy.

@NGMarmaduke
NGMarmaduke / withUrlParams.js
Created December 5, 2018 13:52
withUrlParams HOC
import React from "react";
import { withRouter } from "react-router";
import queryString from "query-string";
const withUrlParams = Component => {
const C = ({ location, ...rest }) => {
const params = queryString.parse(location.search);
return <Component urlParams={params} {...rest} />;
};

Keybase proof

I hereby claim:

  • I am NGMarmaduke on github.
  • I am nickpmaher (https://keybase.io/nickpmaher) on keybase.
  • I have a public key whose fingerprint is 6F6F AFE3 15FB 6B13 F0E6 ECBE DD06 FD9E 380C F0A2

To claim this, I am signing this object:

@NGMarmaduke
NGMarmaduke / note_to_recruiters.md
Last active February 27, 2017 18:29
Appear Here - Note to Recruiters

Note to Recruiters

First off, we are not anti-recruiter, if you're good at your job we'd like to work with you. We are, however, keen to avoid getting bombarded with unnecessary calls. To make both our lives easier please take note of the below, it's everything you need to know about working with us.

  1. Under no circumstances are you to call us without prior arrangement. It doesn't matter who you know or how long you've known them, nor is it relevant who you've worked for in the past. Treat this as the golden rule.

  2. All positions are advertised on our Jobs page. You won't hear first about a position at Appear Here any other way. If you want to keep up to date with our recruitment plans then you can also follow our profiles on Twitter and LinkedIn.

  3. Only submit candidates via our catch all jobs email talent@appearhere.co.uk. If you have a candidate that you believe to be appropriate for one of the roles we are advertising, please submit as a candidate would except use your email/phone instead of th

const iNeedToReturn = () => {
let data;
someAsyncMethod((asyncData) => { data = asyncData });
return data;
}
const someAsyncMethod = (callback) => {
setTimeout(() => callback('data'), 100);
@NGMarmaduke
NGMarmaduke / pre-push
Last active July 1, 2016 08:50
Git hooks
#!/usr/bin/env ruby
DEBUG_PATTERS = [
'^\s*fit', # RSPEC focus it
'^\s*fdescribe', # RSPEC focus describe
'^\s*fexample', # RSPEC focus example
'^\s*fspecify', # RSPEC focus specify
'^\s*fcontext', # RSPEC focus context
'^\s*fscenario',
'^\s*ffeature',
Location = Struct.new(:x, :y)
class Santa
attr_accessor :x, :y
def initialize
@x = @y = 0
end
def move(char)
@NGMarmaduke
NGMarmaduke / keybase.md
Last active August 29, 2015 14:27
Keybase

Keybase proof

I hereby claim:

  • I am ngmarmaduke on github.
  • I am marmaduke (https://keybase.io/marmaduke) on keybase.
  • I have a public key whose fingerprint is ACD3 3760 A1CD DB40 45AC 450F 9D17 6A59 BAD2 A24F

To claim this, I am signing this object:

@NGMarmaduke
NGMarmaduke / office_api.rb
Created March 19, 2015 23:43
Office 365 API connection example in Ruby
class OfficeAPIError < StandardError; end;
class OfficeAPITimoutError < StandardError
def initialize(msg = "Office API timed out")
super(msg)
end
end
class OfficeAPI
attr_accessor :access_token, :messages_filter, :mail_box, :fetch_from