Skip to content

Commit

Permalink
deploy: bd7f3b8
Browse files Browse the repository at this point in the history
  • Loading branch information
mnarayan1 committed May 17, 2023
1 parent d39401c commit bde416f
Show file tree
Hide file tree
Showing 16 changed files with 504 additions and 231 deletions.
136 changes: 59 additions & 77 deletions jupyter/2023/04/24/corrections.html → 2023/05/16/RDStutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:card" content="summary_large_image" /><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>66 Question Quiz Corrections | fastpages</title>
<title>RDS Tutorial | fastpages</title>
<meta name="generator" content="Jekyll v4.1.1" />
<meta property="og:title" content="66 Question Quiz Corrections" />
<meta property="og:title" content="RDS Tutorial" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="MC" />
<meta property="og:description" content="MC" />
<link rel="canonical" href="https://mnarayan1.github.io/csa-fastpages/jupyter/2023/04/24/corrections.html" />
<meta property="og:url" content="https://mnarayan1.github.io/csa-fastpages/jupyter/2023/04/24/corrections.html" />
<meta name="description" content="Setting up AWS RDS PostgreSQL Database and connecting with Spring Boot" />
<meta property="og:description" content="Setting up AWS RDS PostgreSQL Database and connecting with Spring Boot" />
<link rel="canonical" href="https://mnarayan1.github.io/csa-fastpages/2023/05/16/RDStutorial.html" />
<meta property="og:url" content="https://mnarayan1.github.io/csa-fastpages/2023/05/16/RDStutorial.html" />
<meta property="og:site_name" content="fastpages" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2023-04-24T00:00:00-05:00" />
<meta property="article:published_time" content="2023-05-16T00:00:00-05:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="66 Question Quiz Corrections" />
<meta property="twitter:title" content="RDS Tutorial" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-04-24T00:00:00-05:00","datePublished":"2023-04-24T00:00:00-05:00","description":"MC","headline":"66 Question Quiz Corrections","mainEntityOfPage":{"@type":"WebPage","@id":"https://mnarayan1.github.io/csa-fastpages/jupyter/2023/04/24/corrections.html"},"url":"https://mnarayan1.github.io/csa-fastpages/jupyter/2023/04/24/corrections.html"}</script>
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-05-16T00:00:00-05:00","datePublished":"2023-05-16T00:00:00-05:00","description":"Setting up AWS RDS PostgreSQL Database and connecting with Spring Boot","headline":"RDS Tutorial","mainEntityOfPage":{"@type":"WebPage","@id":"https://mnarayan1.github.io/csa-fastpages/2023/05/16/RDStutorial.html"},"url":"https://mnarayan1.github.io/csa-fastpages/2023/05/16/RDStutorial.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/csa-fastpages/assets/css/style.css"><link type="application/atom+xml" rel="alternate" href="https://mnarayan1.github.io/csa-fastpages/feed.xml" title="fastpages" /><link rel="shortcut icon" type="image/x-icon" href="/csa-fastpages/images/favicon.ico"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Primer/15.2.0/primer.css" integrity="sha512-xTz2ys4coGAOz8vuV1NcQBkgVmKhsSEtjbqyMJbBHRplFuvKIUo6xhLHpAyPt9mfR6twHJgn9OgVLuqOvjeBhg==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" />
Expand Down Expand Up @@ -73,8 +73,8 @@
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

<header class="post-header">
<h1 class="post-title p-name" itemprop="name headline">66 Question Quiz Corrections</h1><p class="page-description">MC</p><p class="post-meta post-meta-title"><time class="dt-published" datetime="2023-04-24T00:00:00-05:00" itemprop="datePublished">
Apr 24, 2023
<h1 class="post-title p-name" itemprop="name headline">RDS Tutorial</h1><p class="page-description">Setting up AWS RDS PostgreSQL Database and connecting with Spring Boot</p><p class="post-meta post-meta-title"><time class="dt-published" datetime="2023-05-16T00:00:00-05:00" itemprop="datePublished">
May 16, 2023
</time>
<span class="read-time" title="Estimated read time">

Expand All @@ -84,78 +84,68 @@ <h1 class="post-title p-name" itemprop="name headline">66 Question Quiz Correcti
</span></p>


<p class="category-tags"><i class="fas fa-tags category-tags-icon"></i></i>

<a class="category-tags-link" href="/csa-fastpages/categories/#jupyter">jupyter</a>


</p>




<div class="pb-5 d-flex flex-justify-center">
<div class="px-2">

<a href="https://github.com/mnarayan1/csa-fastpages/tree/master/_notebooks/2023-1-22-corrections.ipynb" role="button" target="_blank">
<img class="notebook-badge-image" src="/csa-fastpages/assets/badges/github.svg" alt="View On GitHub">
</a>
</div>

<div class="px-2">
<a href="https://mybinder.org/v2/gh/mnarayan1/csa-fastpages/master?filepath=_notebooks%2F2023-1-22-corrections.ipynb" target="_blank">
<img class="notebook-badge-image" src="/csa-fastpages/assets/badges/binder.svg" alt="Open In Binder"/>
</a>
</div>

