Skip to main content

SUU Digital Library

Add or remove other collections to your search:



Narrow your search by:



You've searched: All Collections

  • All fields: save
(221 results)



Display: 20

    • Page 117

    •  
    • /my_timeline-demo/db/seeds.rb def get_i 1 nput(display_name, default_val) 2 puts "Please enter #{display_name} (or press enter to use #{default_val}):" 3 input = STDIN.gets.chomp 4 input = default_val if input.blank? 5 6 input 7 end 8 9 puts...
    • Page 193

    •  
    • /my_timeline-github/app/controllers/my_timeline/github_controller.rb 1 module MyTimeline 2 class GithubController < ApplicationController 3 def new 4 @user.settings(:github).user_name = params[:user_name] 5 @user.save! 6 redirect_to...
    • Page 190

    •  
    • /my_timeline-github/app/scrapers/my_timeline/github/fork_event_builder.rb 1 module MyTimeline 2 module Github 3 class ForkEventBuilder < GithubBuilder 4 5 def build_event return false if already_exists_in_db? 67 8 event.linkable = fork_event 9...
    • Page 192

    •  
    • /my_timeline-github/app/scrapers/my_timeline/github/pull_request_event_builder.rb 1 module MyTimeline 2 module Github 3 class PullRequestEventBuilder < GithubBuilder 4 5 def build_event return false if already_exists_in_db? 67 8 event.linkable =...
    • Page 191

    •  
    • /my_timeline-github/app/scrapers/my_timeline/github/push_event_builder.rb 1 module MyTimeline 2 module Github 3 class PushEventBuilder < GithubBuilder 4 5 def build_event return false if already_exists_in_db? 67 8 event.linkable = push_event 9...
    • Page 181

    •  
    • /my_timeline-github/app/views/my_timeline/github/_control_panel.html.erb 1

      Github Settings

      2 <% if @user.settings(:github).user_name %> <%= button_to "Scrape activities from #{@user.settings(:github).user_name}!", github_scrape_ path,...
    • Page 212

    •  
    • /my_timeline-health_graph/app/controllers/my_timeline/health_graph_controller.rb 1 module MyTimeline 2 class HealthGraphController < MyTimeline::ApplicationController 3 4 def new 5 ::HealthGraph.configure do |config| 6 config.client_id =...
    • Page 210

    •  
    • /my_timeline-health_graph/app/scrapers/my_timeline/health_graph/cardio_activity_builder.rb 1 module MyTimeline 2 module HealthGraph 3 class CardioActivityBuilder 4 5 attr_reader :user, :activity, :summary, :health_graph_user 6 7 def...
    • Page 229

    •  
    • /my_timeline-twitter/app/controllers/my_timeline/twitter_controller.rb 1 module MyTimeline 2 class TwitterController < ApplicationController 3 4 def new 5 @user.settings(:twitter).user_name = params[:user_name] 6 @user.save! 7 redirect_to...
    • Page 227

    •  
    • /my_timeline-twitter/app/scrapers/my_timeline/twitter/tweet_builder.rb 1 module MyTimeline 2 module Twitter 3 class TweetBuilder 4 5 attr_reader :user, :tweet_hash 6 7 def initialize(user) 8 @user = user 9 end 10 11 def build_tweet(tweet_hash) 12...
    • Page 225

    •  
    • /my_timeline-twitter/app/views/my_timeline/twitter/_control_panel.html.erb <1 h3> Twitter Settings 2 <% if @user.settings(:twitter).user_name %> <%= button_to "Scrape tweets from #{@user.settings(:twitter).user_name}!", twitter_scrape_pat h,...
    • Page 70

    •  
    • /my_timeline/app/controllers/my_timeline/control_panel_controller.rb 1 module MyTimeline 2 class ControlPanelController < MyTimeline::ApplicationController 3 4 before_filter :user_only 5 6 def index 7 @enabled_plugins = MyTimeline.enabled_plugins 8...
    • Page 67

    •  
    • /my_timeline/app/controllers/my_timeline/posts_controller.rb 1 module MyTimeline 2 class PostsController < MyTimeline::ApplicationController 3 4 def new 5 @event = Event.new 6 @post = Post.new(event: @event) 7 end 8 9 def create 10 @post =...
    • Page 59

    •  
    • /my_timeline/app/views/my_timeline/control_panel/_time_zone.html.erb <%= form_for @user, url: control_panel_timezone_path, 1 method: :post do |f| %> 2 <%= f.time_zone_select :time_zone %> 3
      4 <%= f.submit 'Save', class: "btn btn-primary" %> 5...
    • Page 78

    •  
    • /my_timeline/lib/my_timeline/user_stub.rb 1 require 'singleton' 2 3 module MyTimeline 4 class UserStub 5 include Singleton 6 7 include ActiveModel::Validations 8 include ActiveModel::Conversion 9 extend ActiveModel::Naming 10 11 def events 12...
    • Page 93

    •  
    • /my_timeline/spec/models/my_timeline/event_spec.rb 1 require 'spec_helper' 2 3 module MyTimeline 4 describe Event do 5 it "is an event" do 6 e = Event.new 7 e.save.should be_false 8 9 f = Event.new( 10 happened_on: Time.now, 11 description:...
    • Page 113

    •  
    • 100 Chapter 6 Animation with Photoshop position and press the Play button. You should see the text start at the top and move down and to the right. Click the stop button or the anima-tion will continue to play. 10. Now drag the time ruler to the 5...
    • Page 16

    •  
    • 11 educational and developmental topics teachers will pursue, without regard to the needs that the teachers themselves perceive” (p. 93). This, coupled with districts’ aims to save money, has led to smaller group professional development, such...
    • Page 125

    •  
    • 112 Chapter 7 HTML end. The area in between will be used to enter the other tags and web content. Your Notepad window should now look like Figure 7.6. Note: the first tag wraps to a new line in the example above but you do not need to wrap it in...
    • Page 127

    •  
    • 114 Chapter 7 HTML because they form the skeleton or framework of the web page. The and tags define the so-called “header” of the web page. The header generally contains information that is not visible in the browser window. This...

QuickView

Display a larger image and more item information when the pointer pauses over a thumbnail
 

Layout options:

Select the collections to add or remove from your search
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
 
OK