This file contains hidden or 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
{ | |
"meals":[ | |
{ | |
"id":103, | |
"created_at":"2013-10-08T22:49:07-06:00", | |
"description":"A half pound burger with bacon.", | |
"location":null, | |
"portion_consumed":4, | |
"time_occurred":"2013-10-08T22:49:07-06:00", | |
"premeal_hunger":4, |
This file contains hidden or 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
// | |
// RookGame.m | |
// Matchismo | |
// | |
// Created by Steve Liddle on 10/19/13. | |
// Copyright (c) 2013 Brigham Young University. All rights reserved. | |
// | |
#import "RookGame.h" | |
#import "RookCardDeck.h" | |
#import "RookCard.h" |
This file contains hidden or 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
// | |
// RookGameViewController.m | |
// Matchismo | |
// | |
// Created by Steve Liddle on 10/16/13. | |
// Copyright (c) 2013 Brigham Young University. All rights reserved. | |
// | |
#import "RookGameViewController.h" | |
#import "RookGame.h" | |
#import "RookCardCollectionViewCell.h" |
This file contains hidden or 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
Directives.directive('fallbackSrc', function() { | |
return { | |
restrict: 'A', | |
link: function(scope, element, attrs){ | |
if(_.isEmpty(attrs.ngSrc)){ | |
element.attr('src', attrs.fallbackSrc); | |
} | |
element.bind('error', function(){ | |
element.attr('src', attrs.fallbackSrc); | |
}); |
This file contains hidden or 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
private void toggleAudio(final Report report) { | |
System.out.println("PLAY CLICKED..."); | |
PlayAudio.play(report.audio_url, new AudioPlayerCallback() { | |
@Override | |
public void onCompleted() { | |
System.out.println("PLAY COMPLETED"); | |
response_audio.setImageResource(R.drawable.response_audio); | |
} |
This file contains hidden or 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
SELECT | |
users.display_name, | |
users.paypal_username, | |
users.billing_name, | |
users.address1, | |
users.address2, | |
users.city, | |
users.state, | |
users.email, | |
users.phone, |
This file contains hidden or 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
package com.usdietitian.android.models; | |
import com.google.gson.annotations.SerializedName; | |
import java.util.List; | |
/** | |
* User: jpotts | |
* Date: 8/23/13 | |
* Time: 3:17 PM |
This file contains hidden or 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
{ | |
"clips": [{ | |
"title": "Toy Story 3", | |
"duration": "149", | |
"thumbnail": "http://content.internetvideoarchive.com/content/photos/3465/14553712_.jpg", | |
"links": { | |
"alternate": "http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566" | |
} | |
}, { | |
"title": "Toy Story 3: Meet Ken", |
This file contains hidden or 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
Gradle 'android-starter' project refresh failed: | |
Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.10-all.zip'. | |
A problem occurred configuring project ':android'. | |
A problem occurred configuring project ':android'. | |
Could not resolve all dependencies for configuration ':android:_debugCompile'. | |
Could not find com.jakewharton.butterknife:butterknife:4.0.1. | |
Required by: | |
android-starter:android:unspecified |
This file contains hidden or 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
# Source Path Variables | |
source ~/.bash_profile | |
# uncomment to run this script in your local environment (outside of jenkins) | |
set -x | |
#WORKSPACE="/Users/parivedadeveloper/Projects/pariveda-finternship-2013" | |
# ANDROID | |
ANDROID_FOLDER="${WORKSPACE}/source/BBP.Droid" | |
ANDROID_CSPROJ="${ANDROID_FOLDER}/BBP.Droid.csproj" |