5_years_of_miscellaneous_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
5_years_of_miscellaneous_notes [2025/02/03 19:12] – dougy147 | 5_years_of_miscellaneous_notes [2025/02/03 19:25] (current) – dougy147 | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | :!: Those are random | + | :!: This is a //pot pourri// of notes I took when confronted to unique or recurrent problems. |
Be careful as some of them could be obsolete. :-? | Be careful as some of them could be obsolete. :-? | ||
Line 32: | Line 32: | ||
In `/ | In `/ | ||
- | # Upgrade every OpenWrt packages | + | # Upgrade every OpenWrt packages |
```console | ```console | ||
Line 47: | Line 47: | ||
``` | ``` | ||
- | # Dump mysql database | + | # Dump a mysql database |
```console | ```console | ||
Line 55: | Line 55: | ||
``` | ``` | ||
- | # Sort in place and keep unique | + | # Sort in place and remove duplicate lines |
``` | ``` | ||
Line 61: | Line 61: | ||
``` | ``` | ||
- | # Process substitution to filter | + | # Filter |
``` | ``` | ||
Line 67: | Line 67: | ||
``` | ``` | ||
- | This will print "hello world" on screen, but keep only " | + | This uses process substitution, |
Line 73: | Line 73: | ||
```console | ```console | ||
- | # web history sorted by date | + | # display |
- | $ sqlite3 ~/ | + | $ sqlite3 ~/ |
- | # unique | + | # display all unique visited |
- | $ sqlite3 ~/ | + | $ sqlite3 ~/ |
``` | ``` | ||
Line 122: | Line 122: | ||
Now you can write `echo "this is printed" | Now you can write `echo "this is printed" | ||
- | # Break lines when compiling " | + | # Break lines in code blocks |
Add this to the YAML header options: | Add this to the YAML header options: |
5_years_of_miscellaneous_notes.1738609927.txt.gz · Last modified: by dougy147