Skip to content

Instantly share code, notes, and snippets.

@Automatic365
Automatic365 / Elixir Cards Walkthrough.md
Last active February 23, 2018 20:44
Elixir - Cards app

First, we will need to generate a new project. To do this in Elixir, we will run the command

mix new Cards

Now navigate to the lib directory and let's look at the Cards.ex file.

defmodule Cards do
  @moduledoc """
  Provides methods for creating and handling a deck of cards
Length Points Week
20 minutes 10 Week 2

The Concept of Require - Research

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Deliverable

@Automatic365
Automatic365 / jean_mom_talk.md
Last active October 15, 2016 20:05
Jean's Mom Talk Recap

What are you guys interested in? Twitter: @kathleendollard **Women and people of color in the industry -- adapting with age... how atmosphere has changed

  • First language to learn outside of Turing
  • What's happening inside Microsoft -- Massive changes - C# licensing/ open source **Keeping track of what's the next big thing in coding
  • How to learn deeper CS concepts without formal education background **Personal/ Professional skills beyond coding
  • How to overcome 'impostor' feelings -- How can you catch up

Game Time - Path Through Mod One

Iteration One

  • Get enemy blocks to cycle through canvas
    • blocks should have varying speed and size (larger faster)
    • block direction top right to bottom left

Iteration Two

##Hello World My code: here

  • Responder #1 (here) - This responder used the absence of an input as the initial check for the if/else, which is the opposite of what I did, but the logic overall was almost exactly the same.

  • Responder #2 (here) - This person used a ternary statement, which is something that Mike strongly discouraged in Mod 1. Got everything in one line at the expense of readability.

  • Responder #3 (here) - This user decided to use the '===' to check if the input was empty, which I think is a little bit of an overkill for a check that simple. Otherwise, same logic.

  • Responder #4 (here) - This responder took an identical approach.

Length Points Week
15 minutes 5 Week 1

ES6 Research

Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.

That might have something to do with something called ES6 and ES5

GitHub OAuth Busy Developer's Guide

This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.

OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.

Web Application Flow

  • Redirect to this link to request GitHub access:
@Automatic365
Automatic365 / rails_setup.md
Created August 29, 2016 23:04 — forked from ryanflach/rails_setup.md
Common setup for a new Rails project
  1. rails new <project_name> -d postgresql --skip-test-unit --skip-turbolinks --skip-spring
  • -d postgresql sets up the project to use PostgreSQL
  • --skip-test-unit skips the creation of the test directory
  • --skip-turbolinks & --skip-spring creates a project that does not use turbolinks or spring
  1. In the Gemfile:
  • inside of group :development, :test:
    • gem 'rspec-rails'
      • bundle
      • rails g rspec:install
  • gem 'capybara

Project workflow:

  1. Load/Reload waffle.
  2. Choose a card from the backlog in waffle. If we're working separately, it's best to move that card that you've chosen into ready and perhaps assign it to yourself as well.
  3. git checkout master
  4. git pull origin master
  5. run rspec
  6. Checkout a new branch and tag it with #issue_number
  7. Write the feature test associated with your waffle card.
  8. Run rspec, and make sure that there are no errors that blow up the stack (missing ends, forgetting capitalization, etc.)
  9. commit your feature test
@Automatic365
Automatic365 / agile.md
Created July 5, 2016 19:57
Agile Questionnaire
  1. How does the Agile model compare to the Waterfall model?
  • The Waterfall model is extensively planned, and sequentially executed. Once a phase is complete, there is no going back.
  • The Agile model, changes made after the initial planning are expected and project priorities are constantly re-evaluated.
  1. Why do you think Agile is so popular in software development?
  • It emphasizes results over procedude, and ensures that the client gets the product that they want.
  1. Do you think Agile is applicable to all industries?
  • No. Industries like construction and manufacturing require a sequential process.