Skip to content

Instantly share code, notes, and snippets.

View 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,
lfender6445 / redis-graphite
Last active May 4, 2016 — forked from somebox/
graphite-redis : monitor redis statistics with graphite across several hosts
View redis-graphite
#!/usr/bin/env ruby
require 'socket'
# graphite/carbon settings
def instrument_redis(redis_host)
namespace = "#{redis_host}"
redis = {}
View UserReviews.feature
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
# 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.
You can’t perform that action at this time.