Skip to content

Instantly share code, notes, and snippets.

#
# Function Name: getUserData
#
# Inputs: None
#
# Output:
# -$userData: A dictionary containing the entries...
# - "start" -> A dateTime object that marks the start of the date range
# - "end" -> A dateTime object that marks the end of the date range
# - "folderPath"-> A path (string) object containing the folderPath to the folder containing the subfolder "KinectData"
# Function definitions
function getUserData
{
Do {
$rootPath = Read-Host "Enter the path to the folder containing video files (NOT /userid)"
# $rootPath = "C:\Users\muengrcerthospkinect\Desktop\testing"
$pathTest = Test-Path $rootPath
# Function definitions
function getDates
{
#Prompt the user to enter the date range
$startDate = Read-Host "Enter the start date for the date range in the format M/d/YYYY"
$endDate = Read-Host "Enter the end date for the date range in the format M/d/YYYY"
@forsythetony
forsythetony / PNBarChart.h
Created February 7, 2014 03:33
Modified Files for PNChart
//
// PNBarChart.h
// PNChartDemo
//
// Created by kevin on 11/7/13.
// Copyright (c) 2013年 kevinzhow. All rights reserved.
//
#import <UIKit/UIKit.h>