Skip to content

Instantly share code, notes, and snippets.

@lauraturk
lauraturk / pahlka_haccessibility-spike.md
Last active April 20, 2017 21:25
Haccessiblity-thon

Pahlka Spike for Accessibility

The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Agenda:

With a partner: Find Contact Information with a Screen Reader

Learning to Use New Tools

General Google Tips

  • Be sure to include search terms for the specific context in which you’re using the tool:
    • ‘RSpec Rails’ will return results that give you a gem specifically to use in Rails apps
    • 'Capybara RSpec Rails’, or ’select second div Capybara' will return more relevant results than ‘Capybara'

First Time Setup

  • If you’re looking to set a tool up in your application, check docs to see if they have some description.
  • Within the docs, check to see if there’s a section specifically geared towards setting it up in your environment.

#Problem Solving

When you don’t know where to start

Write a test!

  • Writing a test will often help drive your decision making. If you later realize that some other piece of the application needs to be implemented first, it’s o.k. to skip the test (put an x in front of the it in RSpec, or write skip in the first line of an it block.
  • If you’re having trouble deciding which test to write, ask yourself if there are any relationships where one thing depends on the existence of another?
    • If so, do the thing that needs to be done first.
  • If not, just pick one! Maintain a bias towards action. Often in the process of working on one aspect of an application you will create a tool that makes some other easier. Alternatively, you will work on one part of an application and realize it’s more dependent on other functionality than you initially realized. This doesn’t mean that your time has been wasted. Even if you need to reassess the code that you’ve written up to this point, it’s lik
@case-eee
case-eee / intermediate_sql.md
Created September 19, 2016 14:16
Intermediate SQL

Intermediate SQL Workshop

  • Run psql
  • You may need to run CREATE DATABASE intermediate_sql;
  • To exit this shell, you can run CTRL d

Create tables

Let's create some tables in the database.

Use a Schema Designer to create schemas for the following problems:

  1. City Library System
  • a user can check out books
  • books have one or more authors
  • books belong to a library branch
  • a book can be reserved by a user
  1. Movie Showtimes
  • a movie has many showtimes at various theaters
@andycandrea
andycandrea / resources.md
Last active July 10, 2018 19:14 — forked from zporter/resources.md
A list of resources for learning Rails and relevant technologies

A list of resources that aspiring Rails developers can use to learn Rails and other relevant technologies. This list includes some resources that I see recommended all over the web--not all of which I like--as well as some hidden gems that I've found valuable. This list is intended to supplement my blog post here.

Ruby

  • Codecademy
    • One of the more well-known sites to offer interactive programming tutorials, Codecademy is probably best utilized by those who are pretty new to programming, though the Ruby tutorial is good for teaching Ruby syntax and eventually gets into some less trivial material.
  • Try Ruby
  • Pretty similar to Codecademy. Once again, it's beginner-friendly, though, as someone who knew about object-oriented programming beforehand, I found it somewhat annoying to use, as there's no page with links to the individual exercises (at le