├── .gitignore ├── README.md ├── auth-user ├── .ebextensions │ ├── db-migrate.config │ ├── django.config │ ├── environment.config │ ├── loadbalancer.config │ ├── packages.config │ └── rds.config ├── .gitignore ├── core │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── custom │ ├── disable.py │ └── jwt.py ├── manage.py ├── requirements.pip ├── requirements.txt └── users │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── forms.py │ ├── management │ └── commands │ │ └── create_superuser.py │ ├── migrations │ ├── 0001_initial.py │ ├── 0002_profile.py │ └── __init__.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ └── views.py ├── deprecated ├── blockchain │ ├── UserData.sol │ ├── UserDataHandler.py │ ├── UserDataInterface.json │ ├── build │ │ └── contracts │ │ │ ├── Migrations.json │ │ │ └── UserData.json │ ├── contracts │ │ ├── Migrations.sol │ │ └── UserData.sol │ ├── migrations │ │ ├── 1_initial_migration.js │ │ └── 2_deploy_contracts.js │ ├── test.py │ └── truffle.js ├── blockchain_new │ ├── contracts │ │ ├── Master.sol │ │ ├── Migrations.sol │ │ ├── Query.sol │ │ └── oldQuery.sol │ ├── migrations │ │ └── 1_initial_migration.js │ ├── notebook │ │ ├── .ipynb_checkpoints │ │ │ └── Decentralized_ML-checkpoint.ipynb │ │ ├── Decentralized_ML.ipynb │ │ └── Greeter.sol │ ├── truffle-config.js │ └── truffle.js ├── data-quality │ ├── api │ │ ├── __init__.py │ │ └── fitbit.py │ ├── app.py │ ├── conf │ │ └── __init__.py │ ├── contracts │ │ ├── __init__.py │ │ └── output.py │ ├── exploration │ │ ├── .ipynb_checkpoints │ │ │ └── DataQualityWorkspace-checkpoint.ipynb │ │ ├── DataQualityWorkspace.ipynb │ │ └── data │ │ │ ├── db.py │ │ │ ├── db.txt │ │ │ ├── fitbit.csv │ │ │ ├── uber.csv │ │ │ ├── uber_extended.csv │ │ │ └── uber_extra.json │ ├── requirements.txt │ ├── services │ │ └── dbinterfacer.py │ ├── swagger │ │ └── indexer.yaml │ └── validators │ │ ├── base_validator.py │ │ └── fitbit_validator.py ├── fraud │ ├── .ipynb_checkpoints │ │ └── Semantic Similarity-checkpoint.ipynb │ ├── SICK_test_annotated.txt │ ├── SICK_train.txt │ ├── SICK_trial.txt │ ├── Semantic Similarity.ipynb │ ├── activity.csv │ └── fitbit_export__10.22.2011_09.20.2014.xlsx ├── ios │ ├── Assets │ │ ├── Nunito │ │ │ ├── Nunito-Black.ttf │ │ │ ├── Nunito-BlackItalic.ttf │ │ │ ├── Nunito-Bold.ttf │ │ │ ├── Nunito-BoldItalic.ttf │ │ │ ├── Nunito-ExtraBold.ttf │ │ │ ├── Nunito-ExtraBoldItalic.ttf │ │ │ ├── Nunito-ExtraLight.ttf │ │ │ ├── Nunito-ExtraLightItalic.ttf │ │ │ ├── Nunito-Italic.ttf │ │ │ ├── Nunito-Light.ttf │ │ │ ├── Nunito-LightItalic.ttf │ │ │ ├── Nunito-Regular.ttf │ │ │ ├── Nunito-SemiBold.ttf │ │ │ ├── Nunito-SemiBoldItalic.ttf │ │ │ └── OFL.txt │ │ ├── account_icon.svg │ │ ├── account_icon_25.png │ │ ├── account_icon_50.png │ │ ├── account_icon_75.png │ │ ├── datashark.sketch │ │ ├── logo.svg │ │ ├── logo_1024.png │ │ ├── logo_120.png │ │ ├── logo_180.png │ │ ├── logo_40.png │ │ ├── logo_58.png │ │ ├── logo_60.png │ │ ├── logo_80.png │ │ ├── logo_87.png │ │ ├── logo_clear_200.png │ │ ├── logo_clear_400.png │ │ └── logo_clear_600.png │ └── DataShark │ │ ├── DataShark.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcuserdata │ │ │ ├── gokulswamy.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── kiddyboots216.xcuserdatad │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── WorkspaceSettings.xcsettings │ │ ├── DataShark │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── logo_1024.png │ │ │ │ ├── logo_120-1.png │ │ │ │ ├── logo_120.png │ │ │ │ ├── logo_180.png │ │ │ │ ├── logo_40.png │ │ │ │ ├── logo_58.png │ │ │ │ ├── logo_60.png │ │ │ │ ├── logo_80.png │ │ │ │ └── logo_87.png │ │ │ ├── Contents.json │ │ │ ├── DSBlue.colorset │ │ │ │ └── Contents.json │ │ │ ├── DSGray.colorset │ │ │ │ └── Contents.json │ │ │ ├── DSTeal.colorset │ │ │ │ └── Contents.json │ │ │ ├── Fitbit.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── download-1.png │ │ │ │ └── download.png │ │ │ ├── Logo.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── logo_clear_200.png │ │ │ │ ├── logo_clear_400.png │ │ │ │ └── logo_clear_600.png │ │ │ ├── Lyft.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── image-1.png │ │ │ │ └── image.png │ │ │ ├── SharkFin.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── shark_fin.png │ │ │ ├── Uber.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── uber-1.jpg │ │ │ │ └── uber.jpg │ │ │ └── Unknown.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── Unknown-1.jpg │ │ │ │ └── Unknown.jpg │ │ ├── AuthViewController.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── DataShark.entitlements │ │ ├── Datashark.xcdatamodeld │ │ │ ├── .xccurrentversion │ │ │ └── Datashark.xcdatamodel │ │ │ │ └── contents │ │ ├── Info.plist │ │ ├── LoginViewController.swift │ │ ├── MainViewController.swift │ │ ├── RoundCorners.swift │ │ ├── SearchViewController.swift │ │ └── ServiceViewController.swift │ │ ├── Datashark.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ └── gokulswamy.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ ├── gokulswamy.xcuserdatad │ │ │ └── xcschemes │ │ │ │ └── xcschememanagement.plist │ │ │ └── kiddyboots216.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── DataShark.xcscheme │ │ │ └── xcschememanagement.plist │ │ ├── DatasharkTests │ │ ├── DatasharkTests.swift │ │ └── Info.plist │ │ ├── DatasharkUITests │ │ ├── DatasharkUITests.swift │ │ └── Info.plist │ │ ├── Nunito │ │ ├── Nunito-Black.ttf │ │ ├── Nunito-BlackItalic.ttf │ │ ├── Nunito-Bold.ttf │ │ ├── Nunito-BoldItalic.ttf │ │ ├── Nunito-ExtraBold.ttf │ │ ├── Nunito-ExtraBoldItalic.ttf │ │ ├── Nunito-ExtraLight.ttf │ │ ├── Nunito-ExtraLightItalic.ttf │ │ ├── Nunito-Italic.ttf │ │ ├── Nunito-Light.ttf │ │ ├── Nunito-LightItalic.ttf │ │ ├── Nunito-Regular.ttf │ │ ├── Nunito-SemiBold.ttf │ │ └── Nunito-SemiBoldItalic.ttf │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Pods │ │ ├── Charts │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── Source │ │ │ │ └── Charts │ │ │ │ ├── Animation │ │ │ │ ├── Animator.swift │ │ │ │ └── ChartAnimationEasing.swift │ │ │ │ ├── Charts │ │ │ │ ├── BarChartView.swift │ │ │ │ ├── BarLineChartViewBase.swift │ │ │ │ ├── BubbleChartView.swift │ │ │ │ ├── CandleStickChartView.swift │ │ │ │ ├── ChartViewBase.swift │ │ │ │ ├── CombinedChartView.swift │ │ │ │ ├── HorizontalBarChartView.swift │ │ │ │ ├── LineChartView.swift │ │ │ │ ├── PieChartView.swift │ │ │ │ ├── PieRadarChartViewBase.swift │ │ │ │ ├── RadarChartView.swift │ │ │ │ └── ScatterChartView.swift │ │ │ │ ├── Components │ │ │ │ ├── AxisBase.swift │ │ │ │ ├── ChartLimitLine.swift │ │ │ │ ├── ComponentBase.swift │ │ │ │ ├── Description.swift │ │ │ │ ├── IMarker.swift │ │ │ │ ├── Legend.swift │ │ │ │ ├── LegendEntry.swift │ │ │ │ ├── MarkerImage.swift │ │ │ │ ├── MarkerView.swift │ │ │ │ ├── XAxis.swift │ │ │ │ └── YAxis.swift │ │ │ │ ├── Data │ │ │ │ ├── Implementations │ │ │ │ │ ├── ChartBaseDataSet.swift │ │ │ │ │ └── Standard │ │ │ │ │ │ ├── BarChartData.swift │ │ │ │ │ │ ├── BarChartDataEntry.swift │ │ │ │ │ │ ├── BarChartDataSet.swift │ │ │ │ │ │ ├── BarLineScatterCandleBubbleChartData.swift │ │ │ │ │ │ ├── BarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ │ │ ├── BubbleChartData.swift │ │ │ │ │ │ ├── BubbleChartDataEntry.swift │ │ │ │ │ │ ├── BubbleChartDataSet.swift │ │ │ │ │ │ ├── CandleChartData.swift │ │ │ │ │ │ ├── CandleChartDataEntry.swift │ │ │ │ │ │ ├── CandleChartDataSet.swift │ │ │ │ │ │ ├── ChartData.swift │ │ │ │ │ │ ├── ChartDataEntry.swift │ │ │ │ │ │ ├── ChartDataEntryBase.swift │ │ │ │ │ │ ├── ChartDataSet.swift │ │ │ │ │ │ ├── CombinedChartData.swift │ │ │ │ │ │ ├── LineChartData.swift │ │ │ │ │ │ ├── LineChartDataSet.swift │ │ │ │ │ │ ├── LineRadarChartDataSet.swift │ │ │ │ │ │ ├── LineScatterCandleRadarChartDataSet.swift │ │ │ │ │ │ ├── PieChartData.swift │ │ │ │ │ │ ├── PieChartDataEntry.swift │ │ │ │ │ │ ├── PieChartDataSet.swift │ │ │ │ │ │ ├── RadarChartData.swift │ │ │ │ │ │ ├── RadarChartDataEntry.swift │ │ │ │ │ │ ├── RadarChartDataSet.swift │ │ │ │ │ │ ├── ScatterChartData.swift │ │ │ │ │ │ └── ScatterChartDataSet.swift │ │ │ │ └── Interfaces │ │ │ │ │ ├── IBarChartDataSet.swift │ │ │ │ │ ├── IBarLineScatterCandleBubbleChartDataSet.swift │ │ │ │ │ ├── IBubbleChartDataSet.swift │ │ │ │ │ ├── ICandleChartDataSet.swift │ │ │ │ │ ├── IChartDataSet.swift │ │ │ │ │ ├── ILineChartDataSet.swift │ │ │ │ │ ├── ILineRadarChartDataSet.swift │ │ │ │ │ ├── ILineScatterCandleRadarChartDataSet.swift │ │ │ │ │ ├── IPieChartDataSet.swift │ │ │ │ │ ├── IRadarChartDataSet.swift │ │ │ │ │ └── IScatterChartDataSet.swift │ │ │ │ ├── Filters │ │ │ │ └── DataApproximator.swift │ │ │ │ ├── Formatters │ │ │ │ ├── DefaultAxisValueFormatter.swift │ │ │ │ ├── DefaultFillFormatter.swift │ │ │ │ ├── DefaultValueFormatter.swift │ │ │ │ ├── IAxisValueFormatter.swift │ │ │ │ ├── IFillFormatter.swift │ │ │ │ ├── IValueFormatter.swift │ │ │ │ └── IndexAxisValueFormatter.swift │ │ │ │ ├── Highlight │ │ │ │ ├── BarHighlighter.swift │ │ │ │ ├── ChartHighlighter.swift │ │ │ │ ├── CombinedHighlighter.swift │ │ │ │ ├── Highlight.swift │ │ │ │ ├── HorizontalBarHighlighter.swift │ │ │ │ ├── IHighlighter.swift │ │ │ │ ├── PieHighlighter.swift │ │ │ │ ├── PieRadarHighlighter.swift │ │ │ │ ├── RadarHighlighter.swift │ │ │ │ └── Range.swift │ │ │ │ ├── Interfaces │ │ │ │ ├── BarChartDataProvider.swift │ │ │ │ ├── BarLineScatterCandleBubbleChartDataProvider.swift │ │ │ │ ├── BubbleChartDataProvider.swift │ │ │ │ ├── CandleChartDataProvider.swift │ │ │ │ ├── ChartDataProvider.swift │ │ │ │ ├── CombinedChartDataProvider.swift │ │ │ │ ├── LineChartDataProvider.swift │ │ │ │ └── ScatterChartDataProvider.swift │ │ │ │ ├── Jobs │ │ │ │ ├── AnimatedMoveViewJob.swift │ │ │ │ ├── AnimatedViewPortJob.swift │ │ │ │ ├── AnimatedZoomViewJob.swift │ │ │ │ ├── MoveViewJob.swift │ │ │ │ ├── ViewPortJob.swift │ │ │ │ └── ZoomViewJob.swift │ │ │ │ ├── Renderers │ │ │ │ ├── AxisRendererBase.swift │ │ │ │ ├── BarChartRenderer.swift │ │ │ │ ├── BarLineScatterCandleBubbleRenderer.swift │ │ │ │ ├── BubbleChartRenderer.swift │ │ │ │ ├── CandleStickChartRenderer.swift │ │ │ │ ├── ChartDataRendererBase.swift │ │ │ │ ├── CombinedChartRenderer.swift │ │ │ │ ├── HorizontalBarChartRenderer.swift │ │ │ │ ├── LegendRenderer.swift │ │ │ │ ├── LineChartRenderer.swift │ │ │ │ ├── LineRadarRenderer.swift │ │ │ │ ├── LineScatterCandleRadarRenderer.swift │ │ │ │ ├── PieChartRenderer.swift │ │ │ │ ├── RadarChartRenderer.swift │ │ │ │ ├── Renderer.swift │ │ │ │ ├── Scatter │ │ │ │ │ ├── ChevronDownShapeRenderer.swift │ │ │ │ │ ├── ChevronUpShapeRenderer.swift │ │ │ │ │ ├── CircleShapeRenderer.swift │ │ │ │ │ ├── CrossShapeRenderer.swift │ │ │ │ │ ├── IShapeRenderer.swift │ │ │ │ │ ├── SquareShapeRenderer.swift │ │ │ │ │ ├── TriangleShapeRenderer.swift │ │ │ │ │ └── XShapeRenderer.swift │ │ │ │ ├── ScatterChartRenderer.swift │ │ │ │ ├── XAxisRenderer.swift │ │ │ │ ├── XAxisRendererHorizontalBarChart.swift │ │ │ │ ├── XAxisRendererRadarChart.swift │ │ │ │ ├── YAxisRenderer.swift │ │ │ │ ├── YAxisRendererHorizontalBarChart.swift │ │ │ │ └── YAxisRendererRadarChart.swift │ │ │ │ └── Utils │ │ │ │ ├── ChartColorTemplates.swift │ │ │ │ ├── ChartUtils.swift │ │ │ │ ├── Fill.swift │ │ │ │ ├── Platform.swift │ │ │ │ ├── Transformer.swift │ │ │ │ ├── TransformerHorizontalBarChart.swift │ │ │ │ └── ViewPortHandler.swift │ │ ├── Locksmith │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── Source │ │ │ │ ├── Dictionary_Initializers.swift │ │ │ │ ├── Locksmith.h │ │ │ │ ├── Locksmith.swift │ │ │ │ ├── LocksmithAccessibleOption.swift │ │ │ │ ├── LocksmithError.swift │ │ │ │ ├── LocksmithInternetAuthenticationType.swift │ │ │ │ ├── LocksmithInternetProtocol.swift │ │ │ │ └── LocksmithSecurityClass.swift │ │ ├── Manifest.lock │ │ ├── OAuthSwift │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── Sources │ │ │ │ ├── Collection+OAuthSwift.swift │ │ │ │ ├── Data+OAuthSwift.swift │ │ │ │ ├── Dictionary+OAuthSwift.swift │ │ │ │ ├── HMAC.swift │ │ │ │ ├── Int+OAuthSwift.swift │ │ │ │ ├── NSError+OAuthSwift.swift │ │ │ │ ├── NotificationCenter+OAuthSwift.swift │ │ │ │ ├── OAuth1Swift.swift │ │ │ │ ├── OAuth2Swift.swift │ │ │ │ ├── OAuthSwift.swift │ │ │ │ ├── OAuthSwiftClient.swift │ │ │ │ ├── OAuthSwiftCredential.swift │ │ │ │ ├── OAuthSwiftError.swift │ │ │ │ ├── OAuthSwiftHTTPRequest.swift │ │ │ │ ├── OAuthSwiftMultipartData.swift │ │ │ │ ├── OAuthSwiftResponse.swift │ │ │ │ ├── OAuthSwiftURLHandlerType.swift │ │ │ │ ├── OAuthWebViewController.swift │ │ │ │ ├── Objc.swift │ │ │ │ ├── SHA1.swift │ │ │ │ ├── String+OAuthSwift.swift │ │ │ │ ├── UIApplication+OAuthSwift.swift │ │ │ │ ├── URL+OAuthSwift.swift │ │ │ │ └── Utils.swift │ │ ├── Pods.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── xcuserdata │ │ │ │ ├── gokulswamy.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ │ ├── Charts.xcscheme │ │ │ │ │ ├── Locksmith.xcscheme │ │ │ │ │ ├── OAuthSwift.xcscheme │ │ │ │ │ ├── Pods-DataShark.xcscheme │ │ │ │ │ ├── Pods-DataSharkTests.xcscheme │ │ │ │ │ ├── Pods-DataSharkUITests.xcscheme │ │ │ │ │ └── xcschememanagement.plist │ │ │ │ └── kiddyboots216.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── Charts.xcscheme │ │ │ │ ├── Locksmith.xcscheme │ │ │ │ ├── OAuthSwift.xcscheme │ │ │ │ ├── Pods-DataShark.xcscheme │ │ │ │ ├── Pods-DataSharkTests.xcscheme │ │ │ │ ├── Pods-DataSharkUITests.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ └── Target Support Files │ │ │ ├── Charts │ │ │ ├── Charts-dummy.m │ │ │ ├── Charts-prefix.pch │ │ │ ├── Charts-umbrella.h │ │ │ ├── Charts.modulemap │ │ │ ├── Charts.xcconfig │ │ │ └── Info.plist │ │ │ ├── Locksmith │ │ │ ├── Info.plist │ │ │ ├── Locksmith-dummy.m │ │ │ ├── Locksmith-prefix.pch │ │ │ ├── Locksmith-umbrella.h │ │ │ ├── Locksmith.modulemap │ │ │ └── Locksmith.xcconfig │ │ │ ├── OAuthSwift │ │ │ ├── Info.plist │ │ │ ├── OAuthSwift-dummy.m │ │ │ ├── OAuthSwift-prefix.pch │ │ │ ├── OAuthSwift-umbrella.h │ │ │ ├── OAuthSwift.modulemap │ │ │ └── OAuthSwift.xcconfig │ │ │ ├── Pods-DataShark │ │ │ ├── Info.plist │ │ │ ├── Pods-DataShark-acknowledgements.markdown │ │ │ ├── Pods-DataShark-acknowledgements.plist │ │ │ ├── Pods-DataShark-dummy.m │ │ │ ├── Pods-DataShark-frameworks.sh │ │ │ ├── Pods-DataShark-resources.sh │ │ │ ├── Pods-DataShark-umbrella.h │ │ │ ├── Pods-DataShark.debug.xcconfig │ │ │ ├── Pods-DataShark.modulemap │ │ │ └── Pods-DataShark.release.xcconfig │ │ │ ├── Pods-DataSharkTests │ │ │ ├── Info.plist │ │ │ ├── Pods-DataSharkTests-acknowledgements.markdown │ │ │ ├── Pods-DataSharkTests-acknowledgements.plist │ │ │ ├── Pods-DataSharkTests-dummy.m │ │ │ ├── Pods-DataSharkTests-frameworks.sh │ │ │ ├── Pods-DataSharkTests-resources.sh │ │ │ ├── Pods-DataSharkTests-umbrella.h │ │ │ ├── Pods-DataSharkTests.debug.xcconfig │ │ │ ├── Pods-DataSharkTests.modulemap │ │ │ └── Pods-DataSharkTests.release.xcconfig │ │ │ └── Pods-DataSharkUITests │ │ │ ├── Info.plist │ │ │ ├── Pods-DataSharkUITests-acknowledgements.markdown │ │ │ ├── Pods-DataSharkUITests-acknowledgements.plist │ │ │ ├── Pods-DataSharkUITests-dummy.m │ │ │ ├── Pods-DataSharkUITests-frameworks.sh │ │ │ ├── Pods-DataSharkUITests-resources.sh │ │ │ ├── Pods-DataSharkUITests-umbrella.h │ │ │ ├── Pods-DataSharkUITests.debug.xcconfig │ │ │ ├── Pods-DataSharkUITests.modulemap │ │ │ └── Pods-DataSharkUITests.release.xcconfig │ │ └── package-lock.json ├── network │ ├── .vscode │ │ └── settings.json │ ├── LICENSE │ ├── README.md │ ├── client.py │ ├── color_utils.py │ ├── color_utils.pyc │ ├── io_utils.py │ └── server.py └── web │ ├── .ebextensions │ ├── datashark7.config │ └── packages.config │ ├── .gitignore │ ├── LICENSE.txt │ ├── OAuth │ ├── .cache-AshwineePanda │ ├── .gitignore │ ├── .spotify.py.swp │ ├── server.py │ ├── spotify.py │ ├── twitter.py │ ├── youtube.py │ ├── youtube1.py │ ├── youtube_client_secret.json │ └── youtube_client_secret_1.json │ ├── README.txt │ ├── eb │ └── .gitignore │ ├── requirements.txt │ ├── static │ ├── css │ │ ├── images │ │ │ ├── arrow.svg │ │ │ ├── ie │ │ │ │ └── banner-overlay.png │ │ │ └── overlay.png │ │ └── main.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── images │ │ ├── banner.jpg │ │ ├── pic01.jpg │ │ ├── pic02.jpg │ │ ├── pic03.jpg │ │ ├── pic04.jpg │ │ ├── pic05.jpg │ │ ├── pic06.jpg │ │ ├── pic07.jpg │ │ └── pic08.jpg │ └── styles │ │ ├── js │ │ ├── ie │ │ │ ├── PIE.htc │ │ │ ├── html5shiv.js │ │ │ └── respond.min.js │ │ ├── jquery.dropotron.min.js │ │ ├── jquery.min.js │ │ ├── jquery.scrollex.min.js │ │ ├── jquery.scrolly.min.js │ │ ├── main.js │ │ ├── skel.min.js │ │ └── util.js │ │ └── sass │ │ ├── ie8.scss │ │ ├── ie9.scss │ │ ├── libs │ │ ├── _functions.scss │ │ ├── _mixins.scss │ │ ├── _skel.scss │ │ └── _vars.scss │ │ └── main.scss │ └── templates │ ├── assets │ ├── css │ │ ├── font-awesome.min.css │ │ ├── ie8.css │ │ ├── ie9.css │ │ └── images │ │ │ ├── arrow.svg │ │ │ ├── ie │ │ │ └── banner-overlay.png │ │ │ └── overlay.png │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── js │ │ ├── ie │ │ │ ├── PIE.htc │ │ │ ├── html5shiv.js │ │ │ └── respond.min.js │ │ ├── jquery.dropotron.min.js │ │ ├── jquery.min.js │ │ ├── jquery.scrollex.min.js │ │ ├── jquery.scrolly.min.js │ │ ├── main.js │ │ ├── skel.min.js │ │ └── util.js │ └── sass │ │ ├── ie8.scss │ │ ├── ie9.scss │ │ ├── libs │ │ ├── _functions.scss │ │ ├── _mixins.scss │ │ ├── _skel.scss │ │ └── _vars.scss │ │ └── main.scss │ ├── elements.html │ ├── images │ ├── banner.jpg │ ├── pic01.jpg │ ├── pic02.jpg │ ├── pic03.jpg │ ├── pic04.jpg │ ├── pic05.jpg │ ├── pic06.jpg │ ├── pic07.jpg │ └── pic08.jpg │ ├── index.html │ ├── left-sidebar.html │ ├── no-sidebar.html │ ├── right-sidebar.html │ └── static │ └── assets │ ├── css │ ├── font-awesome.min.css │ ├── ie8.css │ ├── ie9.css │ └── images │ │ ├── arrow.svg │ │ ├── ie │ │ └── banner-overlay.png │ │ └── overlay.png │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── js │ ├── ie │ │ ├── PIE.htc │ │ ├── html5shiv.js │ │ └── respond.min.js │ ├── jquery.dropotron.min.js │ ├── jquery.min.js │ ├── jquery.scrollex.min.js │ ├── jquery.scrolly.min.js │ ├── main.js │ ├── skel.min.js │ └── util.js │ └── sass │ ├── ie8.scss │ ├── ie9.scss │ ├── libs │ ├── _functions.scss │ ├── _mixins.scss │ ├── _skel.scss │ └── _vars.scss │ └── main.scss └── frontend ├── .ebextensions ├── datashark7.config └── packages.config ├── .elasticbeanstalk └── config.yml ├── .gitignore ├── LICENSE.txt ├── README.txt ├── adapterFitbit.py ├── adapterLyft.py ├── adapterSpotify.py ├── adapterTwitter.py ├── adapterUber.py ├── adapters.py ├── application.py ├── application.pyc ├── dbscript.py ├── eb └── .gitignore ├── genesis.json ├── get-pip.py ├── geth ├── LOCK ├── chaindata │ ├── 000002.ldb │ ├── 000003.log │ ├── CURRENT │ ├── LOCK │ ├── LOG │ └── MANIFEST-000004 ├── lightchaindata │ ├── 000001.log │ ├── CURRENT │ ├── LOCK │ ├── LOG │ └── MANIFEST-000000 ├── nodekey ├── nodes │ ├── 000001.log │ ├── CURRENT │ ├── LOCK │ ├── LOG │ └── MANIFEST-000000 └── transactions.rlp ├── main.py ├── oauth.py ├── oauth.pyc ├── oauthSpotify.py ├── oauthTwitter.py ├── oauthfitbit.py ├── oauthfitbit.pyc ├── oauthlyft.py ├── oauthuber.py ├── package-lock.json ├── package.json ├── requirements.txt ├── smt.json ├── static ├── css │ ├── homepage.css │ ├── images │ │ ├── arrow.svg │ │ ├── ie │ │ │ └── banner-overlay.png │ │ └── overlay.png │ ├── main.css │ └── other.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── images │ ├── amazon.png │ ├── apple.png │ ├── banner.jpg │ ├── cart.png │ ├── facebook.png │ ├── fitbit.png │ ├── fitbit2.png │ ├── image.png │ ├── instagram.jpeg │ ├── instagram.png │ ├── linkedin.png │ ├── locations.png │ ├── lyft.png │ ├── map.png │ ├── pic01.jpg │ ├── pic02.jpg │ ├── pic03.jpg │ ├── pic04.jpg │ ├── pic05.jpg │ ├── pic06.jpg │ ├── pic07.jpg │ ├── pic08.jpg │ ├── pinterest.gif │ ├── reddit.png │ ├── shark.png │ ├── snap.svg │ ├── snapchat.png │ ├── spotify.png │ ├── twitter.png │ ├── uber.png │ ├── venmo.png │ ├── waves.png │ ├── whatsapp.png │ ├── yelp.png │ └── youtube.png ├── jsx │ └── filtering.jsx └── styles │ ├── js │ ├── ie │ │ ├── PIE.htc │ │ ├── html5shiv.js │ │ └── respond.min.js │ ├── jquery.dropotron.min.js │ ├── jquery.min.js │ ├── jquery.scrollex.min.js │ ├── jquery.scrolly.min.js │ ├── main.js │ ├── skel.min.js │ └── util.js │ └── sass │ ├── ie8.scss │ ├── ie9.scss │ ├── libs │ ├── _functions.scss │ ├── _mixins.scss │ ├── _skel.scss │ └── _vars.scss │ └── main.scss ├── templates ├── App.css ├── App.js ├── App.test.js ├── account.html ├── buyapi.html ├── checkout.html ├── elements.html ├── homepage.html ├── index-copy.html ├── index.css ├── index.html ├── index.js ├── index2.css ├── index2.html ├── index2.js ├── index2.jsx ├── index3.css ├── index5.html ├── left-sidebar-copy.html ├── left-sidebar.html ├── logo.svg ├── no-sidebar.html ├── payment.html ├── right-sidebar.html └── sellapi.html ├── test.py ├── uber.csv └── uberConfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | __pycache__ 11 | node_modules/ 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DataAgora 2 | [DataAgora](https://dataagora.com) is the first smart data exchange. 3 | 4 | [Access the Trello board.](https://trello.com/b/i2caE37x/dataagora-engineering) 5 | 6 | - **iOS**: Existing iOS app. Needs to be tested with server adapter functionality. 7 | 8 | 9 | - **web**: V1 of web frontend. 10 | 11 | 12 | - **web2**: V2 of website. 13 | 14 | 15 | - **beta-enterprise**: react front-end for users to buy data. 16 | - Deployed to https://buy.dataagora.com. 17 | 18 | 19 | - **auth-enterprise**: authentication service for enterprise users. 20 | - Deployed to https://eauth.dataagora.com. 21 | 22 | 23 | - **auth-user**: authentication service for normal users. Deployed to https://auth.dataagora.com. 24 | 25 | 26 | - **blockchain**: general folder for all blockchain-related code. 27 | 28 | 29 | - **data-quality**: V1 of data-quality validation/scoring. 30 | 31 | 32 | - **fraud**: V0 of data-quality validation/scoring. 33 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/db-migrate.config: -------------------------------------------------------------------------------- 1 | container_commands: 2 | 01_collectstatic: 3 | command: 'python manage.py collectstatic --settings=core.settings --noinput' 4 | 01_migrate: 5 | command: 'python manage.py makemigrations' 6 | leader_only: true 7 | 02_migrate: 8 | command: 'python manage.py migrate auth --noinput' 9 | leader_only: true 10 | 03_migrate: 11 | command: 'python manage.py makemigrations --empty users' 12 | leader_only: true 13 | 04_migrate: 14 | command: 'python manage.py makemigrations users' 15 | leader_only: true 16 | 05_migrate: 17 | command: 'python manage.py migrate --fake' 18 | leader_only: true 19 | 06_migrate: 20 | command: 'python manage.py migrate users --noinput' 21 | leader_only: true 22 | 07_migrate: 23 | command: 'python manage.py migrate --noinput' 24 | leader_only: true 25 | 01_create_superuser: 26 | command: "python manage.py create_superuser" 27 | leader_only: true 28 | option_settings: 29 | aws:elasticbeanstalk:application:environment: 30 | DJANGO_SETTINGS_MODULE: core.settings 31 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/django.config: -------------------------------------------------------------------------------- 1 | option_settings: 2 | aws:elasticbeanstalk:container:python: 3 | WSGIPath: core/wsgi.py 4 | "aws:elasticbeanstalk:container:python:staticfiles": 5 | "/static/": "static/" 6 | 7 | container_commands: 8 | 01_wsgipass: 9 | command: 'echo "WSGIPassAuthorization On" >> ../wsgi.conf' 10 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/environment.config: -------------------------------------------------------------------------------- 1 | option_settings: 2 | 3 | - option_name: SUPER_USER_NAME 4 | value: sharkroot 5 | - option_name: SUPER_USER_PASSWORD 6 | value: sharkroot 7 | - option_name: SUPER_USER_EMAIL 8 | value: georgymarrero@berkeley.edu 9 | 10 | - option_name: RDS_HOSTNAME 11 | value: authdb.cwnzqu4zi2kl.us-west-1.rds.amazonaws.com 12 | - option_name: RDS_DB_NAME 13 | value: authdb 14 | - option_name: RDS_USERNAME 15 | value: sharkroot 16 | - option_name: RDS_PASSWORD 17 | value: IAmSharkRoot 18 | - option_name: RDS_PORT 19 | value: 5432 20 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/loadbalancer.config: -------------------------------------------------------------------------------- 1 | option_settings: 2 | aws:elb:listener:443: 3 | ListenerProtocol: HTTPS 4 | SSLCertificateId: arn:aws:acm:us-west-1:880058582700:certificate/5dafd5c9-3c1c-4455-b414-0f1d7a938f3c 5 | InstancePort: 80 6 | InstanceProtocol: HTTP 7 | aws:elb:listener:80: 8 | ListenerEnabled: false 9 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/packages.config: -------------------------------------------------------------------------------- 1 | packages: 2 | yum: 3 | git: [] 4 | postgresql93-devel: [] 5 | libjpeg-turbo-devel: [] 6 | -------------------------------------------------------------------------------- /auth-user/.ebextensions/rds.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/auth-user/.ebextensions/rds.config -------------------------------------------------------------------------------- /auth-user/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Elastic Beanstalk Files 3 | .elasticbeanstalk/* 4 | !.elasticbeanstalk/*.cfg.yml 5 | !.elasticbeanstalk/*.global.yml 6 | -------------------------------------------------------------------------------- /auth-user/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/auth-user/core/__init__.py -------------------------------------------------------------------------------- /auth-user/core/urls.py: -------------------------------------------------------------------------------- 1 | from django.urls import path 2 | from django.conf.urls import include, url 3 | from django.contrib import admin 4 | from django.views.generic import TemplateView, RedirectView 5 | 6 | from rest_framework.routers import DefaultRouter 7 | from rest_framework_swagger.views import get_swagger_view 8 | from rest_framework.documentation import include_docs_urls 9 | from rest_framework_jwt.views import obtain_jwt_token, refresh_jwt_token, verify_jwt_token 10 | 11 | from users.views import FacebookLogin 12 | 13 | urlpatterns = [ 14 | url(r'^docs/', include_docs_urls(title='User Auth API', description='RESTful API for Authentication.')), 15 | path('secret_admin_/', admin.site.urls), 16 | 17 | # User Authentication 18 | url(r'^auth/', include('rest_auth.urls')), 19 | url(r'^auth/facebook/$', FacebookLogin.as_view(), name='fb_login'), 20 | url(r'^auth/token/obtain', obtain_jwt_token), 21 | url(r'^auth/token/refresh', refresh_jwt_token), 22 | url(r'^auth/token/verify', verify_jwt_token), 23 | 24 | # Enable normal registration for now. 25 | url(r'^auth/registration/', include('rest_auth.registration.urls')), 26 | ] 27 | -------------------------------------------------------------------------------- /auth-user/core/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for demo project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings") 12 | 13 | from django.core.wsgi import get_wsgi_application 14 | application = get_wsgi_application() 15 | -------------------------------------------------------------------------------- /auth-user/custom/disable.py: -------------------------------------------------------------------------------- 1 | # # Not using this at the moment, but it was hard to find. 2 | # # Source: https://dammit.nl/20141111-disabling-csrf-checking-in-django-rest-framework-to-enable-replay.html 3 | # 4 | # class DisableCSRF(object): 5 | # def process_request(self, request): 6 | # setattr(request, '_dont_enforce_csrf_checks', True) 7 | -------------------------------------------------------------------------------- /auth-user/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings") 7 | 8 | from django.core.management import execute_from_command_line 9 | 10 | execute_from_command_line(sys.argv) 11 | -------------------------------------------------------------------------------- /auth-user/requirements.pip: -------------------------------------------------------------------------------- 1 | django>=1.9.0 2 | django-rest-auth==0.9.2 3 | djangorestframework>=3.7.0 4 | django-allauth==0.35.0 5 | django-cors-headers==2.2.0 6 | six==1.9.0 7 | django-rest-swagger==2.0.7 8 | psycopg2==2.7.3.2 9 | coreapi==2.3.3 10 | coreapi-cli==1.0.6 11 | djangorestframework-jwt==1.11.0 12 | -------------------------------------------------------------------------------- /auth-user/requirements.txt: -------------------------------------------------------------------------------- 1 | certifi==2017.11.5 2 | chardet==3.0.4 3 | click==6.7 4 | coreapi==2.3.3 5 | coreapi-cli==1.0.6 6 | coreschema==0.0.4 7 | defusedxml==0.5.0 8 | Django==2.0 9 | django-allauth==0.35.0 10 | django-rest-auth==0.9.2 11 | django-rest-swagger==2.0.7 12 | djangorestframework==3.7.7 13 | django-cors-headers==2.2.0 14 | djangorestframework-jwt==1.11.0 15 | idna==2.6 16 | itypes==1.1.0 17 | Jinja2==2.10 18 | Markdown==2.6.10 19 | MarkupSafe==1.0 20 | oauthlib==2.0.6 21 | openapi-codec==1.3.2 22 | psycopg2==2.7.3.2 23 | Pygments==2.2.0 24 | python3-openid==3.1.0 25 | pytz==2017.3 26 | requests==2.18.4 27 | requests-oauthlib==0.8.0 28 | simplejson==3.13.2 29 | six==1.9.0 30 | uritemplate==3.0.0 31 | urllib3==1.22 32 | -------------------------------------------------------------------------------- /auth-user/users/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/auth-user/users/__init__.py -------------------------------------------------------------------------------- /auth-user/users/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from django.contrib.auth.models import User 3 | 4 | from users.models import UserProfile 5 | 6 | admin.site.register(UserProfile) 7 | -------------------------------------------------------------------------------- /auth-user/users/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | class UsersConfig(AppConfig): 4 | name = 'users' 5 | -------------------------------------------------------------------------------- /auth-user/users/forms.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.models import User 2 | from django.contrib.auth.forms import UserCreationForm 3 | from django.contrib.auth.admin import UserAdmin 4 | from django.contrib.auth import forms 5 | 6 | class MyUserCreationForm(UserCreationForm): 7 | def clean_username(self): 8 | # Since User.username is unique, this check is redundant, 9 | # but it sets a nicer error message than the ORM. See #13147. 10 | username = self.cleaned_data["username"] 11 | try: 12 | User._default_manager.get(username=username) 13 | except User.DoesNotExist: 14 | return username 15 | raise forms.ValidationError(self.error_messages['duplicate_username']) 16 | 17 | class Meta(UserCreationForm.Meta): 18 | model = User 19 | 20 | class MyUserAdmin(UserAdmin): 21 | add_form = MyUserCreationForm 22 | 23 | admin.site.register(User,MyUserAdmin) 24 | -------------------------------------------------------------------------------- /auth-user/users/management/commands/create_superuser.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from django.core.management.base import BaseCommand 4 | 5 | from django.contrib.auth.models import User 6 | #from users.models import UserProfile 7 | 8 | class Command(BaseCommand): 9 | 10 | def handle(self, *args, **options): 11 | username = os.environ['SUPER_USER_NAME'] 12 | if not User.objects.filter(username=username).exists(): 13 | User.objects.create_superuser(username, 14 | os.environ['SUPER_USER_EMAIL'], 15 | os.environ['SUPER_USER_PASSWORD']) 16 | -------------------------------------------------------------------------------- /auth-user/users/migrations/0002_profile.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0 on 2017-12-29 00:45 2 | 3 | from django.conf import settings 4 | from django.db import migrations, models 5 | import django.db.models.deletion 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('users', '0001_initial'), 12 | ] 13 | 14 | operations = [ 15 | migrations.CreateModel( 16 | name='Profile', 17 | fields=[ 18 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 19 | ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), 20 | ], 21 | ), 22 | ] 23 | -------------------------------------------------------------------------------- /auth-user/users/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/auth-user/users/migrations/__init__.py -------------------------------------------------------------------------------- /auth-user/users/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from django.db.models.signals import post_save 3 | from django.dispatch import receiver 4 | from django.contrib.auth.models import User 5 | 6 | class UserProfile(models.Model): 7 | user = models.OneToOneField(User, on_delete=models.CASCADE) 8 | # balance = models.CharField(default={}, blank=True, null=True, max_length=10000) 9 | datasets = models.CharField(default={}, blank=True, null=True, max_length=10000) 10 | 11 | @receiver(post_save, sender=User) 12 | def create_user_profile(sender, instance, created, **kwargs): 13 | if created: 14 | UserProfile.objects.create(user=instance) 15 | 16 | @receiver(post_save, sender=User) 17 | def save_user_profile(sender, instance, **kwargs): 18 | instance.userprofile.save() 19 | -------------------------------------------------------------------------------- /auth-user/users/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /auth-user/users/views.py: -------------------------------------------------------------------------------- 1 | from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter 2 | from rest_auth.registration.views import SocialLoginView 3 | 4 | class FacebookLogin(SocialLoginView): 5 | adapter_class = FacebookOAuth2Adapter 6 | -------------------------------------------------------------------------------- /deprecated/blockchain/UserDataHandler.py: -------------------------------------------------------------------------------- 1 | from web3 import Web3, HTTPProvider 2 | 3 | class ContractHandler: 4 | def __init__(self): 5 | self.web3 = Web3(HTTPProvider(host='localhost', port='8545')) 6 | with open(str(path.join(dir_path, 7 | 'UserDataInterface.json')), 8 | 'r') as abi: 9 | self.abi = json.load(abi) 10 | self.contract_address = '0x8283e96f9eec01c301d3308e470ef2e43d858e24' 11 | self.contract = self.web3.eth.contract(self.abi, self.contract_address) 12 | # self.web3.personal.unlockAccount( 13 | # '8b7343647f237415bcf0d3f06ea82e028fe043a2', 14 | # ethaccountpassword) 15 | transaction = {'from': self.web3.eth.accounts[0], 'gas': 410000} 16 | self.hash = self.contract.deploy(transaction) 17 | self.receipt = self.web3.eth.getTransactionReceipt(self.hash) 18 | self.contract_address = self.receipt['contractAddress'] -------------------------------------------------------------------------------- /deprecated/blockchain/contracts/Migrations.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.15; 2 | 3 | contract Migrations { 4 | address public owner; 5 | uint public last_completed_migration; 6 | 7 | modifier restricted() { 8 | if (msg.sender == owner) _; 9 | } 10 | 11 | function Migrations() { 12 | owner = msg.sender; 13 | } 14 | 15 | function setCompleted(uint completed) restricted { 16 | last_completed_migration = completed; 17 | } 18 | 19 | function upgrade(address new_address) restricted { 20 | Migrations upgraded = Migrations(new_address); 21 | upgraded.setCompleted(last_completed_migration); 22 | } 23 | } -------------------------------------------------------------------------------- /deprecated/blockchain/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- 1 | var Migrations = artifacts.require('./Migrations.sol') 2 | 3 | module.exports = function (deployer) { 4 | deployer.deploy(Migrations, { gas: 300000 }) 5 | } -------------------------------------------------------------------------------- /deprecated/blockchain/migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- 1 | var UserData = artifacts.require('./UserData.sol') 2 | 3 | module.exports = function (deployer) { 4 | deployer.deploy(UserData,{ gas: 3000000 }) 5 | } -------------------------------------------------------------------------------- /deprecated/blockchain/test.py: -------------------------------------------------------------------------------- 1 | # compile.py 2 | import sys 3 | import json 4 | 5 | class Chain: 6 | ... 7 | @classmethod 8 | def readCompiledFromJSON(cls, j): 9 | compiled = json.loads(j) 10 | 11 | contracts = list(compiled['contracts'].keys()) 12 | if (len(contracts) > 1): 13 | print("Warning: more than one contract at once supplied. Reading the first one.") 14 | 15 | contract_name = contracts[0] 16 | print("Reading contract: ", contract_name.split(":")[1]) 17 | 18 | compiled = compiled['contracts'][contract_name] 19 | compiled['abi'] = json.loads(compiled['abi']) # abi is stored as a separate json object 20 | 21 | return compiled 22 | ... 23 | 24 | if __name__ == "__main__": 25 | ... 26 | print(sys.argv) 27 | compiled = Chain.readCompiledFromJSON(sys.argv[1]) 28 | ... -------------------------------------------------------------------------------- /deprecated/blockchain/truffle.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | networks: { 3 | development: { 4 | host: "localhost", 5 | port: 8545, 6 | network_id: "*", // Match any netwo 7 | gas: 4600000 8 | } 9 | } 10 | }; -------------------------------------------------------------------------------- /deprecated/blockchain_new/contracts/Migrations.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.17; 2 | 3 | contract Migrations { 4 | address public owner; 5 | uint public last_completed_migration; 6 | 7 | modifier restricted() { 8 | if (msg.sender == owner) _; 9 | } 10 | 11 | function Migrations() public { 12 | owner = msg.sender; 13 | } 14 | 15 | function setCompleted(uint completed) public restricted { 16 | last_completed_migration = completed; 17 | } 18 | 19 | function upgrade(address new_address) public restricted { 20 | Migrations upgraded = Migrations(new_address); 21 | upgraded.setCompleted(last_completed_migration); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /deprecated/blockchain_new/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- 1 | var Migrations = artifacts.require("./Migrations.sol"); 2 | 3 | module.exports = function(deployer) { 4 | deployer.deploy(Migrations); 5 | }; 6 | -------------------------------------------------------------------------------- /deprecated/blockchain_new/notebook/Greeter.sol: -------------------------------------------------------------------------------- 1 | pragma solidity 0.4.20; 2 | 3 | contract Greeter { 4 | string private greeting; 5 | 6 | emit event Greeting(address person); 7 | 8 | function Greeter() public { 9 | Greeting(msg.sender); 10 | greeting = "hello, World!"; 11 | } 12 | 13 | function greet() public view returns(string) { 14 | return greeting; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /deprecated/blockchain_new/truffle-config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | // See 3 | // to customize your Truffle configuration! 4 | }; 5 | -------------------------------------------------------------------------------- /deprecated/blockchain_new/truffle.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | // See 3 | // to customize your Truffle configuration! 4 | }; 5 | -------------------------------------------------------------------------------- /deprecated/data-quality/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/data-quality/api/__init__.py -------------------------------------------------------------------------------- /deprecated/data-quality/api/fitbit.py: -------------------------------------------------------------------------------- 1 | import uuid 2 | 3 | from flask_injector import inject 4 | 5 | from services.dbinterfacer import DBInterfacer 6 | from validators.fitbit_validator import FitbitValidator 7 | 8 | from contracts.output import make_success_object, make_error_object 9 | 10 | class FitbitValidation(object): 11 | @staticmethod 12 | def post(DBInterfacer: DBInterfacer, data: dict): 13 | """ 14 | This function will validate the fitbit data and send it to 15 | the DB Interfacer to store it on the database. 16 | 17 | For now, it will do all the validation and then send the OK 18 | signal to the sender. In the future, it will kick off a thread 19 | and run the validation on the background and send the OK right 20 | away (an asynchronous model). 21 | """ 22 | # Validate data 23 | validator = FitbitValidator(data) 24 | validated_data = validator.validate() 25 | 26 | # Check if hard failure 27 | if validated_data == None: 28 | return make_error_object(100, "An error occurred.") 29 | 30 | # Send validated data to DB Interfacer 31 | DBInterfacer.send(validated_data) 32 | 33 | return make_success_object() 34 | 35 | class_instance = FitbitValidation() 36 | -------------------------------------------------------------------------------- /deprecated/data-quality/app.py: -------------------------------------------------------------------------------- 1 | import os 2 | import connexion 3 | 4 | from services.dbinterfacer import DBInterfacer 5 | 6 | from injector import Binder 7 | from flask_injector import FlaskInjector 8 | from connexion.resolver import RestyResolver 9 | 10 | 11 | def configure(binder: Binder): 12 | binder.bind(DBInterfacer, DBInterfacer('some_host', 'some_port')) 13 | return binder 14 | 15 | 16 | if __name__ == '__main__': 17 | app = connexion.App(__name__, specification_dir='swagger/') 18 | app.add_api('indexer.yaml', resolver=RestyResolver('api')) 19 | FlaskInjector(app=app.app, modules=[configure]) 20 | app.run(port=5000) 21 | -------------------------------------------------------------------------------- /deprecated/data-quality/conf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/data-quality/conf/__init__.py -------------------------------------------------------------------------------- /deprecated/data-quality/contracts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/data-quality/contracts/__init__.py -------------------------------------------------------------------------------- /deprecated/data-quality/contracts/output.py: -------------------------------------------------------------------------------- 1 | def make_success_object(): 2 | return {"Success": True}, 200 3 | 4 | def make_error_object(error_code, error_message): 5 | error_object = { 6 | "Success": False, 7 | "Error": { 8 | "Code": error_code, 9 | "Message": error_message 10 | } 11 | } 12 | return error_object, 400 13 | -------------------------------------------------------------------------------- /deprecated/data-quality/exploration/data/db.py: -------------------------------------------------------------------------------- 1 | from flask import Flask 2 | from flask_sqlalchemy import SQLAlchemy 3 | 4 | POSTGRES = { 5 | 'user': 'datashark', 6 | 'pw': 'datashark', 7 | 'db': 'datasharkdb', 8 | 'host': 'datasharkdatabase.cwnzqu4zi2kl.us-west-1.rds.amazonaws.com', 9 | 'port': '5432' 10 | } 11 | DBString = 'postgresql://%(user)s:\ 12 | %(pw)s@%(host)s:%(port)s/%(db)s' % POSTGRES 13 | 14 | # print(DBString) 15 | # 16 | # app = Flask(__name__) 17 | # app.config['SQLALCHEMY_DATABASE_URI'] = DBString 18 | # db = SQLAlchemy(app) 19 | # 20 | # print(db) 21 | 22 | 23 | from sqlalchemy import create_engine 24 | engine = create_engine(DBString) 25 | 26 | from sqlalchemy import inspect 27 | inspector = inspect(engine) 28 | 29 | for table_name in inspector.get_table_names(): 30 | print("Table: %s" % table_name) 31 | for column in inspector.get_columns(table_name): 32 | print("Column: %s" % column['name']) 33 | -------------------------------------------------------------------------------- /deprecated/data-quality/exploration/data/uber.csv: -------------------------------------------------------------------------------- 1 | id,display_name,distance,end_time,latitude,longitude,product_id,request_id,request_time,start_time,status 2 | 0,San Francisco,5.8520082451,1483127450,37.7749295,-122.4194155,1aafee90-9da2-40df-8be6-5b5382dae8df,430a5cd7-b3e1-4c47-a9d0-a83948e64fc0,1483124902,1483124921,completed 3 | 1,San Francisco,0.1825960661,1480742372,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,bf483ffb-f63e-441c-af5b-d170a5ac68dd,1480741540,1480741568,completed 4 | 2,San Francisco,1.2055598735,1480568195,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,3a04a291-e865-4a03-a572-fdba0f6b0709,1480565697,1480565757,completed 5 | 3,San Francisco,0.5760884023,1480557115,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,e941230d-5973-4cbb-af04-d5ecd85c35b5,1480556436,1480556458,completed 6 | 4,San Francisco,1.0608303467,1473912143,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,87fbffa7-5210-4525-ab3b-75b8323cdbf9,1473910158,1473910180,completed 7 | -------------------------------------------------------------------------------- /deprecated/data-quality/requirements.txt: -------------------------------------------------------------------------------- 1 | Flask 2 | connexion 3 | Flask-Injector 4 | fastavro 5 | -------------------------------------------------------------------------------- /deprecated/data-quality/services/dbinterfacer.py: -------------------------------------------------------------------------------- 1 | """This file will handle the requests to the Database Interfacer Service.""" 2 | """Needs to be implemented correctly -- using a mock for now.""" 3 | 4 | class DBInterfacer(object): 5 | def __init__(self, host, port): 6 | self.host = host 7 | self.port = port 8 | 9 | def send(self, data): 10 | print("Data was inserted to the database: {0}".format(data)) 11 | -------------------------------------------------------------------------------- /deprecated/data-quality/validators/base_validator.py: -------------------------------------------------------------------------------- 1 | class ValidatorBase: 2 | """ 3 | Validator Base Class 4 | 5 | Just the basic format of a data validator. 6 | 7 | """ 8 | 9 | def __init__(self, data): 10 | self.data = data 11 | 12 | def validate(self): 13 | return self.data 14 | -------------------------------------------------------------------------------- /deprecated/data-quality/validators/fitbit_validator.py: -------------------------------------------------------------------------------- 1 | from validators.base_validator import ValidatorBase 2 | 3 | class FitbitValidator(ValidatorBase): 4 | """ 5 | Fitbit Validator Class 6 | 7 | Need to implement. 8 | 9 | """ 10 | 11 | pass 12 | -------------------------------------------------------------------------------- /deprecated/fraud/fitbit_export__10.22.2011_09.20.2014.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/fraud/fitbit_export__10.22.2011_09.20.2014.xlsx -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-Black.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-BlackItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-Bold.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-BoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-ExtraBold.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-ExtraLight.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-ExtraLightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-ExtraLightItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-Italic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-Light.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-LightItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-Regular.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-SemiBold.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/Nunito/Nunito-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/Nunito/Nunito-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/Assets/account_icon_25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/account_icon_25.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/account_icon_50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/account_icon_50.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/account_icon_75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/account_icon_75.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/datashark.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/datashark.sketch -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | Page 1 3 | Created using Figma 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_1024.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_120.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_180.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_40.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_58.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_60.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_80.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_87.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_clear_200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_clear_200.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_clear_400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_clear_400.png -------------------------------------------------------------------------------- /deprecated/ios/Assets/logo_clear_600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/Assets/logo_clear_600.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark.xcworkspace/xcuserdata/gokulswamy.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark.xcworkspace/xcuserdata/gokulswamy.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark.xcworkspace/xcuserdata/kiddyboots216.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark.xcworkspace/xcuserdata/kiddyboots216.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark.xcworkspace/xcuserdata/kiddyboots216.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseAppPreferences 7 | CustomBuildLocationType 8 | RelativeToDerivedData 9 | DerivedDataLocationStyle 10 | Default 11 | EnabledFullIndexStoreVisibility 12 | 13 | IssueFilterStyle 14 | ShowActiveSchemeOnly 15 | LiveSourceIssuesEnabled 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_1024.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_120-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_120-1.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_120.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_180.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_40.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_58.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_60.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_80.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/AppIcon.appiconset/logo_87.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/DSBlue.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.184", 13 | "alpha" : "1.000", 14 | "blue" : "0.322", 15 | "green" : "0.220" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/DSGray.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.769", 13 | "alpha" : "1.000", 14 | "blue" : "0.769", 15 | "green" : "0.769" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/DSTeal.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.110", 13 | "alpha" : "1.000", 14 | "blue" : "0.757", 15 | "green" : "0.757" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Fitbit.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "download.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "download-1.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Fitbit.imageset/download-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Fitbit.imageset/download-1.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Fitbit.imageset/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Fitbit.imageset/download.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "logo_clear_200.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "logo_clear_400.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "logo_clear_600.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_200.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_400.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Logo.imageset/logo_clear_600.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Lyft.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "image.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "image-1.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Lyft.imageset/image-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Lyft.imageset/image-1.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Lyft.imageset/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Lyft.imageset/image.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/SharkFin.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "shark_fin.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/SharkFin.imageset/shark_fin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/SharkFin.imageset/shark_fin.png -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Uber.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "uber.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "uber-1.jpg", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Uber.imageset/uber-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Uber.imageset/uber-1.jpg -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Uber.imageset/uber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Uber.imageset/uber.jpg -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Unknown.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Unknown.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "Unknown-1.jpg", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Unknown.imageset/Unknown-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Unknown.imageset/Unknown-1.jpg -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Assets.xcassets/Unknown.imageset/Unknown.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/DataShark/Assets.xcassets/Unknown.imageset/Unknown.jpg -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/DataShark.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | keychain-access-groups 6 | 7 | $(AppIdentifierPrefix)me.gokulswamy.DataShark 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Datashark.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | DataShark.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/Datashark.xcdatamodeld/Datashark.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DataShark/RoundCorners.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RoundCorners.swift 3 | // DataShark 4 | // 5 | // Created by Gokul Swamy on 12/24/17. 6 | // Copyright © 2017 Gokul Swamy. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | extension UIView { 12 | func roundedCorners(top: Bool){ 13 | let corners:UIRectCorner = (top ? [.topLeft , .topRight] : [.bottomRight , .bottomLeft]) 14 | let maskPAth1 = UIBezierPath(roundedRect: self.bounds, 15 | byRoundingCorners: corners, 16 | cornerRadii:CGSize(width:40.0, height:40.0)) 17 | let maskLayer1 = CAShapeLayer() 18 | maskLayer1.frame = self.bounds 19 | maskLayer1.path = maskPAth1.cgPath 20 | self.layer.mask = maskLayer1 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Datashark.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Datashark.xcodeproj/project.xcworkspace/xcuserdata/gokulswamy.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Datashark.xcodeproj/project.xcworkspace/xcuserdata/gokulswamy.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Datashark.xcodeproj/xcuserdata/gokulswamy.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DataShark.xcscheme 8 | 9 | orderHint 10 | 6 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Datashark.xcodeproj/xcuserdata/kiddyboots216.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DataShark.xcscheme 8 | 9 | orderHint 10 | 6 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | FB84B0781FEEFE7A0092131E 16 | 17 | primary 18 | 19 | 20 | FB84B08F1FEEFE7A0092131E 21 | 22 | primary 23 | 24 | 25 | FB84B09A1FEEFE7A0092131E 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DatasharkTests/DatasharkTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DataSharkTests.swift 3 | // DataSharkTests 4 | // 5 | // Created by Gokul Swamy on 12/23/17. 6 | // Copyright © 2017 Gokul Swamy. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import DataShark 11 | 12 | class DataSharkTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DatasharkTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DatasharkUITests/DatasharkUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DataSharkUITests.swift 3 | // DataSharkUITests 4 | // 5 | // Created by Gokul Swamy on 12/23/17. 6 | // Copyright © 2017 Gokul Swamy. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class DataSharkUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/DatasharkUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-Black.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-BlackItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-Bold.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-BoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-ExtraBold.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-ExtraLight.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-ExtraLightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-ExtraLightItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-Italic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-Light.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-LightItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-Regular.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-SemiBold.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Nunito/Nunito-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/ios/DataShark/Nunito/Nunito-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'DataShark' do 5 | use_frameworks! 6 | pod 'Charts' 7 | pod 'Locksmith' 8 | pod 'OAuthSwift' 9 | 10 | # Pods for DataShark 11 | 12 | target 'DataSharkTests' do 13 | inherit! :search_paths 14 | # Pods for testing 15 | end 16 | 17 | target 'DataSharkUITests' do 18 | inherit! :search_paths 19 | # Pods for testing 20 | end 21 | 22 | end 23 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.4): 3 | - Charts/Core (= 3.0.4) 4 | - Charts/Core (3.0.4) 5 | - Locksmith (4.0.0) 6 | - OAuthSwift (1.2.0) 7 | 8 | DEPENDENCIES: 9 | - Charts 10 | - Locksmith 11 | - OAuthSwift 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 0705898046257443f0afbbc3179f4b67507b6e48 15 | Locksmith: e9bebbaaa4cee3c511bc358a44f843c3fe00e21f 16 | OAuthSwift: 7fd6855b8e4d58eb5a30d156ea9bed7a8aecd1ca 17 | 18 | PODFILE CHECKSUM: be055abee6b4659ce350d852e928477dd318acb8 19 | 20 | COCOAPODS: 1.4.0 21 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartView.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartView: BarLineChartViewBase, BubbleChartDataProvider 16 | { 17 | open override func initialize() 18 | { 19 | super.initialize() 20 | 21 | renderer = BubbleChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 22 | } 23 | 24 | // MARK: - BubbleChartDataProvider 25 | 26 | open var bubbleData: BubbleChartData? { return _data as? BubbleChartData } 27 | } 28 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleStickChartView.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Financial chart type that draws candle-sticks. 16 | open class CandleStickChartView: BarLineChartViewBase, CandleChartDataProvider 17 | { 18 | internal override func initialize() 19 | { 20 | super.initialize() 21 | 22 | renderer = CandleStickChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 23 | 24 | self.xAxis.spaceMin = 0.5 25 | self.xAxis.spaceMax = 0.5 26 | } 27 | 28 | // MARK: - CandleChartDataProvider 29 | 30 | open var candleData: CandleChartData? 31 | { 32 | return _data as? CandleChartData 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Charts/LineChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartView.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Chart that draws lines, surfaces, circles, ... 16 | open class LineChartView: BarLineChartViewBase, LineChartDataProvider 17 | { 18 | internal override func initialize() 19 | { 20 | super.initialize() 21 | 22 | renderer = LineChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 23 | } 24 | 25 | // MARK: - LineChartDataProvider 26 | 27 | open var lineData: LineChartData? { return _data as? LineChartData } 28 | } 29 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartView.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// The ScatterChart. Draws dots, triangles, squares and custom shapes into the chartview. 16 | open class ScatterChartView: BarLineChartViewBase, ScatterChartDataProvider 17 | { 18 | open override func initialize() 19 | { 20 | super.initialize() 21 | 22 | renderer = ScatterChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler) 23 | 24 | xAxis.spaceMin = 0.5 25 | xAxis.spaceMax = 0.5 26 | } 27 | 28 | // MARK: - ScatterChartDataProvider 29 | 30 | open var scatterData: ScatterChartData? { return _data as? ScatterChartData } 31 | } 32 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Components/ComponentBase.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ComponentBase.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | 16 | /// This class encapsulates everything both Axis, Legend and LimitLines have in common 17 | @objc(ChartComponentBase) 18 | open class ComponentBase: NSObject 19 | { 20 | /// flag that indicates if this component is enabled or not 21 | @objc open var enabled = true 22 | 23 | /// The offset this component has on the x-axis 24 | /// **default**: 5.0 25 | @objc open var xOffset = CGFloat(5.0) 26 | 27 | /// The offset this component has on the x-axis 28 | /// **default**: 5.0 (or 0.0 on ChartYAxis) 29 | @objc open var yOffset = CGFloat(5.0) 30 | 31 | public override init() 32 | { 33 | super.init() 34 | } 35 | 36 | @objc open var isEnabled: Bool { return enabled } 37 | } 38 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartData.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | open class BarLineScatterCandleBubbleChartData: ChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartData.swift 3 | // Charts 4 | // 5 | // Bubble chart implementation: 6 | // Copyright 2015 Pierre-Marc Airoldi 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | open class BubbleChartData: BarLineScatterCandleBubbleChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | 27 | /// Sets the width of the circle that surrounds the bubble when highlighted for all DataSet objects this data object contains 28 | @objc open func setHighlightCircleWidth(_ width: CGFloat) 29 | { 30 | for set in (_dataSets as? [IBubbleChartDataSet])! 31 | { 32 | set.highlightCircleWidth = width 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartData.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | open class CandleChartData: BarLineScatterCandleBubbleChartData 15 | { 16 | public override init() 17 | { 18 | super.init() 19 | } 20 | 21 | public override init(dataSets: [IChartDataSet]?) 22 | { 23 | super.init(dataSets: dataSets) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartData.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | /// Data object that encapsulates all data associated with a LineChart. 15 | open class LineChartData: ChartData 16 | { 17 | public override init() 18 | { 19 | super.init() 20 | } 21 | 22 | public override init(dataSets: [IChartDataSet]?) 23 | { 24 | super.init(dataSets: dataSets) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBarLineScatterCandleBubbleChartDataSet.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBarLineScatterCandleBubbleChartDataSet: IChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | var highlightColor: NSUIColor { get set } 23 | var highlightLineWidth: CGFloat { get set } 24 | var highlightLineDashPhase: CGFloat { get set } 25 | var highlightLineDashLengths: [CGFloat]? { get set } 26 | } 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IBubbleChartDataSet.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IBubbleChartDataSet: IBarLineScatterCandleBubbleChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | var maxSize: CGFloat { get } 21 | var isNormalizeSizeEnabled: Bool { get } 22 | 23 | // MARK: - Styling functions and accessors 24 | 25 | /// Sets/gets the width of the circle that surrounds the bubble when highlighted 26 | var highlightCircleWidth: CGFloat { get set } 27 | } 28 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IRadarChartDataSet.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IRadarChartDataSet: ILineRadarChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | /// flag indicating whether highlight circle should be drawn or not 23 | var drawHighlightCircleEnabled: Bool { get set } 24 | 25 | var isDrawHighlightCircleEnabled: Bool { get } 26 | 27 | var highlightCircleFillColor: NSUIColor? { get set } 28 | 29 | /// The stroke color for highlight circle. 30 | /// If `nil`, the color of the dataset is taken. 31 | var highlightCircleStrokeColor: NSUIColor? { get set } 32 | 33 | var highlightCircleStrokeAlpha: CGFloat { get set } 34 | 35 | var highlightCircleInnerRadius: CGFloat { get set } 36 | 37 | var highlightCircleOuterRadius: CGFloat { get set } 38 | 39 | var highlightCircleStrokeWidth: CGFloat { get set } 40 | } 41 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IScatterChartDataSet.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol IScatterChartDataSet: ILineScatterCandleRadarChartDataSet 17 | { 18 | // MARK: - Data functions and accessors 19 | 20 | // MARK: - Styling functions and accessors 21 | 22 | /// - returns: The size the scatter shape will have 23 | var scatterShapeSize: CGFloat { get } 24 | 25 | /// - returns: The radius of the hole in the shape (applies to Square, Circle and Triangle) 26 | /// Set this to <= 0 to remove holes. 27 | /// **default**: 0.0 28 | var scatterShapeHoleRadius: CGFloat { get } 29 | 30 | /// - returns: Color for the hole in the shape. Setting to `nil` will behave as transparent. 31 | /// **default**: nil 32 | var scatterShapeHoleColor: NSUIColor? { get } 33 | 34 | /// - returns: The IShapeRenderer responsible for rendering this DataSet. 35 | var shapeRenderer: IShapeRenderer? { get } 36 | } 37 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IAxisValueFormatter.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | /// An interface for providing custom axis Strings. 15 | @objc(IChartAxisValueFormatter) 16 | public protocol IAxisValueFormatter : NSObjectProtocol 17 | { 18 | 19 | /// Called when a value from an axis is formatted before being drawn. 20 | /// 21 | /// For performance reasons, avoid excessive calculations and memory allocations inside this method. 22 | /// 23 | /// - returns: The customized label that is drawn on the x-axis. 24 | /// - parameter value: the value that is currently being drawn 25 | /// - parameter axis: the axis that the value belongs to 26 | /// 27 | func stringForValue(_ value: Double, 28 | axis: AxisBase?) -> String 29 | 30 | } 31 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IFillFormatter.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | /// Protocol for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true. 16 | @objc(IChartFillFormatter) 17 | public protocol IFillFormatter 18 | { 19 | /// - returns: The vertical (y-axis) position where the filled-line of the LineDataSet should end. 20 | func getFillLinePosition(dataSet: ILineChartDataSet, dataProvider: LineChartDataProvider) -> CGFloat 21 | } 22 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IHighlighter.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(IChartHighlighter) 16 | public protocol IHighlighter : NSObjectProtocol 17 | { 18 | /// - returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. 19 | /// - parameter x: 20 | /// - parameter y: 21 | /// - returns: 22 | func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? 23 | } 24 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PieHighlighter.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(PieChartHighlighter) 16 | open class PieHighlighter: PieRadarHighlighter 17 | { 18 | open override func closestHighlight(index: Int, x: CGFloat, y: CGFloat) -> Highlight? 19 | { 20 | guard let set = chart?.data?.dataSets[0] 21 | else { return nil } 22 | 23 | guard let entry = set.entryForIndex(index) 24 | else { return nil } 25 | 26 | return Highlight(x: Double(index), y: entry.y, xPx: x, yPx: y, dataSetIndex: 0, axis: set.axisDependency) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Highlight/Range.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Range.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | @objc(ChartRange) 15 | open class Range: NSObject 16 | { 17 | @objc open var from: Double 18 | @objc open var to: Double 19 | 20 | @objc public init(from: Double, to: Double) 21 | { 22 | self.from = from 23 | self.to = to 24 | 25 | super.init() 26 | } 27 | 28 | /// - returns: `true` if this range contains (if the value is in between) the given value, `false` ifnot. 29 | /// - parameter value: 30 | @objc open func contains(_ value: Double) -> Bool 31 | { 32 | if value > from && value <= to 33 | { 34 | return true 35 | } 36 | else 37 | { 38 | return false 39 | } 40 | } 41 | 42 | @objc open func isLarger(_ value: Double) -> Bool 43 | { 44 | return value > to 45 | } 46 | 47 | @objc open func isSmaller(_ value: Double) -> Bool 48 | { 49 | return value < from 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var barData: BarChartData? { get } 19 | 20 | var isDrawBarShadowEnabled: Bool { get } 21 | var isDrawValueAboveBarEnabled: Bool { get } 22 | var isHighlightFullBarEnabled: Bool { get } 23 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BarLineScatterCandleBubbleChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BarLineScatterCandleBubbleChartDataProvider: ChartDataProvider 17 | { 18 | func getTransformer(forAxis: YAxis.AxisDependency) -> Transformer 19 | func isInverted(axis: YAxis.AxisDependency) -> Bool 20 | 21 | var lowestVisibleX: Double { get } 22 | var highestVisibleX: Double { get } 23 | } 24 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BubbleChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol BubbleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var bubbleData: BubbleChartData? { get } 19 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CandleChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CandleChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var candleData: CandleChartData? { get } 19 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ChartDataProvider 17 | { 18 | /// - returns: The minimum x-value of the chart, regardless of zoom or translation. 19 | var chartXMin: Double { get } 20 | 21 | /// - returns: The maximum x-value of the chart, regardless of zoom or translation. 22 | var chartXMax: Double { get } 23 | 24 | /// - returns: The minimum y-value of the chart, regardless of zoom or translation. 25 | var chartYMin: Double { get } 26 | 27 | /// - returns: The maximum y-value of the chart, regardless of zoom or translation. 28 | var chartYMax: Double { get } 29 | 30 | var maxHighlightDistance: CGFloat { get } 31 | 32 | var xRange: Double { get } 33 | 34 | var centerOffsets: CGPoint { get } 35 | 36 | var data: ChartData? { get } 37 | 38 | var maxVisibleCount: Int { get } 39 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CombinedChartDataProvider.swoft 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol CombinedChartDataProvider: LineChartDataProvider, BarChartDataProvider, BubbleChartDataProvider, CandleChartDataProvider, ScatterChartDataProvider 17 | { 18 | var combinedData: CombinedChartData? { get } 19 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol LineChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var lineData: LineChartData? { get } 19 | 20 | func getAxis(_ axis: YAxis.AxisDependency) -> YAxis 21 | } 22 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScatterChartDataProvider.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc 16 | public protocol ScatterChartDataProvider: BarLineScatterCandleBubbleChartDataProvider 17 | { 18 | var scatterData: ScatterChartData? { get } 19 | } -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewPortJob.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | // This defines a viewport modification job, used for delaying or animating viewport changes 16 | @objc(ChartViewPortJob) 17 | open class ViewPortJob: NSObject 18 | { 19 | @objc internal var point: CGPoint = CGPoint() 20 | @objc internal weak var viewPortHandler: ViewPortHandler? 21 | @objc internal var xValue: Double = 0.0 22 | @objc internal var yValue: Double = 0.0 23 | @objc internal weak var transformer: Transformer? 24 | @objc internal weak var view: ChartViewBase? 25 | 26 | @objc public init( 27 | viewPortHandler: ViewPortHandler, 28 | xValue: Double, 29 | yValue: Double, 30 | transformer: Transformer, 31 | view: ChartViewBase) 32 | { 33 | super.init() 34 | 35 | self.viewPortHandler = viewPortHandler 36 | self.xValue = xValue 37 | self.yValue = yValue 38 | self.transformer = transformer 39 | self.view = view 40 | } 41 | 42 | @objc open func doJob() 43 | { 44 | // Override this 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Renderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Renderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartRenderer) 16 | open class Renderer: NSObject 17 | { 18 | /// the component that handles the drawing area of the chart and it's offsets 19 | @objc open var viewPortHandler: ViewPortHandler? 20 | 21 | public override init() 22 | { 23 | super.init() 24 | } 25 | 26 | @objc public init(viewPortHandler: ViewPortHandler?) 27 | { 28 | super.init() 29 | self.viewPortHandler = viewPortHandler 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ChevronDownShapeRenderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | import Foundation 12 | 13 | open class ChevronDownShapeRenderer : NSObject, IShapeRenderer 14 | { 15 | open func renderShape( 16 | context: CGContext, 17 | dataSet: IScatterChartDataSet, 18 | viewPortHandler: ViewPortHandler, 19 | point: CGPoint, 20 | color: NSUIColor) 21 | { 22 | let shapeSize = dataSet.scatterShapeSize 23 | let shapeHalf = shapeSize / 2.0 24 | 25 | context.setLineWidth(1.0) 26 | context.setStrokeColor(color.cgColor) 27 | 28 | context.beginPath() 29 | context.move(to: CGPoint(x: point.x, y: point.y + 2 * shapeHalf)) 30 | context.addLine(to: CGPoint(x: point.x + 2 * shapeHalf, y: point.y)) 31 | context.move(to: CGPoint(x: point.x, y: point.y + 2 * shapeHalf)) 32 | context.addLine(to: CGPoint(x: point.x - 2 * shapeHalf, y: point.y)) 33 | context.strokePath() 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ChevronUpShapeRenderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | import Foundation 12 | 13 | open class ChevronUpShapeRenderer : NSObject, IShapeRenderer 14 | { 15 | open func renderShape( 16 | context: CGContext, 17 | dataSet: IScatterChartDataSet, 18 | viewPortHandler: ViewPortHandler, 19 | point: CGPoint, 20 | color: NSUIColor) 21 | { 22 | let shapeSize = dataSet.scatterShapeSize 23 | let shapeHalf = shapeSize / 2.0 24 | 25 | context.setLineWidth(1.0) 26 | context.setStrokeColor(color.cgColor) 27 | 28 | context.beginPath() 29 | context.move(to: CGPoint(x: point.x, y: point.y - 2 * shapeHalf)) 30 | context.addLine(to: CGPoint(x: point.x + 2 * shapeHalf, y: point.y)) 31 | context.move(to: CGPoint(x: point.x, y: point.y - 2 * shapeHalf)) 32 | context.addLine(to: CGPoint(x: point.x - 2 * shapeHalf, y: point.y)) 33 | context.strokePath() 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CrossShapeRenderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | import Foundation 12 | 13 | open class CrossShapeRenderer : NSObject, IShapeRenderer 14 | { 15 | open func renderShape( 16 | context: CGContext, 17 | dataSet: IScatterChartDataSet, 18 | viewPortHandler: ViewPortHandler, 19 | point: CGPoint, 20 | color: NSUIColor) 21 | { 22 | let shapeSize = dataSet.scatterShapeSize 23 | let shapeHalf = shapeSize / 2.0 24 | 25 | context.setLineWidth(1.0) 26 | context.setStrokeColor(color.cgColor) 27 | 28 | context.beginPath() 29 | context.move(to: CGPoint(x: point.x - shapeHalf, y: point.y)) 30 | context.addLine(to: CGPoint(x: point.x + shapeHalf, y: point.y)) 31 | context.move(to: CGPoint(x: point.x, y: point.y - shapeHalf)) 32 | context.addLine(to: CGPoint(x: point.x, y: point.y + shapeHalf)) 33 | context.strokePath() 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IShapeRenderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | 14 | @objc 15 | public protocol IShapeRenderer : NSObjectProtocol 16 | { 17 | /// Renders the provided ScatterDataSet with a shape. 18 | /// 19 | /// - parameter context: CGContext for drawing on 20 | /// - parameter dataSet: The DataSet to be drawn 21 | /// - parameter viewPortHandler: Contains information about the current state of the view 22 | /// - parameter point: Position to draw the shape at 23 | /// - parameter color: Color to draw the shape 24 | func renderShape( 25 | context: CGContext, 26 | dataSet: IScatterChartDataSet, 27 | viewPortHandler: ViewPortHandler, 28 | point: CGPoint, 29 | color: NSUIColor) 30 | } 31 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // XShapeRenderer.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | import Foundation 12 | 13 | open class XShapeRenderer : NSObject, IShapeRenderer 14 | { 15 | open func renderShape( 16 | context: CGContext, 17 | dataSet: IScatterChartDataSet, 18 | viewPortHandler: ViewPortHandler, 19 | point: CGPoint, 20 | color: NSUIColor) 21 | { 22 | let shapeSize = dataSet.scatterShapeSize 23 | let shapeHalf = shapeSize / 2.0 24 | 25 | context.setLineWidth(1.0) 26 | context.setStrokeColor(color.cgColor) 27 | 28 | context.beginPath() 29 | context.move(to: CGPoint(x: point.x - shapeHalf, y: point.y - shapeHalf)) 30 | context.addLine(to: CGPoint(x: point.x + shapeHalf, y: point.y + shapeHalf)) 31 | context.move(to: CGPoint(x: point.x + shapeHalf, y: point.y - shapeHalf)) 32 | context.addLine(to: CGPoint(x: point.x - shapeHalf, y: point.y + shapeHalf)) 33 | context.strokePath() 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TransformerHorizontalBarChart.swift 3 | // Charts 4 | // 5 | // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda 6 | // A port of MPAndroidChart for iOS 7 | // Licensed under Apache License 2.0 8 | // 9 | // https://github.com/danielgindi/Charts 10 | // 11 | 12 | import Foundation 13 | import CoreGraphics 14 | 15 | @objc(ChartTransformerHorizontalBarChart) 16 | open class TransformerHorizontalBarChart: Transformer 17 | { 18 | /// Prepares the matrix that contains all offsets. 19 | open override func prepareMatrixOffset(inverted: Bool) 20 | { 21 | if !inverted 22 | { 23 | _matrixOffset = CGAffineTransform(translationX: _viewPortHandler.offsetLeft, y: _viewPortHandler.chartHeight - _viewPortHandler.offsetBottom) 24 | } 25 | else 26 | { 27 | _matrixOffset = CGAffineTransform(scaleX: -1.0, y: 1.0) 28 | _matrixOffset = _matrixOffset.translatedBy(x: -(_viewPortHandler.chartWidth - _viewPortHandler.offsetRight), 29 | y: _viewPortHandler.chartHeight - _viewPortHandler.offsetBottom) 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Locksmith/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 matthewpalmer 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Locksmith/Source/Dictionary_Initializers.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | public extension Dictionary { 4 | init(withoutOptionalValues initial: Dictionary) { 5 | self = [Key: Value]() 6 | for pair in initial { 7 | if pair.1 != nil { 8 | self[pair.0] = pair.1! 9 | } 10 | } 11 | } 12 | 13 | init(pairs: [(Key, Value)]) { 14 | self = [Key: Value]() 15 | pairs.forEach { (k, v) -> () in 16 | self[k] = v 17 | } 18 | } 19 | 20 | init(initial: Dictionary, toMerge: Dictionary) { 21 | self = Dictionary() 22 | 23 | for pair in initial { 24 | self[pair.0] = pair.1 25 | } 26 | 27 | for pair in toMerge { 28 | self[pair.0] = pair.1 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Locksmith/Source/Locksmith.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | FOUNDATION_EXPORT double LocksmithVersionNumber; 4 | FOUNDATION_EXPORT const unsigned char LocksmithVersionString[]; -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Charts (3.0.4): 3 | - Charts/Core (= 3.0.4) 4 | - Charts/Core (3.0.4) 5 | - Locksmith (4.0.0) 6 | - OAuthSwift (1.2.0) 7 | 8 | DEPENDENCIES: 9 | - Charts 10 | - Locksmith 11 | - OAuthSwift 12 | 13 | SPEC CHECKSUMS: 14 | Charts: 0705898046257443f0afbbc3179f4b67507b6e48 15 | Locksmith: e9bebbaaa4cee3c511bc358a44f843c3fe00e21f 16 | OAuthSwift: 7fd6855b8e4d58eb5a30d156ea9bed7a8aecd1ca 17 | 18 | PODFILE CHECKSUM: be055abee6b4659ce350d852e928477dd318acb8 19 | 20 | COCOAPODS: 1.4.0 21 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Dongri Jin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/Collection+OAuthSwift.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Collection+OAuthSwift.swift 3 | // OAuthSwift 4 | // 5 | // Created by phimage on 02/10/16. 6 | // Copyright © 2016 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | extension Collection where Self.Iterator.Element == UInt8, Self.Index == Int { 12 | 13 | var toUInt32: UInt32 { 14 | assert(self.count > 3) 15 | // XXX optimize do the job only for the first one... 16 | return toUInt32Array()[0] 17 | } 18 | 19 | func toUInt32Array() -> [UInt32] { 20 | var result = [UInt32]() 21 | result.reserveCapacity(16) 22 | for idx in stride(from: self.startIndex, to: self.endIndex, by: MemoryLayout.size) { 23 | var val: UInt32 = 0 24 | val |= self.count > 3 ? UInt32(self[idx.advanced(by: 3)]) << 24 : 0 25 | val |= self.count > 2 ? UInt32(self[idx.advanced(by: 2)]) << 16 : 0 26 | val |= self.count > 1 ? UInt32(self[idx.advanced(by: 1)]) << 8 : 0 27 | val |= self.count > 0 ? UInt32(self[idx]) : 0 28 | result.append(val) 29 | } 30 | 31 | return result 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/Data+OAuthSwift.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Data+OAuthSwift.swift 3 | // OAuthSwift 4 | // 5 | // Created by Dongri Jin on 1/28/15. 6 | // Copyright (c) 2015 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | extension Data { 12 | 13 | internal init(data: Data) { 14 | self.init() 15 | self.append(data) 16 | } 17 | 18 | internal mutating func append(_ bytes: [UInt8]) { 19 | self.append(bytes, count: bytes.count) 20 | } 21 | internal mutating func append(_ byte: UInt8) { 22 | append([byte]) 23 | } 24 | internal mutating func append(_ byte: UInt16) { 25 | append(UInt8(byte >> 0 & 0xFF)) 26 | append(UInt8(byte >> 8 & 0xFF)) 27 | } 28 | internal mutating func append(_ byte: UInt32) { 29 | append(UInt16(byte >> 0 & 0xFFFF)) 30 | append(UInt16(byte >> 16 & 0xFFFF)) 31 | } 32 | internal mutating func append(_ byte: UInt64) { 33 | append(UInt32(byte >> 0 & 0xFFFFFFFF)) 34 | append(UInt32(byte >> 32 & 0xFFFFFFFF)) 35 | } 36 | 37 | var bytes: [UInt8] { 38 | return Array(self) 39 | /* let count = self.count / MemoryLayout.size 40 | var bytesArray = [UInt8](repeating: 0, count: count) 41 | self.copyBytes(to:&bytesArray, count: count * MemoryLayout.size) 42 | return bytesArray*/ 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/HMAC.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HMAC.swift 3 | // OAuthSwift 4 | // 5 | // Created by Dongri Jin on 1/28/15. 6 | // Copyright (c) 2015 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | open class HMAC { 12 | 13 | let key: [UInt8] = [] 14 | 15 | class internal func sha1(key: Data, message: Data) -> Data? { 16 | let blockSize = 64 17 | var key = key.bytes 18 | let message = message.bytes 19 | 20 | if key.count > blockSize { 21 | key = SHA1(key).calculate() 22 | } else if key.count < blockSize { // padding 23 | key += [UInt8](repeating: 0, count: blockSize - key.count) 24 | } 25 | 26 | var ipad = [UInt8](repeating: 0x36, count: blockSize) 27 | for idx in key.indices { 28 | ipad[idx] = key[idx] ^ ipad[idx] 29 | } 30 | 31 | var opad = [UInt8](repeating: 0x5c, count: blockSize) 32 | for idx in key.indices { 33 | opad[idx] = key[idx] ^ opad[idx] 34 | } 35 | 36 | let ipadAndMessageHash = SHA1(ipad + message).calculate() 37 | let mac = SHA1(opad + ipadAndMessageHash).calculate() 38 | 39 | return Data(bytes: UnsafePointer(mac), count: mac.count) 40 | 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/Int+OAuthSwift.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Int+OAuthSwift.swift 3 | // OAuthSwift 4 | // 5 | // Created by Dongri Jin on 1/28/15. 6 | // Copyright (c) 2015 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | extension Int { 12 | public func bytes(_ totalBytes: Int = MemoryLayout.size) -> [UInt8] { 13 | return arrayOfBytes(self, length: totalBytes) 14 | } 15 | } 16 | 17 | private func arrayOfBytes(_ value: T, length: Int? = nil) -> [UInt8] { 18 | let totalBytes = length ?? MemoryLayout.size 19 | 20 | let valuePointer = UnsafeMutablePointer.allocate(capacity: 1) 21 | valuePointer.pointee = value 22 | 23 | let bytesPointer = UnsafeMutablePointer(OpaquePointer(valuePointer)) 24 | var bytes = [UInt8](repeating: 0, count: totalBytes) 25 | for j in 0...size, totalBytes) { 26 | bytes[totalBytes - 1 - j] = (bytesPointer + j).pointee 27 | } 28 | 29 | valuePointer.deinitialize() 30 | valuePointer.deallocate(capacity: 1) 31 | 32 | return bytes 33 | } 34 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/NotificationCenter+OAuthSwift.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NotificationCenter+OAuthSwift.swift 3 | // OAuthSwift 4 | // 5 | // Created by hiragram on 2017/04/04. 6 | // Copyright © 2017年 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | public extension Notification.Name { 12 | public static let OAuthSwiftHandleCallbackURL: Notification.Name = .init("OAuthSwiftCallbackNotificationName") 13 | } 14 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/URL+OAuthSwift.swift: -------------------------------------------------------------------------------- 1 | // 2 | // URL+OAuthSwift.swift 3 | // OAuthSwift 4 | // 5 | // Created by Dongri Jin on 6/21/14. 6 | // Copyright (c) 2014 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | extension URL { 12 | 13 | func urlByAppending(queryString: String) -> URL { 14 | if queryString.utf16.isEmpty { 15 | return self 16 | } 17 | 18 | var absoluteURLString = absoluteString 19 | 20 | if absoluteURLString.hasSuffix("?") { 21 | absoluteURLString.dropLast() 22 | } 23 | 24 | let string = absoluteURLString + (absoluteURLString.range(of: "?") != nil ? "&" : "?") + queryString 25 | 26 | return URL(string: string)! 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/OAuthSwift/Sources/Utils.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Utils.swift 3 | // OAuthSwift 4 | // 5 | // Created by Dongri Jin on 1/28/15. 6 | // Copyright (c) 2015 Dongri Jin. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | public func generateState(withLength len: Int) -> String { 12 | let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" 13 | let length = UInt32(letters.characters.count) 14 | 15 | var randomString = "" 16 | for _ in 0.. 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Charts.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Locksmith.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | OAuthSwift.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | Pods-DataShark.xcscheme 29 | 30 | isShown 31 | 32 | orderHint 33 | 3 34 | 35 | Pods-DataSharkTests.xcscheme 36 | 37 | isShown 38 | 39 | orderHint 40 | 4 41 | 42 | Pods-DataSharkUITests.xcscheme 43 | 44 | isShown 45 | 46 | orderHint 47 | 5 48 | 49 | 50 | SuppressBuildableAutocreation 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Charts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Charts : NSObject 3 | @end 4 | @implementation PodsDummy_Charts 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Charts-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Charts-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ChartsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ChartsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Charts.modulemap: -------------------------------------------------------------------------------- 1 | framework module Charts { 2 | umbrella header "Charts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Charts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Charts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Charts 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Charts/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 3.0.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 4.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Locksmith-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Locksmith : NSObject 3 | @end 4 | @implementation PodsDummy_Locksmith 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Locksmith-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Locksmith-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "Locksmith.h" 14 | 15 | FOUNDATION_EXPORT double LocksmithVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char LocksmithVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Locksmith.modulemap: -------------------------------------------------------------------------------- 1 | framework module Locksmith { 2 | umbrella header "Locksmith-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Locksmith/Locksmith.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Locksmith 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "Foundation" -framework "Security" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Locksmith 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/OAuthSwift-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OAuthSwift : NSObject 3 | @end 4 | @implementation PodsDummy_OAuthSwift 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/OAuthSwift-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/OAuthSwift-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double OAuthSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char OAuthSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/OAuthSwift.modulemap: -------------------------------------------------------------------------------- 1 | framework module OAuthSwift { 2 | umbrella header "OAuthSwift-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/OAuthSwift/OAuthSwift.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/OAuthSwift 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Pods-DataShark-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DataShark : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DataShark 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Pods-DataShark-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_DataSharkVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_DataSharkVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Pods-DataShark.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" -framework "Locksmith" -framework "OAuthSwift" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Pods-DataShark.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DataShark { 2 | umbrella header "Pods-DataShark-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataShark/Pods-DataShark.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Charts" -framework "Locksmith" -framework "OAuthSwift" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DataSharkTests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DataSharkTests 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_DataSharkTestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_DataSharkTestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DataSharkTests { 2 | umbrella header "Pods-DataSharkTests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkTests/Pods-DataSharkTests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DataSharkUITests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DataSharkUITests 5 | @end 6 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_DataSharkUITestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_DataSharkUITestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DataSharkUITests { 2 | umbrella header "Pods-DataSharkUITests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /deprecated/ios/DataShark/Pods/Target Support Files/Pods-DataSharkUITests/Pods-DataSharkUITests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Charts" "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith" "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Charts/Charts.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Locksmith/Locksmith.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/OAuthSwift/OAuthSwift.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /deprecated/network/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.linting.pylintEnabled": false, 3 | "python.linting.pep8Enabled": true, 4 | "python.linting.enabled": true 5 | } -------------------------------------------------------------------------------- /deprecated/network/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Nick Zoghb 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /deprecated/network/README.md: -------------------------------------------------------------------------------- 1 | # simple-networking -------------------------------------------------------------------------------- /deprecated/network/color_utils.py: -------------------------------------------------------------------------------- 1 | 2 | class Colors(object): 3 | HEADER = '\033[95m' 4 | OKBLUE = '\033[94m' 5 | OKGREEN = '\033[92m' 6 | WARNING = '\033[93m' 7 | FAIL = '\033[91m' 8 | ENDC = '\033[0m' 9 | BOLD = '\033[1m' 10 | UNDERLINE = '\033[4m' 11 | 12 | 13 | def bprint(s, m): 14 | _b = Colors() 15 | print(_b.BOLD + _b.OKBLUE + s + _b.ENDC, m) 16 | 17 | 18 | def gprint(s, m): 19 | _b = Colors() 20 | print(_b.BOLD + _b.OKGREEN + s + _b.ENDC, m) 21 | 22 | 23 | def rprint(s): 24 | _b = Colors() 25 | print(_b.BOLD + _b.FAIL + s + _b.ENDC) 26 | -------------------------------------------------------------------------------- /deprecated/network/color_utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/network/color_utils.pyc -------------------------------------------------------------------------------- /deprecated/network/io_utils.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Come back next week ;) 3 | ''' 4 | -------------------------------------------------------------------------------- /deprecated/web/.ebextensions/datashark7.config: -------------------------------------------------------------------------------- 1 | option_settings: 2 | "aws:elasticbeanstalk:application:environment": 3 | PYTHONPATH: "$PYTHONPATH" 4 | "aws:elasticbeanstalk:container:python": 5 | WSGIPath: main.py 6 | -------------------------------------------------------------------------------- /deprecated/web/.ebextensions/packages.config: -------------------------------------------------------------------------------- 1 | 2 | packages: 3 | yum: 4 | gcc-c++: [] 5 | python34-devel: [] 6 | postgresql94-devel: [] 7 | -------------------------------------------------------------------------------- /deprecated/web/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Elastic Beanstalk Files 3 | .elasticbeanstalk/* 4 | !.elasticbeanstalk/*.cfg.yml 5 | !.elasticbeanstalk/*.global.yml 6 | -------------------------------------------------------------------------------- /deprecated/web/OAuth/.cache-AshwineePanda: -------------------------------------------------------------------------------- 1 | {"access_token": "BQAWXD3zL5a0HwmBG5lIGClFz3qWgUrwsNcdDddl8Yu8JzEQE9Wig4M_aCwwzTFdMVdHVGJ7Cl3HOHwlONe7xixVUs4mqdgatD70cb-7Rtdjd9Pi3AfO7tiUeuI4TeSlf4kqv3leyMZIvtvqppoIvK1X1htQCK7IQ9aLn2ZwQfth6pNrn2Fw9Ze4Z8UQSw", "expires_in": 3600, "expires_at": 1510824814, "token_type": "Bearer", "scope": "playlist-read-collaborative playlist-read-private user-follow-read user-library-read user-read-birthdate user-read-email user-read-private user-read-recently-played user-top-read", "refresh_token": "AQAE-qrtR5ZriFlXYLKz8hW4aRgcILfk9voKcGNeZbgrJldMkM3XP7FJG87sgYG7scsG7sMU0a3jNKdpPZIiBtuKKpJ5i6kThGYiYlTNCyqhTKln26XyQouL-aGsbUeK0ls"} -------------------------------------------------------------------------------- /deprecated/web/OAuth/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Elastic Beanstalk Files 3 | .elasticbeanstalk/* 4 | !.elasticbeanstalk/*.cfg.yml 5 | !.elasticbeanstalk/*.global.yml 6 | -------------------------------------------------------------------------------- /deprecated/web/OAuth/.spotify.py.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/OAuth/.spotify.py.swp -------------------------------------------------------------------------------- /deprecated/web/OAuth/twitter.py: -------------------------------------------------------------------------------- 1 | import tweepy 2 | consumer_key="O8bYrgMxKG0A9SNdQP5JI1zQ6" 3 | consumer_secret="Td43C3kupvfOyGdsXDndmBrwE5Vq2sWKStwXjJpkvMhnnZZAOT" 4 | access_token="1014050132-W4WIcK3XauGD7xoUXbOPtYmB7FTq82rS93JpykA" 5 | access_token_secret="QOvgDAMwMYCKvfq8eCHLEAhLGepdP0fj4W9O5o0FZ4zOd" 6 | auth = tweepy.OAuthHandler(consumer_key, consumer_secret) 7 | auth.set_access_token(access_token, access_token_secret) 8 | 9 | api = tweepy.API(auth) 10 | 11 | public_tweets = api.home_timeline() 12 | for tweet in public_tweets: 13 | print(tweet.text) 14 | user = api.get_user('twitter') 15 | print(user.screen_name) 16 | print(user.followers_count) 17 | for friend in user.friends(): 18 | print(friend.screen_name) 19 | my_tweets = api.user_timeline() 20 | for tweet in my_tweets: 21 | print(tweet.text) 22 | my_retweets = api.retweets_of_me() 23 | for tweet in my_retweets: 24 | print(tweet.text) 25 | 26 | ###TLDR this API is super easy to use and ref documentation is great. 27 | -------------------------------------------------------------------------------- /deprecated/web/OAuth/youtube_client_secret.json: -------------------------------------------------------------------------------- 1 | {"web":{"client_id":"954274770179-8paik8l5svbrtaqdd3ahqo8fph9co9a1.apps.googleusercontent.com","project_id":"datashark-185303","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"XlSSUDz06QmkGBUhdxNkmORA","redirect_uris":["http://datashark7.jn6tkty4uh.us-west-1.elasticbeanstalk.com"],"javascript_origins":["http://datashark7.jn6tkty4uh.us-west-1.elasticbeanstalk.com"]}} -------------------------------------------------------------------------------- /deprecated/web/OAuth/youtube_client_secret_1.json: -------------------------------------------------------------------------------- 1 | {"installed":{"client_id":"954274770179-787v0uu589paond0fjuoa1cftqrlvula.apps.googleusercontent.com","project_id":"datashark-185303","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"rIrEVjWZqOlVUh-1H84Sbe_E","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}} -------------------------------------------------------------------------------- /deprecated/web/README.txt: -------------------------------------------------------------------------------- 1 | Landed by HTML5 UP 2 | html5up.net | @ajlkn 3 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 4 | 5 | 6 | A dark, slick, modern, responsive, adjective-drenched design built around an extremely 7 | dynamic landing page (scroll that mofo!). Inspired by Big Picture, another design 8 | of mine with a similarish feel/flow, only this time I took it waaaaaay further and 9 | actually made it multipurpose (versus copping out and making it a one pager like I 10 | did last time ;) Includes multiple pages, a bunch of pre-styled elements, and all 11 | its Sass sources. 12 | 13 | Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images 14 | you can use for pretty much whatever. 15 | 16 | (* = Not included) 17 | 18 | Feedback, bug reports, and comments are not only welcome, but strongly encouraged :) 19 | 20 | AJ 21 | aj@lkn.io | @ajlkn 22 | 23 | 24 | Credits: 25 | 26 | Demo Images: 27 | Unsplash (unsplash.com) 28 | 29 | Icons: 30 | Font Awesome (fortawesome.github.com/Font-Awesome) 31 | 32 | Other: 33 | jQuery (jquery.com) 34 | html5shiv.js (@afarkas @jdalton @jon_neal @rem) 35 | CSS3 Pie (css3pie.com) 36 | Respond.js (j.mp/respondjs) 37 | Skel (skel.io) -------------------------------------------------------------------------------- /deprecated/web/eb/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Elastic Beanstalk Files 3 | .elasticbeanstalk/* 4 | !.elasticbeanstalk/*.cfg.yml 5 | !.elasticbeanstalk/*.global.yml 6 | -------------------------------------------------------------------------------- /deprecated/web/requirements.txt: -------------------------------------------------------------------------------- 1 | Flask==0.11.1 2 | Flask-Cors==2.1.2 3 | Flask-SQLAlchemy==2.3.1 4 | psycopg2==2.7.3.1 5 | SQLAlchemy==1.0.13 6 | pandas==0.19.2 7 | requests==2.9.1 -------------------------------------------------------------------------------- /deprecated/web/static/css/images/arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /deprecated/web/static/css/images/ie/banner-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/css/images/ie/banner-overlay.png -------------------------------------------------------------------------------- /deprecated/web/static/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/css/images/overlay.png -------------------------------------------------------------------------------- /deprecated/web/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /deprecated/web/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /deprecated/web/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /deprecated/web/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /deprecated/web/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /deprecated/web/static/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/banner.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic01.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic02.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic03.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic04.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic05.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic06.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic07.jpg -------------------------------------------------------------------------------- /deprecated/web/static/images/pic08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/static/images/pic08.jpg -------------------------------------------------------------------------------- /deprecated/web/static/styles/js/jquery.scrolly.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */ 2 | (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /deprecated/web/templates/assets/css/images/ie/banner-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/css/images/ie/banner-overlay.png -------------------------------------------------------------------------------- /deprecated/web/templates/assets/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/css/images/overlay.png -------------------------------------------------------------------------------- /deprecated/web/templates/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /deprecated/web/templates/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /deprecated/web/templates/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /deprecated/web/templates/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /deprecated/web/templates/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /deprecated/web/templates/assets/js/jquery.scrolly.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */ 2 | (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/css/images/ie/banner-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/css/images/ie/banner-overlay.png -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/css/images/overlay.png -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/deprecated/web/templates/static/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /deprecated/web/templates/static/assets/js/jquery.scrolly.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */ 2 | (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /frontend/static/css/images/ie/banner-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/css/images/ie/banner-overlay.png -------------------------------------------------------------------------------- /frontend/static/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/css/images/overlay.png -------------------------------------------------------------------------------- /frontend/static/css/other.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #222839; 3 | } -------------------------------------------------------------------------------- /frontend/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /frontend/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /frontend/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /frontend/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /frontend/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /frontend/static/images/amazon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/amazon.png -------------------------------------------------------------------------------- /frontend/static/images/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/apple.png -------------------------------------------------------------------------------- /frontend/static/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/banner.jpg -------------------------------------------------------------------------------- /frontend/static/images/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/cart.png -------------------------------------------------------------------------------- /frontend/static/images/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/facebook.png -------------------------------------------------------------------------------- /frontend/static/images/fitbit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/fitbit.png -------------------------------------------------------------------------------- /frontend/static/images/fitbit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/fitbit2.png -------------------------------------------------------------------------------- /frontend/static/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/image.png -------------------------------------------------------------------------------- /frontend/static/images/instagram.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/instagram.jpeg -------------------------------------------------------------------------------- /frontend/static/images/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/instagram.png -------------------------------------------------------------------------------- /frontend/static/images/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/linkedin.png -------------------------------------------------------------------------------- /frontend/static/images/locations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/locations.png -------------------------------------------------------------------------------- /frontend/static/images/lyft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/lyft.png -------------------------------------------------------------------------------- /frontend/static/images/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/map.png -------------------------------------------------------------------------------- /frontend/static/images/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic01.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic02.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic03.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic04.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic05.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic06.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic07.jpg -------------------------------------------------------------------------------- /frontend/static/images/pic08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pic08.jpg -------------------------------------------------------------------------------- /frontend/static/images/pinterest.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/pinterest.gif -------------------------------------------------------------------------------- /frontend/static/images/reddit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/reddit.png -------------------------------------------------------------------------------- /frontend/static/images/shark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/shark.png -------------------------------------------------------------------------------- /frontend/static/images/snapchat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/snapchat.png -------------------------------------------------------------------------------- /frontend/static/images/spotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/spotify.png -------------------------------------------------------------------------------- /frontend/static/images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/twitter.png -------------------------------------------------------------------------------- /frontend/static/images/uber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/uber.png -------------------------------------------------------------------------------- /frontend/static/images/venmo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/venmo.png -------------------------------------------------------------------------------- /frontend/static/images/waves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/waves.png -------------------------------------------------------------------------------- /frontend/static/images/whatsapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/whatsapp.png -------------------------------------------------------------------------------- /frontend/static/images/yelp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/yelp.png -------------------------------------------------------------------------------- /frontend/static/images/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiscreetAI/playground/77a41f92f5e5f8f9e26d9bcfa413943d438de5a1/frontend/static/images/youtube.png -------------------------------------------------------------------------------- /frontend/static/styles/js/jquery.scrolly.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */ 2 | (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o { 6 | const div = document.createElement('div'); 7 | ReactDOM.render(, div); 8 | ReactDOM.unmountComponentAtNode(div); 9 | }); 10 | -------------------------------------------------------------------------------- /frontend/templates/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | font-family: sans-serif; 5 | } 6 | -------------------------------------------------------------------------------- /frontend/templates/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index2.css'; 4 | import App from './App'; 5 | import registerServiceWorker from './registerServiceWorker'; 6 | 7 | ReactDOM.render(, document.getElementById('content')); 8 | registerServiceWorker(); 9 | -------------------------------------------------------------------------------- /frontend/templates/index2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DataAgora 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /frontend/uber.csv: -------------------------------------------------------------------------------- 1 | num,display_name,distance,end_time,latitude,longitude,product_id,request_id,request_time,start_time,status 2 | 0,San Francisco,5.8520082451,1483127450,37.7749295,-122.4194155,1aafee90-9da2-40df-8be6-5b5382dae8df,430a5cd7-b3e1-4c47-a9d0-a83948e64fc0,1483124902,1483124921,completed 3 | 1,San Francisco,0.1825960661,1480742372,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,bf483ffb-f63e-441c-af5b-d170a5ac68dd,1480741540,1480741568,completed 4 | 2,San Francisco,1.2055598735,1480568195,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,3a04a291-e865-4a03-a572-fdba0f6b0709,1480565697,1480565757,completed 5 | 3,San Francisco,0.5760884023,1480557115,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,e941230d-5973-4cbb-af04-d5ecd85c35b5,1480556436,1480556458,completed 6 | 4,San Francisco,1.0608303467,1473912143,37.7749295,-122.4194155,9ef1ce94-3234-4cc4-a891-4a8ec317bff7,87fbffa7-5210-4525-ab3b-75b8323cdbf9,1473910158,1473910180,completed 7 | -------------------------------------------------------------------------------- /frontend/uberConfig.json: -------------------------------------------------------------------------------- 1 | "access_token_url": "https://login.uber.com/oauth/token", 2 | "authorize_url": "https://login.uber.com/oauth/authorize", 3 | "base_url": "https://login.uber.com/", 4 | "scopes": ["profile", "history, places"], 5 | "name": "Sample app", 6 | "base_uber_url": "https://api.uber.com/v2/", 7 | "base_uber_url_v1_1" : "https://api.uber.com/v1.1/", 8 | "start_latitude": "37.781955", 9 | "start_longitude": "-122.402367", 10 | "end_latitude": "37.744352", 11 | "end_longitude": "-122.416743" --------------------------------------------------------------------------------