Skip to content

Instantly share code, notes, and snippets.

View akaHeimdall's full-sized avatar
💭
Contemplating the unknowns of the universe

Saeed Richardson akaHeimdall

💭
Contemplating the unknowns of the universe
View GitHub Profile

Review past week

  • Review calendar events from the past week: Do you need to follow-up with anyone? Are there action items from any of those events you need to get done?
  • Review your weekly or monthly goals: Did you achieve any goals last week? Did you move forward on longer-term goals? Do you need to adjust your process this week?
  • Reflect on the past week: Did the week feel successful as a whole? Could it have been better? What were the good and bad parts?

Prepare for upcoming week

  • Review calendar events for the week ahead: Do you need to prepare notes or research for any events? Do you need to confirm times and places?
  • Review monthly and quarterly goals: Is there anything you can do this week to move towards your goals?
@akaHeimdall
akaHeimdall / AnnouncementList.js
Created February 18, 2016 22:40
Sample react component for listing announcements
// AnnouncementList
// <AnnouncementList/>
import React from 'react';
import marked from 'marked';
var AnnouncementsList = React.createClass({
renderAnnouncement : function(key) {
// var linkState = this.props.linkState;
@akaHeimdall
akaHeimdall / App.js
Last active June 30, 2016 18:36
react component for main app that loads announcement list
// App
// <App/>
import React from 'react';
import Header from './Header';
import SenderNav from './SenderNav';
import Dashboard from './Dashboard';
import AnnouncementsList from './Announcements/AnnouncementsList';
@akaHeimdall
akaHeimdall / example.json
Created March 10, 2016 06:50
Sample Data Structure
{
"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",
#
# 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|
#
# 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|
<!-- 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">
<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;
}
<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>
// 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 );