<div class="px-2">
<a href="https://colab.research.google.com/github/mnarayan1/csa-fastpages/blob/master/_notebooks/2023-1-22-corrections.ipynb" target="_blank">
<img class="notebook-badge-image" src="/csa-fastpages/assets/badges/colab.svg" alt="Open In Colab"/>
</a>
</div>
<div class="px-2">
<a href="https://deepnote.com/launch?url=https%3A%2F%2Fgithub.com%2Fmnarayan1%2Fcsa-fastpages%2Fblob%2Fmaster%2F_notebooks%2F2023-1-22-corrections.ipynb" target="_blank">
<img class="notebook-badge-image" src="/csa-fastpages/assets/badges/deepnote.svg" alt="Launch in Deepnote"/>
</a>
</div>

</div>
</header>

<div class="post-content e-content" itemprop="articleBody">
<!--
#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: _notebooks/2023-1-22-corrections.ipynb
# file to edit: _notebooks/2023-05-16-RDStutorial.ipynb
-->

<div class="container" id="notebook-container">

<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h3 id="Skill:-4a">Skill: 4a<a class="anchor-link" href="#Skill:-4a"> </a></h3><blockquote><p>Use test-cases to find errors or validate results</p>
</blockquote>
<p><strong>Questions incorrect</strong>:22 (topic 8.2), 33 (topic 6.4)
I need to practice questions relating to 1D and 2D arrays, especially relating to whether certain test cases will work in a program</p>
<h3 id="Skill:-4B">Skill: 4B<a class="anchor-link" href="#Skill:-4B"> </a></h3><blockquote><p>Identify errors in program code</p>
</blockquote>
<p><strong>Questions incorrect</strong>:2 (6.2), 16 (8.2), 36 (9.6), 46 (1.1), 47 (1.1), 52 (5.5), 56 (7.4), 60 (6.4), 63 (6.3)</p>
<ul>
<li>Unit 1: difference between print and println</li>
<li>Unit 5: fixing mutator methods so they will run/compile correctly</li>
<li>Unit 6: how to modify a loop so that it will iterate over an array correctly</li>
<li>Unit 7: fixing algorithms using ArrayLists</li>
<li>Unit 8: looping through 2d arrays</li>
</ul>
<h3 id="Skill:-4c">Skill: 4c<a class="anchor-link" href="#Skill:-4c"> </a></h3><blockquote><p>Determine if two or more code segments yield equivalent results</p>
</blockquote>
<p><strong>Questions incorrect</strong>:4 (3.6), 9 (3.4), 10 (3.4), 13 (3.5), 17 (4.3), 18 (3.6), 19 (3.6), 20 (4.2), 53 (10.1)</p>
<ul>
<li>Unit 3: determining whether boolean expressions are equivalent, applying demorgans law</li>
<li>Unit 4: working with substrings</li>
<li>Unit 10: else if statements, and determining how an else-if statement would be different from only if-statements</li>
</ul>
<h1 id="What-is-RDS?">What is RDS?<a class="anchor-link" href="#What-is-RDS?"> </a></h1><p>Rather than having a database stored on a local file, the RDS database is stored on the cloud.</p>

</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h1 id="Creating-the-RDS-Database-Instance">Creating the RDS Database Instance<a class="anchor-link" href="#Creating-the-RDS-Database-Instance"> </a></h1><p>Instructions here</p>

</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p>In <code>pom.xml</code>, add the following dependencies:</p>

<pre><code>&lt;dependency&gt;
&lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
&lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
&lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.postgresql&lt;/groupId&gt;
&lt;artifactId&gt;postgresql&lt;/artifactId&gt;
&lt;scope&gt;runtime&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
<p>In <code>application.properties</code>, add the following configurations:</p>

<pre><code>spring.datasource.url=jdbc:postgresql://&lt;database-endpoint-url&gt;:&lt;port&gt;/&lt;database&gt;
spring.datasource.username=YOUR_USERNAME
spring.datasource.password=YOUR_PASSWORD
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.show-sql=true</code></pre>
<p>Now, the spring application is connected to the RDS database in the cloud.</p>

</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h1 id="Using-the-Database">Using the Database<a class="anchor-link" href="#Using-the-Database"> </a></h1><p>After setting up the RDS database, you should be able to work with spring as usual.</p>
<p><a href="https://nirajsonawane.github.io/2022/04/18/Spring-Boot-AWS-RDS/">https://nirajsonawane.github.io/2022/04/18/Spring-Boot-AWS-RDS/</a></p>

</div>
</div>
Expand All @@ -164,15 +154,7 @@ <h3 id="Skill:-4c">Skill: 4c<a class="anchor-link" href="#Skill:-4c"> </a></h3><



</div><!-- from https://github.com/utterance/utterances -->
<script src="https://utteranc.es/client.js"
repo="mnarayan1/csa-fastpages"
issue-term="title"
label="blogpost-comment"
theme="github-light"
crossorigin="anonymous"
async>
</script><a class="u-url" href="/csa-fastpages/jupyter/2023/04/24/corrections.html" hidden></a>
</div><a class="u-url" href="/csa-fastpages/2023/05/16/RDStutorial.html" hidden></a>
</article>
</div>
</main><footer class="site-footer h-card">
Expand Down
10 changes: 5 additions & 5 deletions assets/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bde416f

Please sign in to comment.