Skip to content

Instantly share code, notes, and snippets.

juliantheberge

Block or report user

Report or block juliantheberge

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View buildscript.js
// concatinates file names
function stringOfFiles(dir:string, array:[string], version:number, rev:boolean) {
let finalArr = [];
if (rev) {
for (let i = array.length-1; i >= version;i--) {
finalArr.push("-f " + dir + '/' + array[i])
}
return " -a " + finalArr.join(' ')
} else {
for (let i = 0; i < version;i++) {
@juliantheberge
juliantheberge / AlarmClock.ts
Created Apr 17, 2018
Autonomous Alarm Clock
View AlarmClock.ts
export default class AlarmClock {
querySvc:QuerySvc;
dbInfo: pg.ConnectionConfig;
date:Date;
timeString:V.MilitaryTime;
maxRingTime: number;
maxSnooze: number;
View gist:f9f75371d4b0510f6326d0ed20a201d0
export default class AlarmClock {
querySvc:QuerySvc;
dbInfo: pg.ConnectionConfig;
date:Date;
timeString:V.MilitaryTime;
maxRingTime: number;
maxSnooze: number;
You can’t perform that action at this time.