Initial Commit

This commit is contained in:
Pecha 2020-09-21 20:07:48 +10:00
commit 30621b350d
18 changed files with 1264 additions and 0 deletions

433
.gitignore vendored Normal file
View File

@ -0,0 +1,433 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- Backup*.rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
##
## Visual studio for Mac
##
# globs
Makefile.in
*.userprefs
*.usertasks
config.make
config.status
aclocal.m4
install-sh
autom4te.cache/
*.tar.gz
tarballs/
test-results/
# Mac bundle stuff
*.dmg
*.app
# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# JetBrains Rider
.idea/
*.sln.iml
##
## Visual Studio Code
##
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

36
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,36 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/usaquote-api.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

42
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/usaquote-api.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/usaquote-api.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/usaquote-api.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}

View File

@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using usaquote_api.Data;
using usaquote_api.Models;
namespace usaquote_api.Controllers{
[ApiController]
[Route("[controller]")]
public class QuoteController : ControllerBase {
private readonly UsaquoteContext _context;
public QuoteController(UsaquoteContext context) {
_context = context;
}
[HttpGet]
public async Task<ActionResult<Quote>> GetQuote() {
int count = _context.Quotes.Count();
var rnd = new Random();
var quote = await _context.Quotes.FindAsync(rnd.Next(count));
return quote;
}
[HttpGet("{speaker}")]
public async Task<ActionResult<Quote>> GetBySpeaker(string speaker) {
var rnd = new Random();
var quotelist = _context.Quotes.Where(q => q.speaker == speaker).ToList<Quote>();
var quote = quotelist[rnd.Next(quotelist.Count())];
// var quote = quotelist.First();
// var x = rnd.Next(quotelist.Count());
return quote;
}
}
}

11
Data/UsaquoteContext.cs Normal file
View File

@ -0,0 +1,11 @@
using Microsoft.EntityFrameworkCore;
namespace usaquote_api.Data {
public class UsaquoteContext : DbContext {
public DbSet<usaquote_api.Models.Quote> Quotes {get; set;}
public UsaquoteContext(
DbContextOptions<UsaquoteContext> options): base(options) {}
}
}

View File

@ -0,0 +1,39 @@
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using usaquote_api.Data;
namespace usaquote_api.Migrations
{
[DbContext(typeof(UsaquoteContext))]
[Migration("20200920084041_InitialCreate")]
partial class InitialCreate
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.8");
modelBuilder.Entity("usaquote_api.Models.Quote", b =>
{
b.Property<int>("ID")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("content")
.HasColumnType("TEXT");
b.Property<string>("speaker")
.HasColumnType("TEXT");
b.HasKey("ID");
b.ToTable("Quotes");
});
#pragma warning restore 612, 618
}
}
}

View File

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace usaquote_api.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Quotes",
columns: table => new
{
ID = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
speaker = table.Column<string>(nullable: true),
content = table.Column<string>(nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Quotes", x => x.ID);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Quotes");
}
}
}

View File

@ -0,0 +1,37 @@
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using usaquote_api.Data;
namespace usaquote_api.Migrations
{
[DbContext(typeof(UsaquoteContext))]
partial class UsaquoteContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.8");
modelBuilder.Entity("usaquote_api.Models.Quote", b =>
{
b.Property<int>("ID")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("content")
.HasColumnType("TEXT");
b.Property<string>("speaker")
.HasColumnType("TEXT");
b.HasKey("ID");
b.ToTable("Quotes");
});
#pragma warning restore 612, 618
}
}
}

7
Models/Quote.cs Normal file
View File

@ -0,0 +1,7 @@
namespace usaquote_api.Models {
public class Quote {
public int ID {get; set;}
public string speaker {get; set;}
public string content {get; set;}
}
}

26
Program.cs Normal file
View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace usaquote_api
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}

View File

@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:28187",
"sslPort": 44312
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "weatherforecast",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"usaquote_api": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "weatherforecast",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

54
Startup.cs Normal file
View File

@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using usaquote_api.Data;
using Microsoft.EntityFrameworkCore;
namespace usaquote_api
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddDbContext<UsaquoteContext>(options =>
options.UseSqlite(Configuration.GetConnectionString("UsaquoteContext"))
);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
// app.UseHttpsRedirection();
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
}
}
}

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

13
appsettings.json Normal file
View File

@ -0,0 +1,13 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"UsaquoteContext": "Data Source=usaquote.db"
}
}

192
rabbit.txt Normal file
View File

