Skip to content

Commit

Permalink
Deployed 2dd889e with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mshuber1981 committed Nov 11, 2023
1 parent 1edfccc commit e47096b
Show file tree
Hide file tree
Showing 18 changed files with 1,055 additions and 98 deletions.
26 changes: 23 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@


<link rel="icon" href="/assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.6">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.8">



<title>Work Life</title>



<link rel="stylesheet" href="/assets/stylesheets/main.35e1ed30.min.css">
<link rel="stylesheet" href="/assets/stylesheets/main.4b4a2bd9.min.css">


<link rel="stylesheet" href="/assets/stylesheets/palette.356b1318.min.css">
Expand Down Expand Up @@ -386,6 +386,26 @@



<li class="md-nav__item">
<a href="/functions/excel/" class="md-nav__link">


<span class="md-ellipsis">
Excel Files
</span>


</a>
</li>









<li class="md-nav__item">
<a href="/functions/general/" class="md-nav__link">

Expand Down Expand Up @@ -616,7 +636,7 @@ <h1>404 - Not found</h1>
<script id="__config" type="application/json">{"base": "/", "features": ["content.code.copy", "navigation.footer"], "search": "/assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="/assets/javascripts/bundle.aecac24b.min.js"></script>
<script src="/assets/javascripts/bundle.81fa17fe.min.js"></script>


</body>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/stylesheets/main.35e1ed30.min.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/stylesheets/main.35e1ed30.min.css.map

This file was deleted.

1 change: 1 addition & 0 deletions assets/stylesheets/main.4b4a2bd9.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/stylesheets/main.4b4a2bd9.min.css.map

Large diffs are not rendered by default.

26 changes: 23 additions & 3 deletions bigquery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.6">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.8">



<title>BigQuery - Getting Started - Work Life</title>



<link rel="stylesheet" href="../assets/stylesheets/main.35e1ed30.min.css">
<link rel="stylesheet" href="../assets/stylesheets/main.4b4a2bd9.min.css">


<link rel="stylesheet" href="../assets/stylesheets/palette.356b1318.min.css">
Expand Down Expand Up @@ -393,6 +393,26 @@



<li class="md-nav__item">
<a href="../functions/excel/" class="md-nav__link">


<span class="md-ellipsis">
Excel Files
</span>


</a>
</li>









<li class="md-nav__item">
<a href="../functions/general/" class="md-nav__link">

Expand Down Expand Up @@ -749,7 +769,7 @@ <h2 id="google-bigquery-nodejs-client-httpscloudgooglecomnodejsdocsreferencebigq
<script id="__config" type="application/json">{"base": "..", "features": ["content.code.copy", "navigation.footer"], "search": "../assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="../assets/javascripts/bundle.aecac24b.min.js"></script>
<script src="../assets/javascripts/bundle.81fa17fe.min.js"></script>


</body>
Expand Down
26 changes: 23 additions & 3 deletions devEnv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.6">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.8">



<title>My Local Dev Environment - Work Life</title>



<link rel="stylesheet" href="../assets/stylesheets/main.35e1ed30.min.css">
<link rel="stylesheet" href="../assets/stylesheets/main.4b4a2bd9.min.css">


<link rel="stylesheet" href="../assets/stylesheets/palette.356b1318.min.css">
Expand Down Expand Up @@ -496,6 +496,26 @@



<li class="md-nav__item">
<a href="../functions/excel/" class="md-nav__link">


<span class="md-ellipsis">
Excel Files
</span>


</a>
</li>









<li class="md-nav__item">
<a href="../functions/general/" class="md-nav__link">

Expand Down Expand Up @@ -904,7 +924,7 @@ <h2 id="nodejs-on-windows">Node.js on Windows<a class="headerlink" href="#nodejs
<script id="__config" type="application/json">{"base": "..", "features": ["content.code.copy", "navigation.footer"], "search": "../assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="../assets/javascripts/bundle.aecac24b.min.js"></script>
<script src="../assets/javascripts/bundle.81fa17fe.min.js"></script>


</body>
Expand Down
57 changes: 27 additions & 30 deletions functions/auth/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@


<link rel="icon" href="../../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.6">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.8">



<title>Oauth2 Tokens - Work Life</title>



<link rel="stylesheet" href="../../assets/stylesheets/main.35e1ed30.min.css">
<link rel="stylesheet" href="../../assets/stylesheets/main.4b4a2bd9.min.css">


<link rel="stylesheet" href="../../assets/stylesheets/palette.356b1318.min.css">
Expand Down Expand Up @@ -444,6 +444,26 @@



<li class="md-nav__item">
<a href="../excel/" class="md-nav__link">


<span class="md-ellipsis">
Excel Files
</span>


</a>
</li>









<li class="md-nav__item">
<a href="../general/" class="md-nav__link">

Expand Down Expand Up @@ -653,17 +673,7 @@ <h1 id="oauth2-tokens">Oauth2 Tokens<a class="headerlink" href="#oauth2-tokens"
<p>I love <a href="https://axios-http.com/">Axios</a>, and this is a great OAuth 2.0 client for Axios - <a href="https://github.com/compwright/axios-oauth-client">axios-oauth-client</a></p>
</li>
</ol>
<div class="language-javascript highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-0-1"><span class="k">import</span><span class="w"> </span><span class="nx">axios</span><span class="w"> </span><span class="kr">from</span><span class="w"> </span><span class="s2">&quot;axios&quot;</span><span class="p">;</span>
<div class="language-javascript highlight"><pre><span></span><code><span id="__span-0-1"><span class="k">import</span><span class="w"> </span><span class="nx">axios</span><span class="w"> </span><span class="kr">from</span><span class="w"> </span><span class="s2">&quot;axios&quot;</span><span class="p">;</span>
</span><span id="__span-0-2"><span class="k">import</span><span class="w"> </span><span class="nx">oauth</span><span class="w"> </span><span class="kr">from</span><span class="w"> </span><span class="s2">&quot;axios-oauth-client&quot;</span><span class="p">;</span>
</span><span id="__span-0-3"><span class="kd">const</span><span class="w"> </span><span class="nx">getClientCredentials</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nx">oauth</span><span class="p">.</span><span class="nx">clientCredentials</span><span class="p">(</span>
</span><span id="__span-0-4"><span class="w"> </span><span class="nx">axios</span><span class="p">.</span><span class="nx">create</span><span class="p">(),</span>
Expand All @@ -674,23 +684,10 @@ <h1 id="oauth2-tokens">Oauth2 Tokens<a class="headerlink" href="#oauth2-tokens"
</span><span id="__span-0-9">
</span><span id="__span-0-10"><span class="kd">const</span><span class="w"> </span><span class="nx">auth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">await</span><span class="w"> </span><span class="nx">getClientCredentials</span><span class="p">(</span><span class="s2">&quot;OPTIONAL_SCOPES&quot;</span><span class="p">);</span>
</span><span id="__span-0-11"><span class="c1">// =&gt; { &quot;access_token&quot;: &quot;...&quot;, &quot;expires_in&quot;: 900, ... }</span>
</span></code></pre></div></td></tr></table></div>
</span></code></pre></div>
<h2 id="example-axios-oauth-client-usage">Example axios-oauth-client usage<a class="headerlink" href="#example-axios-oauth-client-usage" title="Permanent link">&para;</a></h2>
<p><a href="https://github.com/mshuber1981/work-life/blob/main/utils/auth.js#L31">auth.js line 31</a></p>
<div class="language-javascript highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-1-1"><span class="c1">// Client Credentials grant - https://github.com/compwright/axios-oauth-client#client-credentials-grant</span>
<div class="language-javascript highlight"><pre><span></span><code><span id="__span-1-1"><span class="c1">// Client Credentials grant - https://github.com/compwright/axios-oauth-client#client-credentials-grant</span>
</span><span id="__span-1-2"><span class="kd">const</span><span class="w"> </span><span class="nx">getAuth</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nx">oauth</span><span class="p">.</span><span class="nx">clientCredentials</span><span class="p">(</span>
</span><span id="__span-1-3"><span class="w"> </span><span class="nx">axios</span><span class="p">.</span><span class="nx">create</span><span class="p">(),</span>
</span><span id="__span-1-4"><span class="w"> </span><span class="nx">oauthEndpoint</span><span class="p">.</span><span class="nx">data</span><span class="p">[</span><span class="s2">&quot;aad-oauth-url&quot;</span><span class="p">],</span>
Expand All @@ -704,7 +701,7 @@ <h2 id="example-axios-oauth-client-usage">Example axios-oauth-client usage<a cla
</span><span id="__span-1-12"><span class="w"> </span><span class="nx">prodVault</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">client_id</span><span class="p">,</span>
</span><span id="__span-1-13"><span class="w"> </span><span class="nx">prodVault</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">secret</span>
</span><span id="__span-1-14"><span class="p">);</span>
</span></code></pre></div></td></tr></table></div>
</span></code></pre></div>



Expand Down Expand Up @@ -801,7 +798,7 @@ <h2 id="example-axios-oauth-client-usage">Example axios-oauth-client usage<a cla
<script id="__config" type="application/json">{"base": "../..", "features": ["content.code.copy", "navigation.footer"], "search": "../../assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="../../assets/javascripts/bundle.aecac24b.min.js"></script>
<script src="../../assets/javascripts/bundle.81fa17fe.min.js"></script>


</body>
Expand Down
53 changes: 29 additions & 24 deletions functions/csv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
<link rel="prev" href="../auth/">


<link rel="next" href="../general/">
<link rel="next" href="../excel/">


<link rel="icon" href="../../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.6">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.8">



<title>CSV Files - Work Life</title>



<link rel="stylesheet" href="../../assets/stylesheets/main.35e1ed30.min.css">
<link rel="stylesheet" href="../../assets/stylesheets/main.4b4a2bd9.min.css">


<link rel="stylesheet" href="../../assets/stylesheets/palette.356b1318.min.css">
Expand Down Expand Up @@ -451,6 +451,26 @@



<li class="md-nav__item">
<a href="../excel/" class="md-nav__link">


<span class="md-ellipsis">
Excel Files
</span>


</a>
</li>









<li class="md-nav__item">
<a href="../general/" class="md-nav__link">

Expand Down Expand Up @@ -670,23 +690,8 @@ <h1 id="comma-separated-values">Comma Separated Values<a class="headerlink" href
</ol>
<h2 id="example-usage">Example usage<a class="headerlink" href="#example-usage" title="Permanent link">&para;</a></h2>
<p><a href="https://github.com/mshuber1981/work-life/blob/main/test.csv">Example CSV file (test.csv)</a></p>
<p><a href="https://github.com/mshuber1981/work-life/blob/main/index.js#L4">index.js line 4</a></p>
<div class="language-javascript highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span>
<span class="normal">15</span>
<span class="normal">16</span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-0-1"><span class="c1">// Set CSV file name</span>
<p><a href="https://github.com/mshuber1981/work-life/blob/main/index.js#L9">index.js line 9</a></p>
<div class="language-javascript highlight"><pre><span></span><code><span id="__span-0-1"><span class="c1">// Set CSV file name</span>
</span><span id="__span-0-2"><span class="kd">const</span><span class="w"> </span><span class="nx">csvFileName</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;test&quot;</span><span class="p">;</span>
</span><span id="__span-0-3"><span class="kd">let</span><span class="w"> </span><span class="nx">csvArray</span><span class="p">;</span>
</span><span id="__span-0-4">
Expand All @@ -702,7 +707,7 @@ <h2 id="example-usage">Example usage<a class="headerlink" href="#example-usage"
</span><span id="__span-0-14"><span class="p">}</span><span class="w"> </span><span class="k">catch</span><span class="w"> </span><span class="p">(</span><span class="nx">error</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
</span><span id="__span-0-15"><span class="w"> </span><span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="sb">`</span><span class="si">${</span><span class="nx">error</span><span class="p">.</span><span class="nx">message</span><span class="si">}</span><span class="sb"> (check csvFilename - line 6)`</span><span class="p">);</span>
</span><span id="__span-0-16"><span class="p">}</span>
</span></code></pre></div></td></tr></table></div>
</span></code></pre></div>
<h2 id="example-output">Example output<a class="headerlink" href="#example-output" title="Permanent link">&para;</a></h2>
<div class="language-bash highlight"><pre><span></span><code><span id="__span-1-1">Reading<span class="w"> </span>test.csv
</span><span id="__span-1-2">Converting<span class="w"> </span>test.csv<span class="w"> </span>to<span class="w"> </span>an<span class="w"> </span>array:
Expand Down Expand Up @@ -754,13 +759,13 @@ <h2 id="example-output">Example output<a class="headerlink" href="#example-outpu



<a href="../general/" class="md-footer__link md-footer__link--next" aria-label="Next: General Stuff">
<a href="../excel/" class="md-footer__link md-footer__link--next" aria-label="Next: Excel Files">
<div class="md-footer__title">
<span class="md-footer__direction">
Next
</span>
<div class="md-ellipsis">
General Stuff
Excel Files
</div>
</div>
<div class="md-footer__button md-icon">
Expand Down Expand Up @@ -812,7 +817,7 @@ <h2 id="example-output">Example output<a class="headerlink" href="#example-outpu
<script id="__config" type="application/json">{"base": "../..", "features": ["content.code.copy", "navigation.footer"], "search": "../../assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="../../assets/javascripts/bundle.aecac24b.min.js"></script>
<script src="../../assets/javascripts/bundle.81fa17fe.min.js"></script>


</body>
Expand Down
Loading

0 comments on commit e47096b

Please sign in to comment.