Skip to content

Instantly share code, notes, and snippets.

View ashleygwilliams's full-sized avatar
>o_o<

ashley williams ashleygwilliams

>o_o<
View GitHub Profile

###ADVANCED ##Angular Activity #1: Apps, Controllers, Templates with Hardcoded Data

Follow this tutorial through step2, with full testing, then replace their example data(phones), with data of your choice. Update your variable names and template elements to reflect the changes to your data.

@ashleygwilliams
ashleygwilliams / assignment2-advanced.md
Last active August 29, 2015 13:56
AngularJS Activity 2

###ADVANCED ##Angular Activity #2: Apps, Controllers, Templates with External Data

Follow this tutorial through step 6, with full testing, then replace their example data(phones), with data of your choice. Update your variable names and template elements to reflect the changes to your data.

#Git Workflow 1:

Setup

  1. Create a project folder. This folder will contain all the files and folders for your repo
  • From a Mac or Linux terminal: Navigate to the path where you'd like to create the folder. Then type mkdir <folder_name>, replacing <folder_name> with whatever you'd like to name your folder.

You can also accomplish this from Finder or Windows Explorer.

  1. Initialize a Local Repository.

day 1 homework

#Student Profile Page - Pure HTML

This assignment begins our collaborative construction of the Digital Wesleyan Fellowship Page. The purpose of this exercise is to familiarize you with HTML and CSS, as well as set up you up to learn our second Github Workflow: Fork and Pull Request.

  1. Fork the digitalwesfellowship-home repo: https://github.com/digitalwes/digitalwesfellowship-home
  2. Clone the repo to your local machine by navigating to your projects folder and typing git clone https://github.com/digitalwes/digitalwesfellowship-home.git
  3. On your computer, in either Finder/Explorer or your Terminal, navigate to the /source/layouts/students folder, here: https://github.com/digitalwes/digitalwesfellowship-home/tree/master/source/layouts/students
  4. Make a copy of student_template.html and name it Your_Name.html, replacing Your_Name with... your name.
  5. Fill out the html in that file with your information
@import "bootstrap";
@import "bootstrap-responsive";
$CFAred: #cf1b41;
$CFAblue: #399fd3;
$CFAgrey: #939699;
$CFAdarkgrey: #6D6E71;
$BBdarkblue: #1c4587;
$tinyspace: 2px;
//object literal notion
var my_obj = {
attr1: 'hello',
attr2: 'what'
};
//data is accessible by using keyword via dot notation...
my_obj.attr1; // => 'hello'
//...or brackets

Keybase proof

I hereby claim:

  • I am ashleygwilliams on github.
  • I am ag_dubs (https://keybase.io/ag_dubs) on keybase.
  • I have a public key whose fingerprint is D8B8 04C4 941E 0F76 65AE CE86 F25E F929 E735 9EAD

To claim this, I am signing this object:

@ashleygwilliams
ashleygwilliams / notes.md
Last active August 29, 2015 13:57
notes on ben's javascript best practices class 3/31

#Day1

  • packaging stuff for students at the end of the class
  • global scope: make this first example an activity!
  • should we be mixing eventlisteners with global variable example
  • when you are talking about require.js show it
  • following the talk about libraries is hard to follow
  • make a browserify example
  • dont talk about it now, show it
  • pretty name can be an exercise
App.Post.FIXTURES = [{
id: '1',
author: "ashley",
title: "Rails is Omakase",
date: new Date('12-27-2012'),
excerpt: "There are lots of à la carte software environments in this world. Places where in order to eat, you must first carefully look over the menu of options to order exactly what you want.",
body: "I want this for my ORM, I want that for my template language, and let's finish it off with this routing library. Of course, you're going to have to know what you want, and you'll rarely have your horizon expanded if you always order the same thing, but there it is. It's a very popular way of consuming software.\n\nRails is not that. Rails is omakase."
}, {
id: '2',
author: "bob",
NoMethodError: undefined method `task' for Sinatra::Application:Class