This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Register as an apple developer: | |
------------------------------------------------------------------------------------------------- | |
https://developer.apple.com/devcenter/ios/index.action | |
Evaluate the different types of developer program: | |
------------------------------------------------------------------------------------------------- | |
https://developer.apple.com/programs/which-program/ | |
Changing the text of a label: | |
------------------------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are 3 pillars to every successful website: HTML, CSS and JavaScript. These are the fundamental front-end pieces that makes successful sites tick. Having just HTML and CSS are not enough. The visitors to your site expect an engaging and interactive experience. JavaScript provides your users with the rich interactivity that they expect. | |
In this class, I will detail how to take a plain, vanilla site and then watch as it jumps to life as we liberally sprinkle generous amounts of JavaScript throughout. It's amazing, really, how much more responsive and engaging a site can become with a few lines of JavaScript. | |
The list of topics to be discussed in class: | |
+++ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CMViewController.m | |
// Xcalc | |
// | |
// Created by Chyld Medford on 8/7/12. | |
// Copyright (c) 2012 Chyld Medford. All rights reserved. | |
// | |
#import "CMViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CMViewController.m | |
// Xcalc | |
// | |
// Created by Chyld Medford on 8/9/12. | |
// Copyright (c) 2012 Chyld Medford. All rights reserved. | |
// | |
#import "CMViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://sites.google.com/site/rorsummer12s2/lectures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# new rails server for chyld.net | |
# amazon allows you to create external EBS volumes that automatically attach to your EC2 instance | |
# 8 GB root device for application & 50 GB EBS for database | |
ssh -i ~/Documents/ssh-keys/chyldnet.pem [email protected] | |
# Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual x86_64) | |
# mounts /dev/sdf to /dev/xvdf (ubuntu internal name is different) | |
sudo mkfs.ext4 /dev/xvdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include routing and URL helpers | |
include ActionDispatch::Routing | |
include Rails.application.routes.url_helpers | |
# use routes normally | |
users_path #=> "/users" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :chyld do | |
desc 'Populate database' | |
task :populate => [:environment] do | |
Song.create(:name => "S1", :album_name => "A1") | |
Song.create(:name => "S2", :album_name => "A2") | |
Song.create(:name => "S3", :album_name => "A3") | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :mixtape do | |
desc 'Create songs for mixtape application' | |
task :create_song_data => [:environment, :delete_song_and_artist_data] do | |
# Build Song Off Artist | |
# Given a Song called R.E.S.P.E.C.T | |
# build the Aretha Franklin Artist | |
s = Song.create(:name => "R.E.S.P.E.C.T") | |
s.build_artist(:name => "Aretha Franklin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://asciicasts.com/episodes/270-authentication-in-rails-3-1 | |
users table: | |
------------ | |
password_digest | |