Skip to content

Instantly share code, notes, and snippets.

View michaelchihuyho's full-sized avatar

Michael Ho michaelchihuyho

View GitHub Profile

Feedback from the Island Foxes - 7/26

On Wednesday, July 24, Anne and Sherif brought in Jared from the DBC staff to act as a guest lecturer. Jared was asked to refactor code from one group's "Flash Cards" project. Jared had no familiarity with the group's code base before the code review. Many members of the Island Foxes cohort felt that this was an extremely beneficial lecture (though it was felt more like an organic conversation). This gist is being provided to staff in order to concisely express why we felt that this guest code review was beneficial, in the hopes that it can be regularly incorporated into the curriculum.

Points of Contact

Michael Ho, Mitch Seaman

@michaelchihuyho
michaelchihuyho / massage_project_proposal.md
Last active December 20, 2015 03:38
Project proposal from the 2013 DBC Island Foxes.

Massage Project Proposal

This document contains a proposal from some of the members of the Island Foxes 2013 cohort at Dev Bootcamp (DBC) in San Francisco. The proposal details a group project that may be completed in lieu of the "Survey Gorilla" group project, found at:

http://socrates.devbootcamp.com/challenges/308

Some parts of this proposal are directly copied from the afformentioned challenge.

Writers/Collaborators

$('a').on('mouseover', function(e){e.preventDefault(); $(this).css('cursor','default')})
$('a').on('click', function(e){e.preventDefault()})
/* Here is your chance to take over Socrates!
Spend 10 minutes on each of the following hacks to the socrates website.
Enter them in the console to make sure it works and then save
your results here.
Choose a new pair for each. Add your names to the section you complete.
*/
/* Here is your chance to take over Socrates!
Spend 10 minutes on each of the following hacks to the socrates website.
Enter them in the console to make sure it works and then save
your results here.
Choose a new pair for each. Add your names to the section you complete.
*/
@michaelchihuyho
michaelchihuyho / index.html
Last active December 20, 2015 00:48 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
$(document).ready(function () {
// PSEUDO-CODE:
// 1- intercept the form submission event using jQuery
// 2- prevent the default action for that event from happening
// 3- generate a random number between 1 and 6 using JavaScript
// 4- use jQuery to submit an AJAX post to the form's action
// 5- when the AJAX post is done, replace the contents of the "#die" DIV in the DOM using jQuery
$('form').submit(function(event){
class Vehicle
def initialize(args)
@color = args[:color]
end
def drive
@status = :driving
end