This file contains 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
return new Scaffold( | |
appBar: new AppBar( | |
//App bar bit | |
), | |
drawer: new Drawer( | |
), |
This file contains 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
return new Scaffold( | |
appBar: new AppBar( | |
) | |
), | |
drawer: new Drawer( | |
child: new ListView( | |
children: <Widget>[ |
This file contains 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
drawer: new Drawer( | |
child: new ListView( | |
children: <Widget>[ | |
//display current user info | |
new UserAccountsDrawerHeader( | |
decoration: new BoxDecoration(color: Colors.white), | |
currentAccountPicture: new CircleAvatar( | |
backgroundImage: currentUser.photoUrl.isNotEmpty ? | |
new NetworkImage(currentUser.photoUrl) : currentUser.displayName.substring(0)), |
This file contains 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
docker pull mcr.microsoft.com/mssql/server:2017-latest |
This file contains 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
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=MySoVery3tr045Pass3!o79" ` | |
-p 1433:1433 --name dev-mssql-server ` | |
-d mcr.microsoft.com/mssql/server:2017-latest |
This file contains 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
Argument | Description | |
---|---|---|
-e ACCEPT_EULA=Y | A Y or N value expected. This confirms or rejects your acceptance of the [End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388). This is required for setting up the MS-SQL Server image. | |
-e SA_PASSWORD=MySoVery3tr045Pass3!o79 | Allows you specify our password. This should meet requirements stated [here](https://docs.microsoft.com/en-us/sql/relational-databases/security/password-policy?view=sql-server-linux-ver15). | |
-p 1433:1433 | This is same as --publish. Allows you publish a container's port(s) to the host | |
--name dev-mssql-server | Assign a name to the container. This enables you easily remember what a container is for. | |
-d | This is same as --detach. Allows you run container in background and print container ID | |
mcr.microsoft.com/mssql/server:2017-latest | The MS-SQL Server image to use. |
We can't make this file beautiful and searchable because it's too large.
This file contains 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
Date Received,Product Name,Sub Product,Issue,Sub Issue,Consumer Complaint Narrative,Company Public Response,Company,State Name,Zip Code,Tags,Consumer Consent Provided,Submitted via,Date Sent to Company,Company Response to Consumer,Timely Response,Consumer Disputed,Complaint ID | |
2013-07-29,Consumer Loan,Vehicle loan,Managing the loan or lease,,,,Wells Fargo & Company,VA,24540,,N/A,Phone,2013-07-30,Closed with explanation,Yes,No,468882 | |
2013-07-29,Bank account or service,Checking account,Using a debit or ATM card,,,,Wells Fargo & Company,CA,95992,Older American,N/A,Web,2013-07-31,Closed with explanation,Yes,No,468889 | |
2013-07-29,Bank account or service,Checking account,"Account opening, closing, or management",,,,Santander Bank US,NY,10065,,N/A,Fax,2013-07-31,Closed,Yes,No,468879 | |
2013-07-29,Bank account or service,Checking account,Deposits and withdrawals,,,,Wells Fargo & Company,GA,30084,,N/A,Web,2013-07-30,Closed with explanation,Yes,No,468949 | |
2013-07-29,Mortgage,Conventional fixed mortgage,"Loan servicing, paym |
This file contains 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
docker exec -it dev-mssql-server "bash" | |
mkdir -p /home/sql/dataset | |
cd /home/sql/dataset | |
wget "https://github.com/Gogetter/blog-posts-database/raw/dockerze-mssql/ConsumerComplaints.csv" |
This file contains 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
Command | Description | |
---|---|---|
docker exec -it dev-mssql-server 'bash' | Connects to contains in interactive bash mode | |
mkdir -p /home/sql/dataset | Create directories sql and dataset | |
cd /home/sql/dataset | Change directory to just created directory | |
wget https://github.com/Gogetter/blog-posts-database/raw/dockerze-mssql/ConsumerComplaints.csv | Download demo data |
This file contains 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
-- Delete database if already exists. This enables us to run without errors | |
drop database if exists ConsumerComplaint | |
go | |
-- create the ConsumerComplaint database | |
create database ConsumerComplaint | |
GO | |
-- use just created database | |
Use ConsumerComplaint; |
OlderNewer