Skip to content

Instantly share code, notes, and snippets.

View weilandia's full-sized avatar
🏄‍♂️
workinnn

Nick Weiland weilandia

🏄‍♂️
workinnn
View GitHub Profile
@weilandia
weilandia / new_student_machine_speedies.md
Created December 4, 2015 22:15 — forked from MowAlon/new_student_machine_speedies.md
Set your machine up for efficiency. Yay speed!

There are a few things you can do very easily that'll speed up your workflow. Get ready for excellent fun learn time!

Atom

  • Edit Settings
    • 'Show Invisibles'
  • Install/Enable packages
    • Autosave (Core package)
    • ruby-block
    • zentabs
  • ruby-define-method
@weilandia
weilandia / flatten_marquez.rb
Created December 5, 2015 01:29
.Flatten Marquez and the Illusion of Magic
def flatten_marquez(quote_array)
index = 0
while index <= quote_array.length
quote_piece = quote_array[index]
if quote_piece.kind_of?(Array)
if quote_piece.empty?
quote_array.delete_at index
else
inner_quote_piece = quote_piece.shift
quote_array.insert index, inner_quote_piece
Hey 1511,
If you are still needing to require 'pry' at the top of your specs, here's a quick fix that can save you some time:
1. Go to your atom preferences (cdm ,)
2. Click on 'Open Config Folder'
3. Navigate to your 'snippets.cson' file.
4. Paste the following code at the top of the file:
'.source.ruby':

##Site Wide Shortcuts

Shortcut Description
s Focus on the search bar
g + n Go to your notifications

##Repos

Shorcut | Description

###Hack Design - How Might We Improve the Ways in which Junior Devs Find and Secure Jobs? ####Intro to Design Thinking (15)

  • History
  • Process

####Building Empathy (15)

  • Understand users by getting to know the problem

####Vision for Project (15)

  • Timeline

Little Owl DTR

Learning Goals: Improve rails skills. Develop UX and front-end abilities. Implement API's.

Collaboration Style: We prefer working together.

Communication: SLACK

Strenghts/Weakness

  • Nick: Passionate about front end and UX

Goals

By the end of this lesson, you will know/be able to:

  • Understand INNER JOINS and OUTER JOINS
  • Understand Aggregate Functions
  • Introduce Subqueries

Structure

Background

One of our engineering challenges at NoRedInk is deciding performantly how to show students the right mix of content. By choosing the right cross-section of content we can ensure that:

  1. Students achieve content mastery in the least amount of time, and
  2. Students don't get bored with the same questions.

We base our decision on a number of factors:

  • Student ability
  • Questions students have already seen
  • Pedagogical hierarchy

purgatory.io

Pitch

​ purgatory.io is an exercism.io clone that will focus specifically on ActiveRecord exercises. ​

Problem

​ It's hard to learn complex ActiveRecord and there are not many good resources out there for improving. ​

#version 1
class Deque
def initialize
@head = nil
@tail = nil
end
def push(data)
if @head.nil?
@head = Node.new(data)