Skip to content

Instantly share code, notes, and snippets.

View aespaldi's full-sized avatar

Anne aespaldi

  • Yellow Jersey Software
View GitHub Profile
@aespaldi
aespaldi / form-validator.js
Created December 17, 2013 03:26 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
$(function(){
//Your code...
});
@aespaldi
aespaldi / carousel.js
Created December 17, 2013 03:19 — forked from ksolo/carousel.js
Image Carousel
/* 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.
*/
class Car
@@WHEELS = 4
def initialize(args)
@color = args[:color]
@wheels = @@WHEELS
end
def drive
@status = :driving
end
def brake
class Car
@@WHEELS = 4
def initialize(args)
@color = args[:color]
@wheels = @@WHEELS
end
def drive
@status = :driving
end
def brake
 @@WHEELS = 4
 def initialize(args)
   @color = args[:color]
   @wheels = @@WHEELS
 end
 def drive
   @status = :driving
 end
 def brake
# A very basic Stack implemented with an array
class Stack
attr_reader :length, :top
def initialize(size = 1)
@length = size
self.reset
end
@aespaldi
aespaldi / GitHub Challenge.mb
Created September 2, 2012 20:51
Get comfortable with Git (and GitHub)
** Instructions: ** The goal of this team based activity is to practice using Git and GitHub in a fun environment and to get comfortable with solid workflows before you are working on production code.
** Resources: ** Before beginning this activity, you should learn about Git and GitHub on your own. Here are some good resources:
* One
* Two
** Setup: **
* Try to complete this activity using only the console help for Git (git --help) or download a git [http://cheat.errtheblog.com/s/git/] (cheatsheet)
@aespaldi
aespaldi / gist:3483002
Created August 26, 2012 19:42
Roadmap for CSCI 396 Mobile Applications
  1. Choose a platform: Evaluate the pros and cons of three platforms (native ios, native android or a hybrid app using html, javascript and phonegap to access native controls).
  • Resources:
  • Drills:
  • Challenge: Create a Hello World app in the chosen platform and deploy it to a phone.
  • SUMMARY: Course choice is PhoneGap with HTML5, CSS and jQuery Mobile.
  1. Design a Mobile Application: Create a complete design of a mobile application including user stories, requirements, and mockups with event interaction and flow. Understand the controls in each environment: native ios, native android and a chosen JavaScript/CSS framework (like jQuery Mobile); and be able to translate between them.
  • Resources:
  • Drills: Recreate an existing application views in the chosen platform.
  • Challenge: Create all of the views in your application.