Skip to content

Instantly share code, notes, and snippets.

@camillebaldock
camillebaldock / README.md
Last active May 19, 2018 07:52
Dashing Trello widget

Description

A Dashing widget for displaying the number of items of lists on a Trello board.

screen shot

See a live demo here.

Usage

@camillebaldock
camillebaldock / README.md
Last active January 14, 2016 05:08
Dashing Wunderlist widget

Description

A Dashing widget for displaying the number of tasks in my Wundermail that are due today or before.

See a live demo here.

Usage

Setup the following environment variables:

@camillebaldock
camillebaldock / README.md
Last active August 29, 2015 14:17
Dashing Gmail widget

Description

A Dashing widget for displaying the number of emails in a Gmail inbox.

See a live demo here.

Usage

Setup the following environment variables:

@camillebaldock
camillebaldock / GoogleMapsCoordinates.gif
Last active August 29, 2015 14:15
Exposing GPS coordinates in Google maps
GoogleMapsCoordinates.gif

Keybase proof

I hereby claim:

  • I am camilleldn on github.
  • I am camille (https://keybase.io/camille) on keybase.
  • I have a public key whose fingerprint is FCAE 3E58 388E BA6C 0694 466A D381 D88B 580C 6398

To claim this, I am signing this object:

@camillebaldock
camillebaldock / spl_documentation.md
Created January 12, 2015 17:11
SPL documentation, including adoption

##Usage

The pay and leave for parents determines whether a single parent or two parents are eligible for any the following

  • maternity leave
  • maternity pay
  • maternity allowance
  • adoption leave
  • adoption pay
  • paternity leave
@camillebaldock
camillebaldock / adoption_recommendations.md
Last active August 29, 2015 14:13
Adoption flow recommendations

Adoption flow recommendations

Which eligibilities matter?

For all adoption cases, it is necessary to keep track during the calculation of the outcome whether each partner is eligible or not for:

  • adoption leave
  • adoption pay
  • paternity leave
  • shared parental leave
@camillebaldock
camillebaldock / date-notes.md
Last active August 29, 2015 14:13
⌛ It will never be 2014 again 💔 (or 2013 for that matter)

##Workplace pension calculator

def threshold_annual_rate
  if Date.today < Date.civil(2013, 4, 8)
    8105.0
  elsif Date.today >= Date.civil(2013, 4, 8)
    9440.0
  end
end
@camillebaldock
camillebaldock / tech_debt.md
Last active August 29, 2015 14:09
Smartdown Tech Debt

Smartdown/smart-answers tech-debt and potential improvements

Testing and confidence

  • Enforce unique flow name between Smartdown/SA
  • Smartdown lint/validate
    • Check all ref'd nodes exist
    • Check no orphan nodes
    • Run in SA CI
  • Smartdown Scenarios
  • Feature flag to disable artefact lookup
@camillebaldock
camillebaldock / employee.rb
Last active August 29, 2015 14:05
Jack: Employee Salary Calculator exercise
class Employee
attr_reader :name, :month_salary
def initialize(args)
@name = args[:name]
@month_salary = args[:month_salary]
end
def vat
0.20
end