fix dead links

This commit is contained in:
Tom 2025-02-03 13:09:36 +00:00
parent 2d5be13d47
commit 93f6d192c9
8 changed files with 8 additions and 9 deletions

3
.gitignore vendored
View File

@ -15,4 +15,5 @@ package-lock.json
*.pdf *.pdf
*.fbx *.fbx
*.secret *.secret
*.ipynb *.ipynb
/scripts/dead-link-checker

View File

@ -24,6 +24,7 @@ A list of things to check once in a while to make sure I haven't broken them ina
## Validators ## Validators
- [blacklight](https://themarkup.org/blacklight) - [blacklight](https://themarkup.org/blacklight)
- https://lens.rknight.me/
## Notes ## Notes
[Installation](https://jekyllrb.com/docs/installation/macos/) [Installation](https://jekyllrb.com/docs/installation/macos/)

View File

@ -60,8 +60,6 @@ parser = pe.compile(
parser.match("[ a, b , c ]").groups() parser.match("[ a, b , c ]").groups()
``` ```
NB: there is a [branch of pe](https://github.com/goodmami/pe/blob/fix-6-autoignore/), which hopefully will be merged soon, that includes the ability to auto-ignore whitespace.
We can now allow nested lists by changing the grammar slightly, we also add a hint to pe for what kind of python object to make from each rule: We can now allow nested lists by changing the grammar slightly, we also add a hint to pe for what kind of python object to make from each rule:
```python ```python
import pe import pe

View File

@ -30,7 +30,7 @@ That blog has an [rss feed](https://www.science.org/blogs/pipeline/feed), which
Playing around a bit more, adding in useragents, accepting cookies and following redirects, I eventually get back a page with a challenge that requires JS to run. This is the antithesis of how RSS should work! Playing around a bit more, adding in useragents, accepting cookies and following redirects, I eventually get back a page with a challenge that requires JS to run. This is the antithesis of how RSS should work!
Ok so to fix this I came upon [RSSHub](https://docs.rsshub.app/en/) which is a kind of RSS proxy, it parses sites that don't have RSS feeds and generates them for you. I saw that this has pupeteer support so I'm hopping that I can use it to bypass the anti-crawler tactics science.org is using. Ok so to fix this I came upon [RSSHub](https://docs.rsshub.app/) which is a kind of RSS proxy, it parses sites that don't have RSS feeds and generates them for you. I saw that this has pupeteer support so I'm hopping that I can use it to bypass the anti-crawler tactics science.org is using.
Anyway, for how here is a docker-compose.yml for both miniflux and RSSHub. What took me a while to figure out is that docker containers live in their own special network. So to subscribe to a selfhosted RSSHub feed you need to put something like "http://rsshub:1200/" where rsshub is the key to the image in the yaml file below. Anyway, for how here is a docker-compose.yml for both miniflux and RSSHub. What took me a while to figure out is that docker containers live in their own special network. So to subscribe to a selfhosted RSSHub feed you need to put something like "http://rsshub:1200/" where rsshub is the key to the image in the yaml file below.

View File

@ -31,7 +31,7 @@ Todo:
[github_issue]: https://github.com/preactjs/preact/issues/1961#issuecomment-537255092 [github_issue]: https://github.com/preactjs/preact/issues/1961#issuecomment-537255092
[blog]: https://til.simonwillison.net/gis/pmtiles [blog]: https://til.simonwillison.net/gis/pmtiles
[official_examples]: https://github.com/protomaps/PMTiles/blob/main/js/examples/maplibre.html [official_examples]: https://github.com/protomaps/PMTiles/blob/main/js/examples/maplibre.html
[maputnik]: maputnik.github.io/editor/ [maputnik]: https://maputnik.github.io/editor/
<figure id="map" style="width:100%; height:500px;"></figure> <figure id="map" style="width:100%; height:500px;"></figure>

View File

@ -13,7 +13,7 @@ head: |
A list of kicad related resources and tools. A list of kicad related resources and tools.
## [JLCPCB](jlcpcb.com) ## [JLCPCB](https://jlcpcb.com)
- [SMT Assembly](https://jlcpcb.com/smt-assembly) - [SMT Assembly](https://jlcpcb.com/smt-assembly)
- [Parts catalogue](https://jlcpcb.com/parts) - [Parts catalogue](https://jlcpcb.com/parts)

View File

@ -60,9 +60,8 @@ After initially thinking I would do some kind of charging tray type design I eve
This is what I've come up with so far, it's lasercut from 3mm ply (but I need to switch to 4mm because 3mm is a bit flimsy) This is what I've come up with so far, it's lasercut from 3mm ply (but I need to switch to 4mm because 3mm is a bit flimsy)
<figure class="two-wide"> <figure>
<img src="{{page.img.src}}"> <img src="{{page.img.src}}">
<img src="/assets/images/2024/usbc_psu/case_test.jpeg">
</figure> </figure>
I've put a 240x240 pixel colour screen on the front to show metrics like total charge power, temperature and maybe daily energy use. I've put a 240x240 pixel colour screen on the front to show metrics like total charge power, temperature and maybe daily energy use.

View File

@ -15,7 +15,7 @@ head: <link rel="stylesheet" href="/assets/css/thesis.css">
<p>The formal abstract follows but, in a paragraph, it's about what happens when many electrons interact together in a way where their 'quantumness' is important. It turns out that many weird and wonderful things can happen. Alas we, quantum physicists, don't have great mathematical tools to describe these things. Trying to fix that is what this thesis is about. <p>The formal abstract follows but, in a paragraph, it's about what happens when many electrons interact together in a way where their 'quantumness' is important. It turns out that many weird and wonderful things can happen. Alas we, quantum physicists, don't have great mathematical tools to describe these things. Trying to fix that is what this thesis is about.
<p>This is the <a href="thomashodson.com/thesis/">HTML version</a> of this document. A PDF version is available online with either <a href="https://github.com/TomHodson/Thesis/raw/main/thesis.pdf">normal</a> or <a href="https://github.com/TomHodson/Thesis/raw/main/double_line_spaced.pdf">double</a> line spacing. <p>This is the HTML version of this document. A PDF version is available online with either <a href="https://github.com/TomHodson/Thesis/raw/main/thesis.pdf">normal</a> or <a href="https://github.com/TomHodson/Thesis/raw/main/double_line_spaced.pdf">double</a> line spacing.
<h3>Contents</h3> <h3>Contents</h3>