This file contains hidden or 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
| import * as constDefs from '../../utility/constDefinitions' | |
| import React, { | |
| Component | |
| } from 'react'; | |
| import chai from 'chai'; | |
| import axios from 'axios'; | |
| var assert = chai.assert; | |
| var passwordsToTest = ["password", "password123", "testPassword!23"]; |
This file contains hidden or 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
| import { Meteor } from 'meteor/meteor'; | |
| import parse from 'csv-parse'; | |
| import fs from 'fs'; | |
| export const ParsingInterface = { | |
| parseDataSync: function (filePath) { | |
| const data = fs.readFile(path); |
This file contains hidden or 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
| 'use strict'; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | |
| var _react = require('react'); |
This file contains hidden or 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
| import React, { Component } from 'react'; | |
| import Box from 'grommet/components/Box'; | |
| import Table from 'grommet/components/Table'; | |
| import TableHeader from 'grommet/components/TableHeader'; | |
| import TableRow from 'grommet/components/TableRow'; | |
| import Heading from 'grommet/components/Heading'; | |
| import Spinning from 'grommet/components/icons/Spinning'; | |
This file contains hidden or 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
| public async Task<ObservableCollection<ZoneInfo>> ReadZones(string tableName) | |
| { | |
| string fileName = string.Format("{0}.csv", tableName); | |
| // access the local folder | |
| StorageFolder appFolder = | |
| Windows.ApplicationModel.Package.Current.InstalledLocation; | |
| Stream fileStream = await appFolder.GetFileAsync().OpenStreamForReadAsync(fileName); |
This file contains hidden or 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
| using CsvHelper; | |
| using Parking_Tag_Picker_WRT.Models; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Windows.ApplicationModel; |
This file contains hidden or 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
| <Page x:Class="Parking_Tag_Picker_WRT.MainPage" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
| xmlns:local="using:Parking_Tag_Picker_WRT" | |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
| Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | |
| mc:Ignorable="d"> | |
This file contains hidden or 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
| namespace Parking_Tag_Picker_WRT.ViewModel | |
| { | |
| public class TagRequestViewModel : INotifyPropertyChanged | |
| { | |
| public RelayCommand TagRequestCommand | |
| { | |
| get; | |
| private set; | |
| } |
This file contains hidden or 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
| using Parking_Tag_Picker_WRT.Models; | |
| using SQLite; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Windows.ApplicationModel; |
This file contains hidden or 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
| using Parking_Tag_Picker_WRT.Models; | |
| using SQLite; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Windows.ApplicationModel; | |
| using Windows.Storage; |