Skip to content

Commit 497640c

Browse files
committed
Add gaming codex bits
1 parent d084c8c commit 497640c

File tree

9 files changed

+79
-21
lines changed

9 files changed

+79
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
22
title = "Windows"
3-
description = "A fickle, proprietary fragile, expensive monstrosity."
3+
description = "A fickle, proprietary, fragile, expensive monstrosity."
44
sort_by = "weight"
55
template = "blog/list.html"
66

@@ -16,26 +16,38 @@ source = "https://unsplash.com/photos/-qzLjuJEmsE"
1616

1717
<!-- more -->
1818

19-
# Use PowerShell
19+
# Use a Package Manager
20+
21+
Use `winget` if you can!
2022

21-
To get to a PowerShell from a command prompt:
23+
# Use Nushell
2224

23-
```bat
24-
powershell
25+
```powershell
26+
winget install Nushell.Nushell
2527
```
2628

27-
You can also hit the Windows (⊞) key and type in "PowerShell" to find a PowerShell Prompt.
29+
# Git
2830

29-
I prefer to configure my IDEs to also use PowerShell. In Visual Studio Code (VSCode):
31+
Git on Windows is a... 'special' flower.
3032

31-
```js
32-
// Settings.json
33-
{
34-
// ...
35-
"terminal.integrated.shell.windows": "powershell.exe"
36-
}
33+
```powershell
34+
winget install Git.Git
3735
```
3836

39-
# Use a Package Manager
37+
On big clones errors like this are common:
38+
39+
```powershell
40+
$ git clone --recurse-submodules -j16 [email protected]:boop/droop.git
41+
Cloning into 'droop'...
42+
remote: Enumerating objects: 2673758, done.
43+
remote: Counting objects: 100% (49873/49873), done.
44+
remote: Compressing objects: 100% (14594/14594), done.
45+
fetch-pack: unexpected disconnect while reading sideband packetB/s
46+
fatal: fetch-pack: invalid index-pack output
47+
```
48+
49+
Pass `--depth 1` to improve the chance it might succeed. Then:
4050

41-
Use `winget` if you can!
51+
```powershell
52+
git fetch --unshallow
53+
```

content/codex/development/nu/_index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ pacman -S nu
6363

6464
`nu` doesn't have a `>` pipe. Instead:
6565

66-
```nu
66+
```
6767
cat floof | save boop
6868
```
6969

7070
For `>>`:
7171

72-
```nu
72+
```
7373
cat floof | save -a boop
7474
```
7575

@@ -79,14 +79,14 @@ Loops differ syntactically from `bash` in several ways.
7979

8080
For example, unpacking all the archives in the parent directory into the current directory:
8181

82-
```nu
82+
```
8383
for archive in (ls .. | where type != dir) { tar xvf $archive.name }
8484
```
8585

8686
Similar, but unarchiving into named directories:
8787

8888

89-
```nu
89+
```
9090
for archive in (ls | where type != dir) {
9191
let archive_stem = $archive.name | path parse | get stem
9292
mkdir $archive_stem
@@ -115,6 +115,6 @@ While `fish` it looks like:
115115

116116
On `nu` we do this:
117117

118-
```nu
118+
```
119119
./x.py --stage 2 dist ...(python ferrocene/ci/split-tasks.py dist | split row " ")
120120
```

content/codex/gaming/_index.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
+++
2+
title = "Gaming"
3+
description = "Interactivity and escapism"
4+
sort_by = "weight"
5+
template = "blog/list.html"
6+
7+
[extra]
8+
in_menu = true
9+
10+
[extra.image]
11+
path = "cover.jpg"
12+
colocated = true
13+
photographer = "Alexey Savchenko"
14+
source = "https://unsplash.com/photos/dualshock-4-k4Akpt5-Sfk"
15+
+++
16+

content/codex/gaming/cover.jpg

713 KB
Loading
536 KB
Loading

content/codex/gaming/hades_2/index.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
+++
2+
title = "Hades 2"
3+
description = "A gorgeous rogue-lite ARPG."
4+
template = "blog/single.html"
5+
weight = 0
6+
7+
[extra]
8+
in_menu = true
9+
10+
[extra.image]
11+
path = "fields.jpg"
12+
colocated = true
13+
photographer = "Ana Hobden"
14+
+++
15+
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
+++
2+
title = "Helldivers 2"
3+
description = "Far too much fun with friends."
4+
template = "blog/single.html"
5+
weight = 0
6+
7+
[extra]
8+
in_menu = true
9+
10+
[extra.image]
11+
path = "purple.jpg"
12+
colocated = true
13+
photographer = "Ana Hobden"
14+
+++
15+
657 KB
Loading

sass/_post.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ div.reading-time {
4040
}
4141
}
4242

43-
div.tags {
43+
div.tags:has(a) {
4444
&::before {
4545
content: "Tagged ";
4646
}

0 commit comments

Comments
 (0)