This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Current Performance Pilot Workflow x | |
Supervisor Starts Form | |
Share with Employee -> Supervisor & Employee Comment | |
Supervisor & Employee Comment | |
Supervisor Signs | |
Employee Signs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Search Bar* | |
Inactive* | |
focused -> Active | |
Active | |
canceled -> Inactive | |
typed -> Text Entry | |
Empty* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# This is a very rough proof-of-concept for an interactive automated checklist | |
# of things that you need to check to get iHat running properly. | |
# | |
# A new item can be easily added as a manual step for the developer to check. | |
# But each step can also have an automated check added to it, so that the | |
# developer doesn't need to spend time checking, or even know how to check | |
# a particular item in the list. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
OS_CODE="linux_amd64" | |
# TODO: check the OS and architecture and make this work across platforms | |
VERSION="v2.1.5" | |
# TODO: scrape the GitHub README for the latest version | |
TARGET=~/bin | |
# TODO: accept command line options, and prompt if nothing is specified |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These two files should help you to export passwords from a Mac OS X keychain for import into 1password. | |
Assumptions: | |
1) You have some experience with scripting/are a power-user. These scripts worked for me | |
but they haven't been extensively tested and if they don't work, you're on your own! | |
Please read this whole document before starting this process. If any of it seems | |
incomprehensible/frightening/over your head please do not use these scripts. You will | |
probably do something Very Bad and I wouldn't want that. | |
2) You have ruby 1.9.2 installed on your machine. This comes as standard with Lion, previous | |
versions of OS X may have earlier versions of ruby, which *may* work, but then again, they |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# goal: pass code to a Ruby interpreter running in background as a daemon | |
greeting = "hello" | |
source = "Ruby" | |
# desired syntax, which is impossible because the Crystal parser & lexer cannot ignore everything between `ruby do` & `end` | |
ruby do |greeting, source| | |
# put Ruby code here as just part of a normal block: | |
puts "#{greeting} from #{source}!" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
############################################################### | |
# | |
# Paste this into a TextMate document, | |
# press ⇧^⌥R and choose 'Ruby' from the menu that appears, | |
# and then press ⌘R to run this in the context of TextMate | |
# to see all TextMate environment variables and their values | |
# | |
############################################################### |