Robpol86 / robpol86.com

My personal website.
https://robpol86.com/
BSD 2-Clause "Simplified" License
16 stars 5 forks source link

Update deps/bp #237

Closed Robpol86 closed 3 months ago

Robpol86 commented 3 months ago

Latest sphinx-disqus with fix for latest/future sphinx-book-theme.

Switching to poetry.toml. No longer need make init with poetry.toml.

New putty link, old one has been down.

Switch back to abatilo/actions-poetry: they finally switched to the pipx method. No real justification.

Using make deps instead of calling poetry install for consistency with other workflow files.

Split up make docs and cp, similar to what I did in sphinx-disqus repo.

Reduce truncate threshold in diff. In another branch I ran into API errors, request too big.

tool.poetry.group.dev optional=true: make dev dependencies optional, which is what I originally thought was the default behavior.

However I don't want to muck up my Makefile and GitHub Actions workflows with complexity for this small project. So the Makefile will always install dev dependencies anyway. Only implementing optional=true for consistent boilerplate (once I copy this over to other repos... one day).

github-actions[bot] commented 3 months ago

Diff Against Old HTML

M  _static/disqus.js
M  mib2_comp_media.html
Show 29 lines from disqus.js ```diff --- a/_static/disqus.js +++ b/_static/disqus.js @@ -1,11 +1,11 @@ var disqus_config; // Accessed by embed.js const SphinxDisqus = { init: function () { - let disqus_thread = $("#disqus_thread"); // Disqus
- let disqus_shortname = disqus_thread.data('disqus-shortname'); - let disqus_identifier = disqus_thread.data('disqus-identifier'); + let disqus_thread = document.getElementById('disqus_thread'); // Disqus
+ let disqus_shortname = disqus_thread.getAttribute('data-disqus-shortname'); + let disqus_identifier = disqus_thread.getAttribute('data-disqus-identifier'); // Disqus universal code below: https://disqus.com/admin/install/platforms/universalcode/ disqus_config = function () { this.page.identifier = disqus_identifier; }; @@ -14,8 +14,8 @@ const SphinxDisqus = { s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); }, }; -$(document).ready(function () { +document.addEventListener('DOMContentLoaded', function () { SphinxDisqus.init(); }); ```
Show 45 lines from mib2_comp_media.html ```diff --- a/mib2_comp_media.html +++ b/mib2_comp_media.html @@ -4,11 +4,11 @@ - + @@ -785,12 +785,12 @@ will go black. Let go and wait for it to finish starting back up automatically.<
  • 21/tcp (FTP, user/pass both ftpuser)

  • 23/tcp (Telnet, user is root with no password)

  • 513/tcp (Rlogin, haven’t used it yet)

-

FTP and telnet both grant you full access to the running OS and -filesystems. Some notes:

+

FTP and telnet both grant you full +access to the running OS and filesystems. Some notes:

  • SD card is mounted as read/write on /sdc1

  • You can keep Ethernet enabled, CarPlay still worked for me

  • Files added to /media and /persistence survive reboots, together there’s about 542 MiB of free space available

  • Looks like my unit has 1 GiB of RAM installed, with about half of it unused

  • @@ -1440,11 +1440,11 @@ Protocol : 0x00
```