Skip to content

Commit

Permalink
deploy: 36ee86c
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin committed Jan 21, 2025
1 parent 59cfc89 commit 1a4b1b4
Show file tree
Hide file tree
Showing 15 changed files with 176 additions and 159 deletions.
2 changes: 1 addition & 1 deletion cheatsheets/go/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ <h2>Topics</h2>




<a href="/dev-cheatsheets/cheatsheets/go/commands/">
<div>

Expand Down Expand Up @@ -903,7 +904,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/go/manage-packages/">
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/jekyll/cli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/jekyll/cli/commands/">
Expand Down Expand Up @@ -1477,6 +1476,7 @@ <h2>Topics</h2>






</div>
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/jekyll/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/jekyll/cli/">
Expand Down Expand Up @@ -323,6 +322,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/jekyll/code-blocks/">
Expand Down
6 changes: 3 additions & 3 deletions cheatsheets/package-managers/javascript/npm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ <h2>Topics</h2>









Expand Down Expand Up @@ -1483,9 +1486,6 @@ <h2>Topics</h2>









Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/python/builtins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/python/builtins/data-structures/">
Expand Down Expand Up @@ -1472,6 +1471,7 @@ <h2>Topics</h2>






</div>
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,6 @@ <h2>Topics</h2>




<a href="/dev-cheatsheets/cheatsheets/python/linting/">
<div>

Expand Down Expand Up @@ -1002,6 +1001,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/python/project-administration/">
Expand Down
8 changes: 8 additions & 0 deletions cheatsheets/python/install/change-default-version.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ <h2 id="macos">macOS</h2>
<span class="nv">$ </span>brew <span class="nb">link</span> <span class="nt">--force</span> [email protected]
</code></pre></div></div>

<p>Check it:</p>

<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>python3 <span class="nt">-V</span>
</code></pre></div></div>

Expand All @@ -186,6 +188,12 @@ <h2 id="macos">macOS</h2>

<p>If another Python is picked ahead of the Brew versions, check the order of values in <code class="language-plaintext highlighter-rouge">PATH</code> and set in your shell config.</p>

<p>Link with overwrite, from <a href="https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos">AZ CLI instructions</a>:</p>

<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>brew update <span class="o">&amp;&amp;</span> brew <span class="nb">install </span>[email protected] <span class="o">&amp;&amp;</span> brew upgrade [email protected]
<span class="nv">$ </span>brew <span class="nb">link</span> <span class="nt">--overwrite</span> [email protected]
</code></pre></div></div>


</div>
</article>
Expand Down
9 changes: 9 additions & 0 deletions cheatsheets/python/install/change-default-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ $ brew unlink [email protected]
$ brew link --force [email protected]
```

Check it:

```sh
$ python3 -V
```
Expand All @@ -19,3 +21,10 @@ $ which python
```

If another Python is picked ahead of the Brew versions, check the order of values in `PATH` and set in your shell config.

Link with overwrite, from [AZ CLI instructions](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos):

```sh
$ brew update && brew install [email protected] && brew upgrade [email protected]
$ brew link --overwrite [email protected]
```
2 changes: 1 addition & 1 deletion cheatsheets/python/project-administration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/python/project-administration/linting/">
Expand Down Expand Up @@ -1471,7 +1472,6 @@ <h2>Topics</h2>






</div>
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/python/type-checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/python/type-checks/data-structures/">
Expand Down Expand Up @@ -1485,7 +1486,6 @@ <h2>Topics</h2>






</div>
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/shell/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/shell/commands/">
Expand Down Expand Up @@ -372,7 +373,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/shell/compression/">
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets/terraform/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/terraform/cli-usage/">
Expand Down Expand Up @@ -319,7 +320,6 @@ <h2>Topics</h2>






<a href="/dev-cheatsheets/cheatsheets/terraform/code/">
Expand Down
8 changes: 4 additions & 4 deletions cheatsheets/version-control/git/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,6 @@ <h2>Topics</h2>










Expand All @@ -378,6 +374,10 @@ <h2>Topics</h2>







<a href="/dev-cheatsheets/cheatsheets/version-control/git/committing/">
<div>

Expand Down
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://michaelcurrin.github.io/dev-cheatsheets/feed.xml" rel="self" type="application/atom+xml" /><link href="https://michaelcurrin.github.io/dev-cheatsheets/" rel="alternate" type="text/html" /><updated>2025-01-21T09:28:42+00:00</updated><id>https://michaelcurrin.github.io/dev-cheatsheets/feed.xml</id><title type="html">Dev Cheatsheets</title><subtitle>A collection of code snippets and CLI guides for quick and easy reference while coding</subtitle><author><name>Michael Currin</name></author></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://michaelcurrin.github.io/dev-cheatsheets/feed.xml" rel="self" type="application/atom+xml" /><link href="https://michaelcurrin.github.io/dev-cheatsheets/" rel="alternate" type="text/html" /><updated>2025-01-21T13:43:24+00:00</updated><id>https://michaelcurrin.github.io/dev-cheatsheets/feed.xml</id><title type="html">Dev Cheatsheets</title><subtitle>A collection of code snippets and CLI guides for quick and easy reference while coding</subtitle><author><name>Michael Currin</name></author></feed>
Loading

0 comments on commit 1a4b1b4

Please sign in to comment.