Skip to content

Instantly share code, notes, and snippets.

View amysimmons's full-sized avatar

Amy Simmons amysimmons

View GitHub Profile
@amysimmons
amysimmons / todo.md
Last active August 29, 2015 14:16
To do
  • MTA in CoffeeScript
  • Todo in Backbone
  • Redo Joel's Latin phrases site with Backbone and Wikipedia API
  • CoffeeScript CodeSchool tracks
  • Backbone CodeSchool tracks
  • Read the Backbone.js file
  • Fix bug in Sparkr
  • Show profile pic after upload in Sparkr
  • Specify to upload 3 moment in Sparkr
  • Burning Airlines
@amysimmons
amysimmons / wdi_week_10_notes.md
Last active December 26, 2017 06:48
WDI Week 10 Notes
@amysimmons
amysimmons / job_interview_qs.md
Last active October 6, 2022 19:21
Job Interview Questions

#A team

##What is Rails?

Rails is an open source web application framework written in Ruby. It is a full-stack framework that has been optimised for programmer happiness and sustainable productivity. It emphasises the use of well-known software engineering patterns and paradigms, including convention over configuration (CoC), don't repeat yourself (DRY), the active record pattern, and model–view–controller (MVC).

Extra: David Heinemeier Hansson (DHH) is the creator of Rails, having extracted it from his work on Basecamp. He first released Rails as open source in July 2004.

Useful Links:

@amysimmons
amysimmons / wdi_week_11_notes.md
Last active December 26, 2017 06:48
WDI Week 11 Notes
@amysimmons
amysimmons / final_project_notes.md
Last active August 29, 2015 14:17
Final Project Notes

#Final project notes

##The problem

Music hogs

##The solution

Democratically chosen playlists

class FooController
def index
# The controller is responsible for gathering the things needed
# to make the response. This should be a single line of code
@things = Foo.things
# The controller is responsible for sending the view back to the user.
# the view uses our instance variable above to render @things
render :some_view
end
@amysimmons
amysimmons / sql-notes.md
Last active April 29, 2024 16:49
SQL Notes
@amysimmons
amysimmons / C#-fundamentals.md
Last active August 29, 2015 14:19
C# Fundamentals

#C# Fundamentals with C# 5.0

##Introduction to C#

To create a new project in Visual Studio:

File, new, Visual C# , Console Application

In the command prompt, cd to the project folder, obj, debugg, and run the .exe file

@amysimmons
amysimmons / levelup_backbone.md
Last active August 29, 2015 14:20
LevelUp Backbone Overview

#LevelUp Backbone Overview

Backbone gives us structure to our code

It has views, models, a router and the html

When dealing with code that works with data, we will deal with the model

When dealing with the logic for each page in the application, we will deal with the view

@amysimmons
amysimmons / accessing_data.md
Created May 2, 2015 05:46
Accessing data based on the object type

#Determining how to access data based on the object type

  1. Call .class on the object that we have to see what type it is
  2. If it is an array, we can use the array methods (ie .first, .sort [])
  3. If it is a hash, we can use the hash methods (ie .fetch, h[:foo])
  4. If it is something else, we can ask what methods it responds to by doing foo.methods - Object.methods