Skip to content

Instantly share code, notes, and snippets.

@camillebaldock
camillebaldock / smartdown_coversheet.rb
Last active August 29, 2015 14:04
Smartdown to Smart-Answer-Friendly models
class SmartdownCoversheet
def initialize(node)
@node = node
end
def title
node.elements.find{|element| element.is_a? Smartdown::Model::Element::MarkdownHeading}
end
#TODO: this will ignore any headings in the body; if I include headings, then "Next node" appears in the text
@camillebaldock
camillebaldock / codebar.md
Last active August 29, 2015 14:02
Codebar notes

MEDIUM-TERM QUESTIONS

  • Define a high level mission statement
  • what are we focusing on and what we do not plan on teaching?
  • why we are not doing Rails, why you should go back to basics: blog post? disclaimer? (e.g. wordpress/tools/startup-type helpers vs learning how to program from the ground up)
  • Coach inductions
  • Explicit paths/tracks through our training content
  • Development environment surgeries
  • Define roles such as course coordinator/tutorial coordinator/tutorial owner
@camillebaldock
camillebaldock / oyster.rb
Last active February 4, 2017 13:43
Oyster journey history scraping script
require 'rubygems'
require 'capybara'
require 'capybara/dsl'
require 'capybara/poltergeist'
require 'awesome_print'
Capybara.run_server = false
Capybara.current_driver = :poltergeist
class Oyster
@camillebaldock
camillebaldock / README.md
Last active April 17, 2020 11:05
Dashing widget to display Outlook calendar events
@camillebaldock
camillebaldock / README.md
Last active December 23, 2015 01:39
Dashing widgets to display: - a user's public photos - a user's favourite photos
@camillebaldock
camillebaldock / README.md
Last active December 23, 2015 01:39
Dashing widget to display a different gem from ruby-toolbox.com every minute
@camillebaldock
camillebaldock / README.md
Last active February 18, 2021 14:27
Duolingo Dashing widget