Skip to content

Instantly share code, notes, and snippets.

View jesse-spevack's full-sized avatar

Jesse Spevack jesse-spevack

View GitHub Profile

Contributing to shoulda matchers

  • Why: I use shoulda matchers.
  • What: I found a feature request at thoughtbot/shoulda-matchers#927 that sounds approachable. It asks for some clarification in the docs / code about using the enum matcher.
  • I Need: to dig into shoulda matchers and get the dev setup running locally.
  • When I'm Done: In the original GitHub issue it sounds like the developers are in favor of the feature, so I think I can get this accepted for the next version of the library.

Contributing to factory girl

  • Why: I use factory girl.
import React, { Component, PropTypes } from 'react';
const TOGGLE_BUTTON_SELECTOR = "toggle-button"
const TOGGLE_LABEL_SELECTOR = "toggle-label"
const DEFAULT_LABEL_TEXT = "Label Text"
const DEFAULT_BUTTON_LEFT_TEXT = "Button Left"
const DEFAULT_BUTTON_RIGHT_TEXT = "Button Right"
class ToggleButton extends Component {
constructor(props) {
```javascript
import {Component} from 'react'
class Counter extends Component {
state = {
count: 0
};
render() {
@jesse-spevack
jesse-spevack / cfp_railsconf19_panic.md
Last active January 22, 2019 19:43
I am not panicking. You're panicking.

Title

Publicly viewable title. Ideally catchy, interesting, essence of the talk. Limited to 60 characters.

I am not panicking. You're panicking.

Format

  • Regular Session
  • Workshop

Track

About Turing Shadow Day

On-Site Job Shadowing

Schedule

Time Event
12:30 Welcome and overview of the day
1:00 Pair with Engineer
3:00 Q & A with Engineering Manager
3:30 Q & A with HR

The Minaswan::Interview

Session Format: Talk

Abstract

White-boarding is not nice. An unpaid take home project is not nice. We decided to apply the Ruby community motto "Matz is nice and so we are nice," to our enterprise technical interview process. Come learn what changes we made, how we enlisted support of other rubyists and non-rubyists alike, and how you can too.

Details

The current state of interviewing is not nice

<div
data-controller="multiselect"
data-multiselect-selected-items-value=[]
>
...
</div>
@jesse-spevack
jesse-spevack / auth.gs
Created January 18, 2024 18:58
Delete Your Tweets
const API_KEY = PropertiesService.getScriptProperties().getProperty('apiKey')
const API_SECRET = PropertiesService.getScriptProperties().getProperty('apiKeySecret')
const ACCESS_TOKEN = PropertiesService.getScriptProperties().getProperty('accessToken')
const ACCESS_TOKEN_SECRET = PropertiesService.getScriptProperties().getProperty('accessTokenSecret')
const CLIENT_ID = PropertiesService.getScriptProperties().getProperty('clientId')
const CLIENT_SECRET = PropertiesService.getScriptProperties().getProperty('clientSecret')
/**
* Authorizes and makes a request to the Twitter API v2
* OAuth 2.0 Making requests on behalf of users