I hereby claim:
- I am jbpros on github.
- I am jbpros (https://keybase.io/jbpros) on keybase.
- I have a public key ASBiXRFtOWDVaV3tmaI-lQV0hMBvcLYWBO-Wnn8f8gJZgwo
To claim this, I am signing this object:
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
path+=('/Users/jbpros/.local/bin') | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME |
I hereby claim:
To claim this, I am signing this object:
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
// features/step_definitions/tag_logger.js | |
function TagLogger() { | |
var tags = {}; | |
this.hear = function (event, callback) { | |
var eventName = event.getName(); | |
switch (eventName) { | |
case 'BeforeScenario': |
# features/my.feature | |
Feature: | |
Scenario: cukes | |
Given I have 10 cucumbers in my BaG | |
Given I don't have 20 cucumbers in my bAg | |
Given I have 98775655 cucumbers in my bag |
ENV['RACK_ENV'] = 'test' | |
require 'shouty' | |
require 'capybara' | |
require 'selenium-webdriver' | |
Capybara.register_driver :selenium do |app| | |
profile = Selenium::WebDriver::Firefox::Profile.new | |
driver = Capybara::Selenium::Driver.new(app, :browser => :firefox, :profile => profile) | |
w = 1274 | |
h = 714 |
Feature: deposit check | |
Why are we doing this? | |
Free text area. | |
Business rules: | |
* don't do evil | |
* be smart |
Feature: A | |
Scenario: a | |
Given a |
module HashStyles | |
def underscore_hash_keys(value) | |
case value | |
when Array | |
value.map { |v| underscore_hash_keys(v) } | |
when Hash | |
Hash[value.map { |k, v| [underscore_key(k), underscore_hash_keys(v)] }] | |
else | |
value | |
end |