I hereby claim:
- I am zrsmith92 on github.
- I am zsmith (https://keybase.io/zsmith) on keybase.
- I have a public key whose fingerprint is BD36 AF85 0A1C 2835 04FD 9AF0 0407 9D4A DAC9 1974
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
use libc::{c_char, c_int}; | |
extern { | |
#[allow(dead_code)] | |
pub fn puts(str: *const c_char) -> c_int; | |
#[allow(dead_code)] | |
pub fn printf(format: *const c_char, ...) -> c_int; | |
} |
public static String formatTimeInterval(Date time) { | |
Date now; | |
if (getInstance().getVirtualDate() != null) { | |
now = getInstance().getVirtualDate(); | |
} else { | |
now = new Date(); | |
} | |
StringBuilder sb = new StringBuilder("in "); |
package edu.northwestern.NUShuttle; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import android.app.ListActivity; |
function GenerateSchedule (rows, members, dates) { | |
/* ARGUMENTS: | |
* rows: 2D array of all rows and columns from the table. | |
* members: 1D array of numbers of members required at each meeting. | |
* dates: 1D array of date strings pulled from the google spreadsheet. | |
*/ | |
var c = 0, | |
i = maxIdx(members), | |
j = 0, | |
used = [], // Stores dates previously used. |