Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Apr 7, 2024
1 parent 1b76ec8 commit a75e4aa
Show file tree
Hide file tree
Showing 12 changed files with 103 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/blog/degoogle.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:

## Pleasant surprises (6 month reflection)
- Lifestyle changed from chasing shininess to focusing on privacy and value.
- The are many incredible open source apps (list below). There are only a few apps that are painfully missing (traffic-aware navigation, banking). Often, there is an adequate web ui available.
- There are many incredible open source apps (list below). There are only a few apps that are painfully missing (traffic-aware navigation, banking). Often, there is an adequate web ui available.


## The mindset that would make the transition easier
Expand Down
11 changes: 11 additions & 0 deletions docs/blog/five-star-rank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 5-star ranking system

## Wine

| Rank | Meaning |
|-------|--------------------------------------------|
| ⭐⭐⭐⭐⭐ | Would drink again and again |
| ⭐⭐⭐⭐ | Good as gift or for hosting |
| ⭐⭐⭐ | A low cost for frequent consumption |
| ⭐⭐ | Could drink but wouldn't choose/buy myself |
|| Wouldn't drink even if free |
18 changes: 17 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
# 👋 See navbar 👆
## Playgrounds
[regex](https://regex101.com/), [jq](https://jqplay.org/), [rust](https://play.rust-lang.org), [godbolt](https://godbolt.org/)

## Editors
### Diagrams
[TablesGenerator](https://www.tablesgenerator.com/),
[Mermaid](https://mermaid.live),
[asciiflow](https://asciiflow.com/),
[Excalidraw](https://excalidraw.com/),
[Witeboard](https://witeboard.com)

### Text
[Hemingway Editor](https://hemingwayapp.com/),
[StackEdit](https://stackedit.io/app)

### Other
[YAML parser](https://yaml-online-parser.appspot.com/)
10 changes: 10 additions & 0 deletions docs/org-culture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Organizational culture

## Elon Musk's 5-step protocol[^1]
1. Make the requirements less dumb.
2. Try and delete part of the process.
3. Simplify and optimize the design (don't optimize something that shouldn't exist).
4. Accelerate cycle time (but don’t go faster until you've worked on the other three things first).
5. Automate (if a product is reaching the end of a production line with a high acceptance rate, there is no need for in-process testing).

[^1]: Jeff Haden (2023), [Elon Musk's 'Algorithm,' a 5-Step Process](https://www.inc.com/jeff-haden/elon-musks-algorithm-a-5-step-process-to-dramatically-improve-nearly-everything-is-both-simple-brilliant.html).
2 changes: 1 addition & 1 deletion docs/reading-list/2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Frame pointers: [1](https://ubuntu.com/blog/ubuntu-performance-engineering-with-frame-pointers-by-default), [2](https://www.polarsignals.com/blog/posts/2023/12/13/embracing-frame-pointers-in-ubuntu-24-04-lts)
- [Debian packaging guide](https://askubuntu.com/questions/1345/what-is-the-simplest-debian-packaging-guide#1451)
- [DNS in RAM](https://mullvad.net/en/blog/moving-our-encrypted-dns-servers-to-run-in-ram)
- [Exploratory data analysis with awk](awk.dev/eda.html)
- [Exploratory data analysis with awk](https://awk.dev/eda.html)

## Observability
- [Tracing methods](https://thume.ca/2023/12/02/tracing-methods/)
Expand Down
2 changes: 2 additions & 0 deletions docs/reading-list/comic-relief.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
Linus Torvalds, 2018

- [IP over Avian Carriers](https://en.wikipedia.org/wiki/IP_over_Avian_Carriers)

- [spurious correlations](https://tylervigen.com/spurious-correlations)
9 changes: 9 additions & 0 deletions docs/software/cheatsheet/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ideal bug report

## [Feature Name] Title
## Environment
## Steps to reproduce
## Expected Result
## Actual Result
## Visual Proof (screenshots, videos, text)
## Severity/Priority
31 changes: 31 additions & 0 deletions docs/software/cheatsheet/jq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# jq

[Playground](https://jqplay.org/)

## Merge list of dictionaries

```json
{
"root":
[
{
"name": "k1",
"property": "v1"
},
{
"name": "k2",
"property": "v2"
}
]
}
```

```
.root | map({(.name): (.property)}) | add
```
```json
{
"k1": "v1",
"k2": "v2"
}
```
6 changes: 6 additions & 0 deletions docs/software/cheatsheet/text.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Text manipulations

## Replace pattern in all files
```bash
find /path/to/search -type f -exec sed -i 's/old_text/new_text/g' {} +
```
10 changes: 0 additions & 10 deletions docs/software/thought/zen.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/zen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Zen-collage

- Duplication is far cheaper than the wrong abstraction.[^1]
- Pin libs to major version and apps to exact dependencies.[^2]

[^1]: [Sandi Metz, 2016](https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction).
[^2]: [Nathaniel J. Smith, 2017](https://stackoverflow.com/questions/28509481/should-i-pin-my-python-dependencies-versions/44938662#44938662).
10 changes: 8 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ remote_name: origin
remote_branch: gh-pages

nav:
- Home:
- Bookmarks: index.md
- 'Zen-collage': 'zen.md'
- 'Organizational culture': 'org-culture.md'
- Blog:
- 'Degoogled android phone': 'blog/degoogle.md'
- 'eBPF summit 2023 CTF': 'blog/ebpf-summit-2023-ctf.md'
- Sodastream: 'blog/sodastream.md'
- '5 stars': 'blog/five-star-rank.md'
- 'Reading lists':
- '2024': 'reading-list/2024.md'
- '2023': 'reading-list/2023.md'
Expand All @@ -17,8 +22,6 @@ nav:
- Process: 'reading-list/process.md'
- 'Comic relief': 'reading-list/comic-relief.md'
- Software:
- Thought:
- 'Zen-collage': 'software/thought/zen.md'
- Cheatsheet:
- Git: 'software/cheatsheet/git.md'
- "*craft": 'software/cheatsheet/starcraft.md'
Expand All @@ -29,6 +32,9 @@ nav:
- 'SSH': 'software/cheatsheet/ssh.md'
- 'Privacy online': 'software/cheatsheet/privacy-online.md'
- 'Exif tool': 'software/cheatsheet/exiftool.md'
- 'Bug report': 'software/cheatsheet/bug-report.md'
- jq: 'software/cheatsheet/jq.md'
- text: 'software/cheatsheet/text.md'

terminal-theme: &terminal-theme
name: terminal
Expand Down

0 comments on commit a75e4aa

Please sign in to comment.