Skip to content

Instantly share code, notes, and snippets.

View jbpros's full-sized avatar
🖐️
yo

Julien Biezemans jbpros

🖐️
yo
View GitHub Profile
# 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

Keybase proof

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:

# 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 ->

Cucumber documentation kick-off conference call minutes

Attendees

  • Thomas Sundberg, Stockholm (java)
  • Serguei Cambour, Tournai, Belgium (java)
  • Mohan Krishna, Hyderabad, India
  • Kushang Gajjar, Boston, US (cucumber.js)
  • Simone Wood, Portland, Oregon, US (only QA, 6-month experience with Cucumber)
  • Michele (Marton?), NYC, US
@jbpros
jbpros / tag_logger.js
Last active January 8, 2016 20:12
A listener to log information about tags
// features/step_definitions/tag_logger.js
function TagLogger() {
var tags = {};
this.hear = function (event, callback) {
var eventName = event.getName();
switch (eventName) {
case 'BeforeScenario':
@jbpros
jbpros / my.feature
Last active May 25, 2021 10:17
Cucumber.js step definition transforms
# 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
@jbpros
jbpros / env.rb
Last active August 29, 2015 14:25
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