Skip to content

Instantly share code, notes, and snippets.

Feature: User Reviews // poor feature, needs improvement
Scenario: As a user leaving a review for my property //need to capture validation for form as whole, leave out capy stuff
Given I am on the review page
and I provide name, email address, phone number, rating from 1 to 5, optional review
When I press submit
Then I must select a captcha associated with my phone number and property
When I select the captcha representing my property
and the captcha validates
Then I will be redirected to the thank you page
@lfender6445
lfender6445 / redis-graphite
Last active May 4, 2016 17:15 — forked from somebox/redis-graphite.sh
graphite-redis : monitor redis statistics with graphite across several hosts
#!/usr/bin/env ruby
require 'socket'
# graphite/carbon settings
GRAPHITE_HOST="graphite.intra.local.ch"
GRAPHITE_PORT=8125
def instrument_redis(redis_host)
namespace = "#{redis_host}"
redis = {}
#!/bin/bash
# Chrome Refresh
#
# Simple applescript browser reloader for Google Chrome. It will either open a
# new tab with the url passed in as an argument, refresh an existing tab, or open
# a file from your current working directory.
#
# Link this up with watchr to auto-refresh browser windows when you save files
# or bind it in vim, textmate etc.
@lfender6445
lfender6445 / Foo.js
Last active May 6, 2021 17:18 — forked from tadjohnston/Foo.js
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Baz from 'baz'
class Foo extends Component {
static propTypes = {
baz: PropTypes.bool,
list: PropTypes.array,
}