This file contains 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
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, | |
} |
This file contains 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 | |
require 'socket' | |
# graphite/carbon settings | |
GRAPHITE_HOST="graphite.intra.local.ch" | |
GRAPHITE_PORT=8125 | |
def instrument_redis(redis_host) | |
namespace = "#{redis_host}" | |
redis = {} |
This file contains 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
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 |
This file contains 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
#!/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. |