Skip to content

Instantly share code, notes, and snippets.

Brandon Zylstra brandondrew

  • Mutually Human Software
Block or report user

Report or block brandondrew

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
@brandondrew
brandondrew / upgrading_ruby_for_rails
Created Nov 13, 2019
How To Upgrade Ruby for your Rails App
View upgrading_ruby_for_rails
Overview
--------
Consider the commands given to be examples, not to necessarily be precisely
what you will use. They were based on my circumstances, in which
* my local platform is macOS,
* where Homebrew is the de facto package manager;
* my laptop (and the server) are managing Ruby with rbenv;
* vim is my remote editor of choice, and an acceptable local editor; and
View SketchSystems.spec
Goals
Editable by Supervisor
Employee Data Safe
Supervisor Edits Goals -> Editable by Supervisor
Supervisor Assigns Rights to Employee -> Editable by Employee
Employee Data Lost
No Simple Solution -> Employee Data Lost
Editable by Employee
Employee Data Still Safe
Employee Begins Editing Goals -> Employee Data at Risk
View SketchSystems.spec
# https://wikihub.berkeley.edu/display/robots/CC+-+20181213+More+Changes+to+Pilot+Specs
Proposed Performance Pilot Workflow - Newest
No Review Exists*
Create New Form -> Supervisor Starts Form
Review In Process
Supervisor Starts Form
Save -> Draft
Save & Share with Employee -> Participants Comment and Sign
New*
Draft
@brandondrew
brandondrew / SketchSystems.spec
Created Oct 4, 2018
Proposed Performance Pilot Workflow - Steps
View SketchSystems.spec
Proposed Performance Pilot Workflow - Steps
No Review Exists*
Create New Form -> Supervisor Starts Conversation
Review In Process
Supervisor Starts Conversation
Save as Draft -> Supervisor Starts Conversation
Share with Employee -> Participants Comment
Participants Comment
Employee Comments -> Participants Comment
Supervisor Edits and Comments -> Participants Comment
@brandondrew
brandondrew / SketchSystems.spec
Last active Oct 4, 2018
Proposed Performance Pilot Workflow - States
View SketchSystems.spec
Proposed Performance Pilot Workflow - States
No Review Exists*
Create New Form -> New
Review In Process
Save as Draft -> Draft
Share with Employee -> Awaiting Comments
Delete -> No Review Exists
New
Draft
Awaiting Comments
@brandondrew
brandondrew / SketchSystems.spec
Last active Oct 4, 2018
Proposed Performance Pilot Workflow - Complete
View SketchSystems.spec
Proposed Performance Pilot Workflow - Complete
No Review Exists*
Create New Form -> Supervisor Starts Conversation
Review In Process
Supervisor Starts Conversation
Save as Draft -> Draft
Share with Employee -> Participants Comment
New*
Draft
Participants Comment
@brandondrew
brandondrew / SketchSystems.spec
Last active Oct 3, 2018
Current Performance Pilot Workflow x
View SketchSystems.spec
Current Performance Pilot Workflow x
Supervisor Starts Form
Share with Employee -> Supervisor & Employee Comment
Supervisor & Employee Comment
Supervisor Signs
Employee Signs
View repl.rb
require 'readline'
require 'parser/current'
# TODO: detect version of Ruby being used, and require the appropriate parser
# require 'parser/rubyXY'
# opt into newer AST format since we're not maintaining backward compatibility with old formats!
Parser::Builders::Default.emit_lambda = true
Parser::Builders::Default.emit_procarg0 = true
Parser::Builders::Default.emit_encoding = true
Parser::Builders::Default.emit_index = true
View SketchSystems.spec
Search Bar*
Inactive*
focused -> Active
Active
canceled -> Inactive
typed -> Text Entry
Empty*
View capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
You can’t perform that action at this time.