@ -0,0 +1,192 @@
rabbitJust right.
rabbitOh? Is it something?
rabbitWho are you?
rabbit
rabbit... which words are not common to .
rabbitUnreasonableness.
rabbitI do not want to become it.
rabbitSnacks ... !!
rabbitDo not forfeit it.
rabbitI must control it well.
rabbitDelicious!
rabbitOh, no! Is it OK?
rabbitThank you for the delicious meal.
rabbitShall I come back to the house?
rabbitWhy is it interference?
rabbitYes, I am sleepy.
rabbitHungry ...!
rabbitIs it that? There is not rice?
rabbitAlready! Get a grip!
rabbitIt is my work!
rabbitI do what.
rabbitThen it is good.
rabbitAn obstacle.
rabbitDelicate.
rabbitOh, it is ... there there. Comfortable.
rabbitBecause you said that thank you, pat it early.
rabbitI know it!
rabbitDo return it to me early?
rabbitHere is not warm at all today, ... . Why is it?
rabbitI am waiting a little more.
rabbitI make attentive ears and am waiting early when words do not sound like "it becomes warm".
rabbitThere is so much my hair.
rabbitHair is ... Itchy.
rabbitWhere do you take my hair to?
rabbit! Oh! USASUKE!
rabbitPlay!
rabbitThat ... Does the addition of the rice have not yet come?
rabbitIs it a boyfriend for me?
rabbitThis child warmth feels nothing, too.
rabbitThe child who a boy was bigger than me at least, and was strong was good.
rabbitHmm.
rabbitThat's good. Cold.
rabbitIs it mineral matter and suitability? I am not so glad.
rabbit"Is it cat hair? A fool! Because it is a rabbit, I do not distribute it of the cat!"
rabbitIs it that? The hand? Where is the hand?
rabbitHand, having different tastes
rabbitHand discovery!
rabbitIs it that? It is not a hand! Where is a hand?
rabbitWait; and ...!
rabbitOh! I want the hand! Seem to please!
rabbitAlready! Give it!
rabbitWhat shall I do?
rabbitI will stop it.
rabbitAm I pretty?
rabbitIt is a fact that is pretty! Are there words?
rabbitIs it not too sudden? Still for the child want to eat.
rabbitIs there somewhat a lot of rice today?
rabbitI am satisfied first of all.
rabbitDo you still give me it what it is?
rabbitA smell of the great grass.
rabbitTasting.
rabbitI do not need it.
rabbitThat is tasting.
rabbitI have finished eating. Do add it early?
rabbitPlease early.
rabbitOh? Be doing it a joke. I like one.
rabbit. . . ?
rabbitOh? Is it mom? Really?
rabbitIs it vegetables? ... Vegetablesphobe eats
rabbitIt was eaten when I ate.
rabbitI was the greatest until yesterday. It is hard to do it.
rabbitHi.
rabbitIs it what this?
rabbitBy all odds it is not an apple!
rabbitSweet one of liking you!
rabbitI am not deceived!
rabbitDo not make a fool!
rabbitPat it.
rabbitPat it.
rabbitPat it.
rabbitA smell to smell for the first time.
rabbitIt may be eaten only a little.
rabbitIt is impossible!
rabbitA leaf is good.
rabbitIt is impossible, too!
rabbitAt last did it arrive? How much is this?
rabbitA fool!
rabbitRemake it.
rabbitNo matter how much a salesperson is pretty, it is too high and is not popular!
rabbitOh, with -.
rabbitI say that I do it how!
rabbitNo!
rabbitDo you make it how much?
rabbitHigh! Is it five apples?
rabbitEat.
rabbitDo not say to me, "I wear a parka".
rabbitI wear it for trial!
rabbitA try-on. A try-on!
rabbitI am somewhat like a trap.
rabbitIs it what this? Is it a tunnel?
rabbitThis? It is different from the tunnel which I heard.
rabbitCan you call it a this tunnel?
rabbitI want to play in a genuine tunnel.
rabbitDo you play if fun?
rabbitYes, please.
rabbitOnly as for this?
rabbitA little more.
rabbitPat it early!
rabbitA grass obstacle!
rabbitNice day, isn't it?
rabbitHey. Shall I play?
rabbitHey. What do you do?
rabbitI'll do my best
rabbitOK
rabbitThIs is enough.
rabbitHi.
rabbitI will do my best.
rabbitI was tired.
rabbitNo!
rabbitReturn my place
rabbitWhen is it over?
rabbitNuisance
rabbitDoes it have not yet come?
rabbitIs it something?
rabbitWhat is it?
rabbitThe end? My place?
rabbitThe sofa which here was?
rabbitWhat is it not?
rabbitDo not touch me!
rabbitHey!
rabbitReturn my place!
rabbitI hate!
rabbitBecause I never permit it
rabbitIt is snacks!
rabbitOK
RabbitLook
RabbitIs it great?
RabbitHey! Of any, doing it!
RabbitDo not touch it without permission
RabbitThere must be the tail
RabbitI was going to just touch it
RabbitI notice
Rabbit"I am, and be" and do not say how!
RabbitDo not misunderstand it
RabbitLet me sleep
RabbitWhat do you do since a little while ago?
Rabbit"Only as for little ," did you say?
RabbitI touch too much it!
RabbitI am in the middle of eating
RabbitIs it a lion? Is it not I lion rabbit?
RabbitI make a fool!
RabbitWhat is it?
RabbitWhat is it? I hate
RabbitWhat are you doing?
RabbitBad feeling….
RabbitSleepy
Rabbit?
RabbitWhere am I
RabbitIs dangerous; was going to sleep
RabbitMay I all eat?
rabbitOh? Is it a nail? Did a nail say?
rabbitI hate
rabbitI hate it!
rabbitUnreasonableness!
rabbitDislike
rabbitI hate it. I must escape.
rabbitHey? More snacks top top
rabbitIs there not anymore it?
rabbitThen it is good.
rabbitUncomfortable!
rabbitNo!
rabbitI do not like the feeling of the blanket.
rabbitI improved
rabbitDo you know even the vegetablesphobia? Do you not eat?
rabbitI came what it was!
rabbitA toy does not need a childish thing
rabbitHey. Do play?
rabbitTherefore! I do not need the toy!
rabbitAnnoying.
rabbitOh. Snacks.
rabbitI do not need mental attitude how
rabbitAlready! Santa takes a rest long ago!
RabbitI invite you a feeling unexpectedly
RabbitI liked it
rabbitIrritating! This is enough?
rabbitWas there it today?
rabbitI still want to eat it
rabbitlucky
RabbitIt was sold out
RabbitStop it a little! Do not break a wall!
RabbitReturn!
RabbitI begin to buy it and must go

