Skip to content

Instantly share code, notes, and snippets.

Kyle is the best
@MiriamNeubauer
MiriamNeubauer / First quiz MCN
Created October 4, 2013 22:27
Hello, this is my first quiz
// #1
<!DOCTYPE html>
<html>
<head>
<script src="/script/script.js" type="text/javascript"></script>
<link rel="sytlesheet" type="text/css" href="/style/style.css">
</head>
@MiriamNeubauer
MiriamNeubauer / Associations_schema.xml
Created October 15, 2013 21:43
This is the lab exercise part 1/3 for associations in databases @neurosaurus
<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ -->
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ -->
<sql>
<datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="TINYINT" length="0" sql="TINYINT" quote=""/>
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/>
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/>
<type label="INT" length="0" sql="INT" quote=""/>

Intro To Bootstrap

Style and UX

OBJECTIVE
To become familiar with the conceptual elements (grid, navs, navbar, ...) of Bootstrap, and use those tools to design a responsive page layout.
# Building Ruby Familiarity
# In this exercise you will take a first look at some common commands in Ruby
# The idea here is to build familiary with Ruby syntax
# This will likely be the first time you've seen some of these commands
# Just type them in and see the displayed output
# Steps:
# 1. Open up a new terminal window
# 2. Launch irb

Refactoring Feedback:

I didn't get time to examine the detailed action flow of your code to offer detailed logic improvements, if any exist. Just following the guidelines I created the following...

GIT Project issues:

  • Need to delete README.rdoc and create a new README.md
  • You made commit comments in German - should be English for other devs to understand summary of scope of change
  • You should add .DS_Store to your .gitignore file so that is is not committed by default.
Please write some tests for your first Project. This is backwards from the way it "should" be
-- haha, some Rspec humor for ya!!
Make sure to include at least one Model test and one Controller test. These are tests for
your Ruby code only.
I will randomly call on students in each class to describe the tests they wrote and why, so
please do your homework! :)
Tomorrow we will learn about testing in JavaScript. If you want to do some reading up ahead
# happy_tails.rb
# Spencer Eldred
# Sept 27, 2013
# Activity:
# You are the manager at HappiTails animal shelter. You need to manage your shelter by storing and manipulating information about clients and animals.
# Object Specs:
# Animal:
# An animal should have a name, an age, a gender, a species, and can have multiple toys.
require "Rumoji" # See; https://github.com/mwunsch/rumoji
# Customize grid space and player icons as emoji charcters from: http://www.emoji-cheat-sheet.com/
require "Rainbow"
class Grid
attr_accessor :production_run, :player_x_moves, :player_o_moves
def initialize(production_run, player_x_moves, player_o_moves)
@is_debug_mode = false # set to true to invoke debugging statements if needed...