Skip to content

Commit

Permalink
seo.yml: Add lychee args and fix broken links
Browse files Browse the repository at this point in the history
Signed-off-by: Norbert Kamiński <[email protected]>
  • Loading branch information
Norbert Kamiński committed Jul 31, 2023
1 parent 79cdf50 commit ff2725a
Show file tree
Hide file tree
Showing 78 changed files with 240 additions and 253 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
extended: true

- name: Serve site
run: |
hugo serve -s blog/ -b http://localhost:1313 --bind=0.0.0.0 &
sleep 10
- name: Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
fail: true
args: --max-redirects 10 -a 403,500,503 .
args: |
--max-concurrency 20 --max-redirects 10 -a 403,429,500,502,503,999 .
seo_spy_orphan_pages:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
.Permalink
themes/3mdeb/layouts
[email protected]
https://www.embedded-world.de/
https://www.paypal.com/cgi-bin/webscr
https://twitter.com
localhost:1313
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ There is possibility to check whether new post is well formatted:
1. Once your Pull Request gets merged to `develop`, the blog should be
automatically deployed to the [beta](https://beta.blog.3mdeb.com). You can
check the deploy job status on the
[travis-ci.com](https://travis-ci.com/3mdeb/news-and-ideas)
[github action](https://github.com/3mdeb/news-and-ideas/actions/workflows/build.yml)

### Deployment on `production` blog

When the blog's status in [beta](https://beta.blog.3mdeb.com) is acceptable, we
can deploy to [production](https://blog.3dmeb.com). To do that, simply create
can deploy to [production](https://blog.3mdeb.com). To do that, simply create
the Pull Request from `develop` to `master`. Once it gets merged, the same
version of blog should be deployed to [production](https://blog.3mdeb.com). You
can check the deploy job status on the
[travis-ci.com](https://travis-ci.com/3mdeb/news-and-ideas)
[github action](https://github.com/3mdeb/news-and-ideas/actions/workflows/build.yml)

### Add new profile page

Expand Down
2 changes: 1 addition & 1 deletion blog/content/authors/artur-kowalski/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ photo: "/authors/artur.kowalski.jpg"
facebook: ""
twitter: ""
linkedin: ""
github: "https://github.com/arturkow2000"
github: "https://github.com/arturkow2"
---

Junior embedded developer at 3mdeb. Interested in low-level development ranging
Expand Down
2 changes: 1 addition & 1 deletion blog/content/authors/dawid-zebacki/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ photo: "/authors/artur.kowalski.jpg"
facebook: ""
twitter: ""
linkedin: ""
github: "https://github.com/arturkow2000"
github: "https://github.com/arturkow2"
---

Junior Web Engineer at 3mdeb - Embedded Systems Consulting. Passionate about web
Expand Down
4 changes: 2 additions & 2 deletions blog/content/post/2012-01-06-flashrom-and-shuttle-av18e2.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Next post I will try to familiarize you with the process of debugging coreboot
using [QEMU][5].

[1]: http://www.flashrom.org/
[2]: http://www.flashrom.org/Supported_hardware
[3]: http://www.flashrom.org/Board_Testing_HOWTO
[2]: https://web.archive.org/web/20220717151028/https://www.flashrom.org/Supported_hardware
[3]: https://web.archive.org/web/20230512204152/https://www.flashrom.org/Board_Testing_HOWTO
[4]: http://www.shuttle.eu/_archive/older/de/av18.htm
[5]: http://wiki.qemu.org/Main_Page
2 changes: 1 addition & 1 deletion blog/content/post/2012-02-20-hostname-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ fantasy is "Characters from Tolkien". Although the category name does not
reflect the truth, because in addition also includes a set of known sites in
middlearth and more. So I recommend:

<http://rospo.net/webproducts/name/index.php>
<https://web.archive.org/web/20120704205514/http://rospo.net/webproducts/name/index.php>
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,14 @@ does not have the possibility of direct downloading video files. But there is a
workaround. Follow below tutorial:

- Go to page with video - for
[example](http://video.linux.com/videos/to-provide-a-long-term-stable-linux-for-industry)
[example](https://web.archive.org/web/20160404115528/http://video.linux.com/videos/to-provide-a-long-term-stable-linux-for-industry)
- Click play on the video and if you using Chrome browser right click on player
window and inspect this element. Result should look like that:

![img](/img/chrome-inspect1.png)

- Expand div tag marked in red on screenshot above. If video was start you
should see video tag which contain two links to video files mp4 and webm.
Screen shot below shows hot it should look like:

![img](http://3.bp.blogspot.com/-waLmSIB4LAI/T39VlAF5P7I/AAAAAAAAAEo/79bUg5p-sw/s400/Untitled1.png)

These links are only temporary, so if you want to use them do it as soon as
possible. The sad part of all is that the organization intended to promote one
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ end
As RoR tutorial states.
[1]: http://ruby.railstutorial.org/chapters/a-demo-app#top
[1]: https://web.archive.org/web/20130218224540/http://ruby.railstutorial.org/chapters/a-demo-app
[2]: http://stackoverflow.com/questions/3747002/heroku-rails-3-and-sqlite3
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ poor. Also activity of tmux developers is better than for gnu screen. I also
experienced annoy buffer crashing especially after come back from lock mode or
cmatrix much but after reading few articles about alternative for screen I
switched to tmux. It seems that in wheezy(testing) version of tmux is outdated
(1.6.2). Last tag on tmux [sourceforge repo][1] is 1.7 and there is almost 300
(1.6.2). Last tag on tmux [github repo][1] is 1.7 and there is almost 300
additional commits on top of the master branch. Debian unstable contain version
1.7.2 it is pretty new. Awesome thing in tmux is emacs/vi keybiding for
copy-mode. It really helps with writing technical articles about linux stuff
Expand All @@ -33,4 +33,4 @@ put to `$HOME/.tmux.conf`:
setw -g mode-keys vi
```

[1]: http://sourceforge.net/p/tmux/tmux-code/?source=navbar
[1]: https://github.com/tmux/tmux
4 changes: 2 additions & 2 deletions blog/content/post/2013-03-30-music-for-programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ experience.
[4]: http://www.explosionsinthesky.com/
[5]: http://twdy.tumblr.com/
[6]: http://www.65daysofstatic.com/
[7]: http://www.redsparowes.com/News.aspx
[8]: http://mogwai.sandbag.uk.com/lesrevenants/
[7]: https://web.archive.org/web/20120717094255/http://www.redsparowes.com/News.aspx
[8]: https://web.archive.org/web/20130716145845/http://mogwai.sandbag.uk.com/lesrevenants/
[9]: http://www.sigur-ros.co.uk/
[10]: https://www.enniomorricone.org/
[11]: http://elsew.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,13 @@ To simplify multiple accounts configuration I added two things:
- separated account files configuration - in my case placed in
`$HOME/.mutt/accounts`

set postponed = <[email protected]>/Drafts set spoolfile =
<[email protected]>/INBOX set record = <[email protected]>/Sent set from
= '<[email protected]>' set realname = 'My Name' set smtp_url =
smtps://[email protected]:587 set smtp_pass = $my_pass set signature =
"~/.mutt/signature.example"
```bash
set postponed = <[email protected]>/Drafts set spoolfile =
<[email protected]>/INBOX set record = <[email protected]>/Sent set from
= '<[email protected]>' set realname = 'My Name' set smtp_url =
smtps://[email protected]:587 set smtp_pass = $my_pass set signature =
"~/.mutt/signature.example"
```

- folder hooks for particular account - it cause automatic loading of
configurations when folder was changed (in `$HOME/muttrc`):
Expand Down Expand Up @@ -202,6 +204,6 @@ reading.
[1]: http://ethanschoonover.com/solarized
[2]: https://github.com/sigurdga/gnome-terminal-colors-solarized
[3]: https://github.com/altercation/mutt-colors-solarized
[4]: http://www.clasohm.com/blog/one-entry?entry_id=90957
[4]: https://web.archive.org/web/20110722113402/http://www.clasohm.com/blog/one-entry?entry_id=90957
[5]: /2012/02/19/improve-productivity-by-tracking-work
[6]: /2012/02/20/improve-productivity-by-tracking-work_20
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ one tool is the input for different tool. This is well known concept in Linux
(eg. pipes). In embedded environment toolchain is called cross-toolchain or
cross-compiler, because usually it compiles on one architecture and generate
code for another
[eg. it compiles on x86 and generate code for arm](%5B1)\](<http://elinux.org/Toolchains>).
[eg. it compiles on x86 and generate code for arm](http://elinux.org/Toolchains).

### Why we need cross-toolchain ?

Expand Down Expand Up @@ -154,4 +154,4 @@ with bootloader.
### Kudos
[1] [Toolchains](http://elinux.org/Toolchains)
- [Toolchains](http://elinux.org/Toolchains)
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Motorola 68000 (m68k) around Spring/Summer of 1994. I found also notes about
SPARC port in 1993. Some sources also tells story about 1993 Amiga and Atari
port. But first port that get in to official linux tree was DEC
Alpha.
[\[1\] http://digital-domain.net/lug/unix-linux-history.html%5D(%5B2)%5D}](http://www.arm.linux.org.uk/docs/history.php)>

So linux is already 22 years old and first port start when it was 2-3 years old,
so we can assume it is mature enough to support most of non-x86 architectures.
Expand Down Expand Up @@ -130,6 +129,5 @@ manually modified. So using uImage is easiest

### Kudos

\[1\]
[UNIX/Linux History](http://digital-domain.net/lug/unix-linux-history.html)</br>
\[2\] [The History of ARM Linux](http://www.arm.linux.org.uk/docs/history.php)
* [UNIX/Linux History](http://digital-domain.net/lug/unix-linux-history.html)
* [The History of ARM Linux](http://www.arm.linux.org.uk/docs/history.php)
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ To make our embedded linux work as virtual development platform we need some
environment after booting. There is many approaches to get working root file
system but I will use the easiest one as an exercise. I don't want to create
full embedded distribution (this is good plan for future works). Right now I
will be happy with simple initramfs based on [BusyBox](http://busybox.net/).
will be happy with simple initramfs based on [BusyBox](https://web.archive.org/web/20230722072606/https://busybox.net/).

For all interested in creating own root filesystem there are few places where
you can find information:

- [Embedded Linux: Small Root Filesystems](http://lwn.net/Articles/210046/)
- [ramfs-rootfs-initramfs](https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt)
- [Creating a Root File System for Linux on OMAP35x](http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x)
- [Creating a Root File System for Linux on OMAP35x](https://web.archive.org/web/20120225203705/http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x)

### Get and build BusyBox

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ seconds on each google-type-click cycle.

Depending on different factors we spend a lot of time in browser. I cannot find
statistics for desktops but for mobile
[Flurry](http://blog.flurry.com/bid/95723/Flurry-Five-Year-Report-It-s-an-App-World-The-Just-Web-Lives-in-It)
[Flurry](https://web.archive.org/web/20130404111802/http://blog.flurry.com/bid/95723/Flurry-Five-Year-Report-It-s-an-App-World-The-Just-Web-Lives-in-It)
researches are probably relevant enough. Simplifying this statistics and
assuming that desktop market is similar (it is probably to big simplification
for some of you but IMHO it is good for reflections on this blog):
Expand Down Expand Up @@ -90,7 +90,7 @@ need below fields:
Unfortunately I was unhappy with choice presented on Chrome extension site
because I find that it is not easy to met my expectations - this is probably
market niche to explore. For today I choose
[Currency Converter](https://chrome.google.com/webstore/detail/currency-converter/lncdobdbibdgoiohgnflmjajfphcnakg).
[Currency Converter](https://chrome.google.com/webstore/detail/chrome-currency-converter/anbfhidldjknonaihbalghlebaijealk).
It has pretty good rate 4.5 star/444 opinions. One thing I don't like is that I
cannot set every field as I wish. Ratio always relate to recent changed
position. I also cannot display stock rate. That's why I will have to use one
Expand All @@ -105,7 +105,7 @@ a recently visited site.

There are plenty of extensions for Chrome and not a lot of really good one. I
found
[Stock Tracker](https://chrome.google.com/webstore/detail/stock-tracker/gphdmnilpmjaioploikmbpgkjfbagidf)
[Stock Tracker](https://chrome.google.com/webstore/detail/finance-toolbar-real-time/cichbngoomgnobmmjpagmbkimbamigie)
useful because it shows price in the icon on toolbar. But it is not free from
small bugs, for example INTC price is 4 digit with dot (00.00) and inadequate
font size selection causing that last digit is visible only in half, which cause
Expand All @@ -124,21 +124,20 @@ Probably most of this pages are well known for you. What we can do with this
information ?

For
[wiki](https://chrome.google.com/webstore/detail/lookup-companion-for-wiki/dhgpkiiipkgmckicafkhcihkcldbdeej)
[wiki](https://chrome-stats.com/d/dhgpkiiipkgmckicafkhcihkcldbdeej/download)
and
[stackoverflow](https://chrome.google.com/webstore/detail/search-stackoverflow/gmdolelhfhbldobljhbhdgljbajhfilj)
[stackoverflow](https://chrome.google.com/webstore/detail/stackoverflow-search-tool/hnjcboogacdbabimdiblilojlldfkhlm)
there are extensions that help get search engine of those sites. I found that
usually google +stockoverflow works better than this extension but it is worth a
try. Wiki works without any problem and only our habits can stop us by using it.

I use a lot of [chess.com](http://www.chess.com) what I found useful with this
is
[Chess.com Notifier](https://chrome.google.com/webstore/detail/chesscom-notifier/khihkgdcfbjdnfgalkjnimbmofnhhpho)
it change color when some pending move in my games. Unfortunately I get to
[www.chessgames.com](http://www.chessgames.com) though google looking for
particular position in game - right now I can't find easy way to improve this
other than paying for access to good database with defined interface or using my
own database.
Chess.com Notifier it change color when some pending move in my games.
Unfortunately I get to [www.chessgames.com](http://www.chessgames.com) though
google looking for particular position in game - right now I can't find easy
way to improve this other than paying for access to good database with defined
interface or using my own database.

I'm sure that you have some clues how to improve your productivity using Google
history or you will find application for suggested plugins. Anyway, I wish you
Expand Down
6 changes: 3 additions & 3 deletions blog/content/post/2014-08-18-linux-rpi-and-usb-over-ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ stubbed device on client side and also send and receive data to/from server. We
can say that stub-VHCI pair working as intermediate layer in USB stack, giving
ability to connect over the netowork. `usbip` project provided both Linux and
Windows version. In mid of 2008 `usbip` was introduced to Linux kernel and
matured a while in staging directory. Few days ago I read
[this](http://thread.gmane.org/gmane.linux.kernel/1763771) were Greg KH mention
that if it will be possible he will include `usbip` in `3.17-rc2`.
matured a while in staging directory. Few days ago I read thread where
Greg KH mention that if it will be possible he will include `usbip` in
`3.17-rc2`.

As you can expect the biggest problem with USB over IP is how to handle
480Mbit/s (USB2.0) or more over TCP/IP payload. The answer is it can't.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ categories:
---

January 23th Espressif published new ESP IOT SDK on their forum
[v0.9.5](http://bbs.espressif.com/viewtopic.php?f=5&t=154). My ESP-12 came with
with pretty old version so I decide to update it to latest one:
[v0.9.5](https://web.archive.org/web/20180103003322/http://bbs.espressif.com/viewtopic.php?f=5&t=154).
My ESP-12 came with with pretty old version so I decide to update it to
latest one:

```bash
AT+RST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ categories:
---

Because of increasing interesting in USB over IP topic I decided to refresh my
[old post](2014/08/18/linux-rpi-and-usb-over-ip/). I will focus on doing the
same thing with more recent version of Raspabian. If you need more information
please read my previous post.
[old post](https://blog.3mdeb.com/2014/2014-08-18-linux-rpi-and-usb-over-ip/).
I will focus on doing the same thing with more recent version of Raspabian.
If you need more information please read my previous post.

## Setup SD card

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ scons: *** [.pioenvs/lpmsp430f5529_25/firmware.elf] Error 1

Of course adding main.cpp to src directory fix this issue. As sample code you
may use
[MSP430F55xx_1.c](http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430F5xx_6xx%2FMSP430F55xx_Code_Examples%2FC%2FMSP430F55xx_1.c&source=content)
[MSP430F55xx_1.c](https://web.archive.org/web/20160406191606/http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430F5xx_6xx%2FMSP430F55xx_Code_Examples%2FC%2FMSP430F55xx_1.c&source=content)

### libmsp430.so: cannot open shared object file

Expand Down Expand Up @@ -138,10 +138,9 @@ Fix for that according to error log should be like this:
$HOME/.platformio/packages/tool-mspdebug/mspdebug tilib --allow-fw-update
```
But this can cause additional problems that I reported
[here](https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/456610/1710377#1710377).
But this can cause additional problems that I reported.
I finally managed to fix problem using hints from
[Agla Blog](http://www.aglaglobal.com/content/recover-broken-fet-msp430f5529-launchpad-after-ccs-crashes-during-firmware-update).
[Agla Blog](https://web.archive.org/web/20160317070223/http://www.aglaglobal.com/content/recover-broken-fet-msp430f5529-launchpad-after-ccs-crashes-during-firmware-update).
Because `gcc-msp430` was removed from Debian Sid we have to use compiler
delivered by `platformio` to test blinky example from Agla blog:
Expand Down Expand Up @@ -245,7 +244,7 @@ debugger prompt, what means that process finished correctly and we can access
### MSP430F5529LP
Please download
[MSP430F55xx_1.c](http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430F5xx_6xx%2FMSP430F55xx_Code_Examples%2FC%2FMSP430F55xx_1.c&source=content)
[MSP430F55xx_1.c](https://web.archive.org/web/20160711051506/http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430F5xx_6xx%2FMSP430F55xx_Code_Examples%2FC%2FMSP430F55xx_1.c&source=content)
and save it as `src/main.c`. Then run:
```bash
Expand All @@ -257,7 +256,7 @@ If you see blinking red `P1.0 LED1` then everything works as expected.
### MSP430FR5969
Please download
[msp430fr59xx_1.c](http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430FR5xx_6xx%2FMSP430FR596x_MSP430FR595x_MSP430FR594x_MSP430FR586x_MSP430FR585x_MSP430FR584x_Code_Examples%2FC%2Fmsp430fr59xx_1.c&source=content)
[msp430fr59xx_1.c](https://web.archive.org/web/20160712215420/http://dev.ti.com/tirex/api/download?file=mspware%2Fmspware__2.30.00.49%2Fexamples%2Fdevices%2FMSP430FR5xx_6xx%2FMSP430FR596x_MSP430FR595x_MSP430FR594x_MSP430FR586x_MSP430FR585x_MSP430FR584x_Code_Examples%2FC%2Fmsp430fr59xx_1.c&source=content)
and save it as `src/main.c`. Then run:
```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ categories:
- OS Dev
---

In [previous post](2016/03/12/pxe-server-with-raspberry-pi-1/) I described how
to setup PXE server and boot Debian installer using it. I mentioned that
provided setup is limited and some extensive configuration is needed to make it
useful for real world example. Since that time I learned that there is
[chain command](http://ipxe.org/cmd/chain) in iPXE, which give ability to use
arbitrary TFTP server as boot file source.
In [previous post](https://blog.3mdeb.com/2016/2016-03-12-pxe-server-with-raspberry-pi-1/)
I described how to setup PXE server and boot Debian installer using it.
I mentioned that provided setup is limited and some extensive configuration
is needed to make it useful for real world example. Since that time I learned
that there is [chain command](http://ipxe.org/cmd/chain) in iPXE, which give
ability to use arbitrary TFTP server as boot file source.

## Using RPi PXE server

For example by changing my test network topology from
[previous post](2016/03/12/pxe-server-with-raspberry-pi-1/) to something like
that:
[previous post](https://blog.3mdeb.com/2016/2016-03-12-pxe-server-with-raspberry-pi-1/)
to something like that:

![img](/img/pxe_srv_apu2.png)

Expand Down
Loading

0 comments on commit ff2725a

Please sign in to comment.