Skip to content

Instantly share code, notes, and snippets.

@ashleyvernon
ashleyvernon / Contract Killer 3.md
Created September 28, 2017 23:23
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

A-Frame

Building Blocks for the VR Web

A-Frame is an open-source framework for creating 3D and virtual reality experiences on the web.

<a-montage>

Getting Started

Here are two options to getting started with A-Frame

Better Errors Gem Version Build Status Code Climate


Better Errors replaces the standard Rails error page with a much better and more useful error page. It is also usable outside of Rails in any Rack app as Rack middleware.

Imgur

#Installation


Add this to your Gemfile: ```ruby

Week 8 Learning Objectives

###Migrations

  • Add and remove columns from the database.
  • Alter an existing column.
  • Explain when it is okay to edit a migration and when it is okay to edit the schema.

###Associations

  • Describe how relational databases can be used to create associations between resources.
Author: Scott Whitman
Author: Ashley Vernon
Documentation on button_to:
http://apidock.com/rails/ActionView/Helpers/UrlHelper/button_to
Issue:

Week 7 Learning Objectives

###Intro Ruby

  • List Ruby data types.
  • Articulate strategies to learn new programming languages and frameworks.
  • Run Ruby code in an interactive Command Line Interface or from a file.

###Ruby Methods

  • Write conditionals, loops, and methods in Ruby.
  • Apply methods in ruby to solve problems.
Creating an App using Angular
Step 1.index.html ng-app html tag:
example:
<html lang="en" ng-app="appName">\
Step 2. Define your controllers in app.js.
@ashleyvernon
ashleyvernon / README.md
Created September 16, 2016 22:21 — forked from scottwwhitman/README.md
Angular App Create

##Creating an App using Angular

Keys to Remember About Angular:

  • In your HTML, always prefix angular element attributes with ng-* (ex. an angular-style href is called ng-href)
  • These ng-* attributes are called directives, and they allow us to add behavior to HTML. Directive HTML tags tell Angular to run or reference Angular code
  • Important directives to remember:
    • ng-app turns ordinary HTML into an Angular application. You will need Angular loaded into your project (via a package manager or CDN) for this to work
    • ng-controller connects a controller (a JavaScript file containing logic) to a section of our application.
    • ng-model ties together (binds) values in HTML and data in the controller.

Week 3 Learning Objectives

###Express

  • Draw a diagram of the request response cycle with Nodejs and Express included and labeled
  • Describe the roles that Nodejs and Express play in building a server
  • Use npm to initialize a node project
  • Write a local web server to serve JSON and static assets with Express

###Params and Routes

Week 2 Learning Objectives

###Iterator Methods & Callbacks

  • Use appropriate iterator methods to declaratively loop through collections
  • Follow the order of execution in a program that uses callbacks
  • Write a higher-order function that calls a custom callback

###Objects