View example.json
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
{ | |
"id": "0003ee8c-2288-11e4-9610-0015c5f288ee", | |
"created_at": "8/12/14 9:24", | |
"updated_at": "8/12/14 9:25", | |
"aamc_id": "87878999", | |
"acomas_id": "", | |
"tmdsas_id": "", | |
"school_id": "", | |
"is_md_applicant": "1", | |
"is_phd_applicant": "0", |
View App.js
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
// App | |
// <App/> | |
import React from 'react'; | |
import Header from './Header'; | |
import SenderNav from './SenderNav'; | |
import Dashboard from './Dashboard'; | |
import AnnouncementsList from './Announcements/AnnouncementsList'; |
View AnnouncementList.js
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
// AnnouncementList | |
// <AnnouncementList/> | |
import React from 'react'; | |
import marked from 'marked'; | |
var AnnouncementsList = React.createClass({ | |
renderAnnouncement : function(key) { | |
// var linkState = this.props.linkState; |
View gist:eac8b92e37942f9bbfe6
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
language: node_js | |
node_js: | |
- 0.10.25 | |
# - 0.10.30 | |
services: | |
- mongodb | |
before_install: | |
- npm install -g phantomjs | |
- npm install -g velocity-cli | |
install: |
View default.rb
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
# | |
# Cookbook Name:: delayed_job | |
# Recipe:: default | |
# | |
if ['solo', 'app', 'app_master'].include?(node[:instance_role]) | |
# be sure to replace "app_name" with the name of your application. | |
run_for_app("maloca") do |app_name, data| | |
View default.rb
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
# | |
# Cookbook Name:: delayed_job | |
# Recipe:: default | |
# | |
if ['solo', 'app', 'app_master'].include?(node[:instance_role]) | |
# be sure to replace "app_name" with the name of your application. | |
run_for_app("maloca") do |app_name, data| | |
View TiteWalk_Screencast3_Source.html
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
<!-- index.html --> | |
<html> | |
<head> | |
<link rel="stylesheet" href="css/tite_styles.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
<link rel="stylesheet" href="css/custom-theme/jquery-ui-1.8rc1.custom.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
</head> | |
<body> | |
<div id="contents"> |
View TiteWalk_Screencast2_Source.html
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
<html> | |
<head> | |
<link rel="stylesheet" href="css/tite_styles.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
<link rel="stylesheet" href="css/custom-theme/jquery-ui-1.8rc1.custom.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
<style type="text/css" media="screen"> | |
.online { | |
background: -webkit-gradient(linear, left top, left bottom, from(#01B201), to(#018301)); | |
-webkit-border-radius: 10px; | |
} | |
View TiteWalk_Screencast1_Source.html
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
<html> | |
<head> | |
</head> | |
<body style="background-color:#1c1c1c;margin:0"> | |
<div style="border-top:1px solid #404040"> | |
<div style="color:#fff;;padding:10px">Welcome to Titanium</div> | |
</div> | |
<script type="text/javascript" src="jquery-1.3.2.js"></script> |
View Titanium_Debugging_Helps.js
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
// Create an alert | |
var a = Titanium.UI.createAlertDialog(); | |
a.setTitle('Table View Test') | |
a.setMessage('row ' + eventObject.row + ' index ' + eventObject.index + ' section ' + eventObject.section + ' rowData ' + eventObject.rowData + ' [eventObject.index].id: ' + rIndex.rosterID); | |
a.show(); | |
thisID = $(eventObject.row + " id"); | |
/correct formatting for a nested field in the dataArray | |
Titanium.API.debug('=================== rosterID: ' + dataArray[eventObject.index].rosterID ); |
NewerOlder