This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.7 | |
| MAINTAINER Josip Janzic <[email protected]> | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| git \ | |
| wget \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.7 | |
| MAINTAINER Josip Janzic <[email protected]> | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| git \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.7 | |
| MAINTAINER Josip Janzic <[email protected]> | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| git \ | |
| wget \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| i = 0 | |
| os.chdir("./downloads") | |
| path=os.path.dirname(os.path.abspath(__file__)) | |
| for directory in os.listdir(): | |
| for file in os.listdir(f'./{directory}'): | |
| head,tail= os.path.splitext(os.path.basename(file)) | |
| #head = head.split('.')[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """config URL Configuration | |
| The `urlpatterns` list routes URLs to views. For more information please see: | |
| https://docs.djangoproject.com/en/2.0/topics/http/urls/ | |
| Examples: | |
| Function views | |
| 1. Add an import: from my_app import views | |
| 2. Add a URL to urlpatterns: path('', views.home, name='home') | |
| Class-based views | |
| 1. Add an import: from other_app.views import Home |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import TradingStore from '../../stores/TradingStore'; | |
| import '../../styles/buyingpower.css' | |
| class BuyingPower extends Component{ | |
| constructor(props){ | |
| super(props); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import StockTable from './StockTable'; | |
| import CompanyDetails from './CompanyDetails'; | |
| import BuyingPower from './BuyingPower'; | |
| class Market extends Component{ | |
| render(){ | |
| return ( | |
| <div className="market"> | |
| <div className="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import StockTable from './StockTable'; | |
| import CompanyDetails from './CompanyDetails'; | |
| import BuyingPower from './BuyingPower'; | |
| class Market extends Component{ | |
| render(){ | |
| return ( | |
| <div className="market"> | |
| <div className="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id":1, | |
| "Stock":"1,001", | |
| "Buy":"Lorem", | |
| "Sell":"ipsum", | |
| "Last":"dolor", | |
| "Change":"sit" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback Switch to copy-and-paste view | |
| /home/inflexion/anaconda3/envs/readit/lib/python3.6/site-packages/django/core/handlers/exception.py in inner | |
| response = get_response(request) ... | |
| ▶ Local vars | |
| /home/inflexion/anaconda3/envs/readit/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response | |
| response = self.process_exception_by_middleware(e, request) ... | |
| ▶ Local vars | |
| /home/inflexion/anaconda3/envs/readit/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response | |
| response = wrapped_callback(request, *callback_args, **callback_kwargs) ... | |
| ▶ Local vars |