21
usaquote-api.csproj Normal file
View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>usaquote_api</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.8" />
<!-- <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0" /> -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0" />
</ItemGroup>
</Project>

BIN
usaquote.db Normal file

Binary file not shown.

247
usaquote.sql Normal file
View File

@ -0,0 +1,247 @@
INSERT INTO `Quotes` (speaker, content) VALUES
("Usaco", "Just right."),
("Usaco", "Oh? Is it something?"),
("Usaco", "Who are you?"),
("Usaco", ""),
("Usaco", "... which words are not common to ."),
("Usaco", "Unreasonableness."),
("Usaco", "I do not want to become it."),
("Usaco", "Snacks ... !!"),
("Usaco", "Do not forfeit it."),
("Usaco", "I must control it well."),
("Usaco", "Delicious!"),
("Usaco", "Oh, no! Is it OK?"),
("Usaco", "Thank you for the delicious meal."),
("Usaco", "Shall I come back to the house?"),
("Usaco", "Why is it interference?"),
("Usaco", "Yes, I am sleepy."),
("Usaco", "Hungry ...!"),
("Usaco", "Is it that? There is not rice?"),
("Usaco", "Already! Get a grip!"),
("Usaco", "It is my work!"),
("Usaco", "I do what."),
("Usaco", "Then it is good."),
("Usaco", "An obstacle."),
("Usaco", "Delicate."),
("Usaco", "Oh, it is ... there there. Comfortable."),
("Usaco", "Because you said that thank you, pat it early."),
("Usaco", "I know it!"),
("Usaco", "Do return it to me early?"),
("Usaco", "Here is not warm at all today, ... . Why is it?"),
("Usaco", "I am waiting a little more."),
("Usaco", "I make attentive ears and am waiting early when words do not sound like ""it becomes warm""."),
("Usaco", "There is so much my hair."),
("Usaco", "Hair is ... Itchy."),
("Usaco", "Where do you take my hair to?"),
("Usaco", "! Oh! USASUKE!"),
("Usaco", "Play!"),
("Usaco", "That ... Does the addition of the rice have not yet come?"),
("Usaco", "Is it a boyfriend for me?"),
("Usaco", "This child warmth feels nothing, too."),
("Usaco", "The child who a boy was bigger than me at least, and was strong was good."),
("Usaco", "Hmm."),
("Usaco", "That's good. Cold."),
("Usaco", "Is it mineral matter and suitability? I am not so glad."),
("Usaco", """Is it cat hair? A fool! Because it is a rabbit, I do not distribute it of the cat!"""),
("Usaco", "Is it that? The hand? Where is the hand?"),
("Usaco", "Hand, having different tastes"),
("Usaco", "Hand discovery!"),
("Usaco", "Is it that? It is not a hand! Where is a hand?"),
("Usaco", "Wait; and ...!"),
("Usaco", "Oh! I want the hand! Seem to please!"),
("Usaco", "Already! Give it!"),
("Usaco", "What shall I do?"),
("Usaco", "I will stop it."),
("Usaco", "Am I pretty?"),
("Usaco", "It is a fact that is pretty! Are there words?"),
("Usaco", "Is it not too sudden? Still for the child want to eat."),
("Usaco", "Is there somewhat a lot of rice today?"),
("Usaco", "I am satisfied first of all."),
("Usaco", "Do you still give me it what it is?"),
("Usaco", "A smell of the great grass."),
("Usaco", "Tasting."),
("Usaco", "I do not need it."),
("Usaco", "That is tasting."),
("Usaco", "I have finished eating. Do add it early?"),
("Usaco", "Please early."),
("Usaco", "Oh? Be doing it a joke. I like one."),
("Usaco", ". . . ?"),
("Usaco", "Oh? Is it mom? Really?"),
("Usaco", "Is it vegetables? ... Vegetablesphobe eats"),
("Usaco", "It was eaten when I ate."),
("Usaco", "I was the greatest until yesterday. It is hard to do it."),
("Usaco", "Hi."),
("Usaco", "Is it what this?"),
("Usaco", "By all odds it is not an apple!"),
("Usaco", "Sweet one of liking you!"),
("Usaco", "I am not deceived!"),
("Usaco", "Do not make a fool!"),
("Usaco", "Pat it."),
("Usaco", "Pat it."),
("Usaco", "Pat it."),
("Usaco", "A smell to smell for the first time."),
("Usaco", "It may be eaten only a little."),
("Usaco", "It is impossible!"),
("Usaco", "A leaf is good."),
("Usaco", "It is impossible, too!"),
("Usaco", "At last did it arrive? How much is this?"),
("Usaco", "A fool!"),
("Usaco", "Remake it."),
("Usaco", "No matter how much a salesperson is pretty, it is too high and is not popular!"),
("Usaco", "Oh, with -."),
("Usaco", "I say that I do it how!"),
("Usaco", "No!"),
("Usaco", "Do you make it how much?"),
("Usaco", "High! Is it five apples?"),
("Usaco", "Eat."),
("Usaco", "Do not say to me, ""I wear a parka""."),
("Usaco", "I wear it for trial!"),
("Usaco", "A try-on. A try-on!"),
("Usaco", "I am somewhat like a trap."),
("Usaco", "Is it what this? Is it a tunnel?"),
("Usaco", "This? It is different from the tunnel which I heard."),
("Usaco", "Can you call it a this tunnel?"),
("Usaco", "I want to play in a genuine tunnel."),
("Usaco", "Do you play if fun?"),
("Usaco", "Yes, please."),
("Usaco", "Only as for this?"),
("Usaco", "A little more."),
("Usaco", "Pat it early!"),
("Usaco", "A grass obstacle!"),
("Usaco", "Nice day, isn't it?"),
("Usaco", "Hey. Shall I play?"),
("Usaco", "Hey. What do you do?"),
("Usaco", "I'll do my best"),
("Usaco", "OK"),
("Usaco", "ThIs is enough."),
("Usaco", "Hi."),
("Usaco", "I will do my best."),
("Usaco", "I was tired."),
("Usaco", "No!"),
("Usaco", "Return my place"),
("Usaco", "When is it over?"),
("Usaco", "Nuisance"),
("Usaco", "Does it have not yet come?"),
("Usaco", "Is it something?"),
("Usaco", "What is it?"),
("Usaco", "The end? My place?"),
("Usaco", "The sofa which here was?"),
("Usaco", "What is it not?"),
("Usaco", "Do not touch me!"),
("Usaco", "Hey!"),
("Usaco", "Return my place!"),
("Usaco", "I hate!"),
("Usaco", "Because I never permit it"),
("Usaco", "It is snacks! "),
("Usaco", "OK"),
("Usaco", "Look"),
("Usaco", "Is it great?"),
("Usaco", "Hey! Of any, doing it!"),
("Usaco", "Do not touch it without permission"),
("Usaco", "There must be the tail"),
("Usaco", "I was going to just touch it"),
("Usaco", "I notice"),
("Usaco", """I am, and be"" and do not say how!"),
("Usaco", "Do not misunderstand it"),
("Usaco", "Let me sleep"),
("Usaco", "What do you do since a little while ago?"),
("Usaco", """Only as for little ,"" did you say?"),
("Usaco", "I touch too much it!"),
("Usaco", "I am in the middle of eating"),
("Usaco", "Is it a lion? Is it not I lion rabbit?"),
("Usaco", "I make a fool!"),
("Usaco", "What is it?"),
("Usaco", "What is it? I hate"),
("Usaco", "What are you doing?"),
("Usaco", "Bad feeling…."),
("Usaco", "Sleepy"),
("Usaco", "?"),
("Usaco", "Where am I"),
("Usaco", "Is dangerous; was going to sleep"),
("Usaco", "May I all eat?"),
("Usaco", "Oh? Is it a nail? Did a nail say?"),
("Usaco", "I hate"),
("Usaco", "I hate it!"),
("Usaco", "Unreasonableness!"),
("Usaco", "Dislike"),
("Usaco", "I hate it. I must escape."),
("Usaco", "Hey? More snacks top top"),
("Usaco", "Is there not anymore it?"),
("Usaco", "Then it is good."),
("Usaco", "Uncomfortable!"),
("Usaco", "No!"),
("Usaco", "I do not like the feeling of the blanket."),
("Usaco", "I improved"),
("Usaco", "Do you know even the vegetablesphobia? Do you not eat?"),
("Usaco", "I came what it was!"),
("Usaco", "A toy does not need a childish thing"),
("Usaco", "Hey. Do play?"),
("Usaco", "Therefore! I do not need the toy!"),
("Usaco", "Annoying."),
("Usaco", "Oh. Snacks."),
("Usaco", "I do not need mental attitude how"),
("Usaco", "Already! Santa takes a rest long ago!"),
("Usaco", "I invite you a feeling unexpectedly"),
("Usaco", "I liked it"),
("Usaco", "Irritating! This is enough?"),
("Usaco", "Was there it today?"),
("Usaco", "I still want to eat it"),
("Usaco", "lucky"),
("Usaco", "It was sold out"),
("Usaco", "Stop it a little! Do not break a wall!"),
("Usaco", "Return!"),
("Usaco", "I begin to buy it and must go"),
("Hamco", "Delicious"),
("Hamco", "It seems to be warm if I make a house."),
("Hamco", "The discovery that seems to be delicious!"),
("Hamco", "I take a break a little."),
("Hamco", "Eat."),
("Hamco", "Early! Does it have not yet come next time?"),
("Hamco", "What is slow? In addition, do you enter?"),
("Hamco", "Room!"),
("Hamco", "coneDelicious!"),
("Hamco", "What are you doing?"),
("Hamco", "When will you give me it?"),
("Hamco", "It is eaten!"),
("Hamco", "Already over? Do you still enter?"),
("Hamco", "As for this of me! Return it!"),
("Hamco", "My corn! Return it!"),
("Hamco", "Please! Why do you have it? Already! Return it!"),
("Hamco", "I have eaten a chip."),
("Hamco", "Do not be smoothened."),
("Hamco", "Oh! I was able to chew! This is good."),
("Hamco", "Because I still enter, a cheek pouch wants this, too."),
("Hamco", "... which does not open in it turning out that I open out in this part ."),
("Hamco", "Why do you not open?"),
("Hamco", "Please cake ..."),
("Hamco", "Eat snacks ...; eat!"),
("Hamco", "Well, I smell good!"),
("Hamco", "... which does not arrive ."),
("Hamco", "It seems to be delicious!"),
("Hamco", "I was able to do something."),
("Hamco", "Take it!"),
("Hamco", "I will eat later."),
("Hamco", "I am!"),
("Hamco", "Is it a dog? Where is it?"),
("Hamco", "A doggy!"),
("Hamco", "What is it?"),
("Hamco", "Is it something?"),
("Hamco", "Let me sleep a little more."),
("Hamco", "I get it if I do not eat"),
("Hamco", "Though I do it, the sweet smell is not found"),
("Hamco", "Is it what this?"),
("Hamco", ""),
("Hamco", "I want this, too!"),
("Hamco", "Please. Ridicule dog over there"),
("Hamco", "Return a hat!"),
("Hamco", "Can this escape?"),
("Hamco", "Fall!"),
("Hamco", "What is it?"),
("Hamco", "This sound is ... I drop it, and is it a ball?"),
("Hamco", "Already over?"),
("Hamco", "Is it what this?"),
("Hamco", "Is this all mine?"),
("Hamco", "I eat, too!"),
("Hamco", "Please to me"),
("Hamco", "Pan"),
("Hamco", "Is there not it? I chew!");