Skip to content

Commit 8ceba19

Browse files
committed
chore(submodule): update radion, adjust codeblocks for radion fixes
1 parent 10b5aa9 commit 8ceba19

7 files changed

Lines changed: 7 additions & 99 deletions

File tree

content/fabric/index.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ tags = ["ai", "cli"]
1111
toc = true
1212
+++
1313

14-
Fabric is a CLI tool that takes a different approach to interfacing with AI
15-
providers. Learn how Fabric has
14+
A different type of CLI AI tool.
15+
16+
<!-- more -->
1617

1718
## Introduction
1819

@@ -78,7 +79,6 @@ command to serve as the input for another using the pipe symbol (`|`). For
7879
example:
7980

8081
```bash
81-
8282
command1 | command2
8383
```
8484

@@ -87,7 +87,6 @@ further. This composability is central to Fabric’s effectiveness, enabling
8787
users to chain commands to create powerful workflows. For instance:
8888

8989
```bash
90-
9190
pbpaste | fabric -p extract_wisdom | fabric -p create_micro_summary
9291
```
9392

@@ -115,7 +114,6 @@ Download the binary executable: [link](replace-me)
115114
macOS (arm64)
116115

117116
```bash
118-
119117
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-darwin-arm64 > fabric
120118
chmod +x fabric
121119
./fabric --version
@@ -124,7 +122,6 @@ chmod +x fabric
124122
macOS (amd64)
125123

126124
```bash
127-
128125
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-darwin-amd64 > fabric
129126
chmod +x fabric
130127
./fabric --version
@@ -133,7 +130,6 @@ chmod +x fabric
133130
Linux (amd64)
134131

135132
```bash
136-
137133
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-linux-amd64 > fabric
138134
chmod +x fabric
139135
./fabric --version
@@ -142,7 +138,6 @@ chmod +x fabric
142138
Linux (arm64)
143139

144140
```bash
145-
146141
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-linux-arm64 > fabric
147142
chmod +x fabric
148143
./fabric --version
@@ -159,7 +154,6 @@ For macOS and Arch Linux users, package managers simplify installation:
159154
> configuration (e.g., `~/.bashrc` or `~/.zshrc`):
160155
161156
```bash
162-
163157
alias fabric='fabric-ai'
164158
```
165159

@@ -169,7 +163,6 @@ For those preferring to build from source, ensure Go is installed ([Go
169163
Installation](https://go.dev/doc/install)), then run:
170164

171165
```bash
172-
173166
go install github.com/danielmiessler/fabric@latest
174167
```
175168

@@ -178,7 +171,6 @@ Set environment variables in your shell configuration:
178171
**Intel-based Macs or Linux**:
179172

180173
```bash
181-
182174
export GOROOT=/usr/local/go
183175
export GOPATH=$HOME/go
184176
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
@@ -187,7 +179,6 @@ export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
187179
**Apple Silicon Macs**:
188180

189181
```bash
190-
191182
export GOROOT=$(brew --prefix go)/libexec
192183
export GOPATH=$HOME/go
193184
export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
@@ -196,7 +187,6 @@ export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
196187
Complete the setup with:
197188

198189
```bash
199-
200190
fabric --setup
201191
```
202192

@@ -205,7 +195,6 @@ fabric --setup
205195
To upgrade to the latest version, run:
206196

207197
```bash
208-
209198
go install github.com/danielmiessler/fabric@latest
210199
```
211200

@@ -218,7 +207,6 @@ for other platforms include:
218207
PowerShell profile (`~\Documents\PowerShell\.profile.ps1`):
219208

220209
```powershell
221-
222210
Set-Alias pbpaste Get-Clipboard
223211
```
224212

content/missing-semester/index.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ the course and through my own exploration:
4242
### 1.1 Using switch instead of checkout
4343

4444
```bash
45-
4645
# Using `switch` instead of `checkout`
4746
git switch -c new-branch
4847

@@ -59,7 +58,6 @@ for beginners. It is also more consistent with other Git commands, such as
5958
### 1.2 Learning to use rebase
6059

6160
```bash
62-
6361
# Rebasing a feature branch on top of the main branch to keep the commit
6462
# history clean
6563
git switch main
@@ -121,7 +119,6 @@ making it easier to understand and navigate.
121119
### 1.3 Stashing changes
122120

123121
```bash
124-
125122
# Stashing changes before switching branches
126123
git stash
127124

@@ -163,7 +160,6 @@ every time I need to resize a window compound into minutes and hours saved over
163160
time. Here's a snippet of the `window.lua` script I wrote to do this:
164161

165162
```lua
166-
167163
-- Bind Option+Command+Arrow keys to move windows
168164
hs.hotkey.bind({"cmd", "alt"}, "left", function() moveWindowToGrid(1) end) -- Move window to left half
169165
hs.hotkey.bind({"cmd", "alt"}, "right", function() moveWindowToGrid(2) end) -- Move window to right half
@@ -202,7 +198,6 @@ commands easier to type and remember. Here are some examples of aliases that you
202198
can add to your `.bashrc` or `.zshrc` file to make your life easier:
203199

204200
```bash
205-
206201
# Example aliases
207202
alias ll="ls -la"
208203
alias gs="git status"
@@ -217,7 +212,6 @@ In my `.gitconfig` file, I have also set up aliases to enhance the `graph` and
217212
`log` commands:
218213

219214
```bash
220-
221215
# .gitconfig
222216
[alias]
223217
graph = log --all --graph --decorate --oneline
@@ -231,14 +225,12 @@ To set up a dotfiles repository, you can follow these steps:
231225
1\. Create a new directory for your dotfiles repository in your home directory:
232226

233227
```bash
234-
235228
mkdir ~/.dotfiles # or any other name you prefer
236229
```
237230

238231
2\. Initialize a new Git repository in the directory:
239232

240233
```bash
241-
242234
cd ~/.dotfiles
243235
git init
244236
```
@@ -247,15 +239,13 @@ git init
247239
your home directory:
248240

249241
```bash
250-
251242
mv ~/.bashrc ~/.dotfiles
252243
ln -s ~/.dotfiles/.bashrc ~/.bashrc
253244
```
254245

255246
You can view all of your configuration files with the following command:
256247

257248
```bash
258-
259249
ls -a ~
260250
```
261251

@@ -278,7 +268,6 @@ in your repository like so:
278268
GitHub):
279269

280270
```bash
281-
282271
git add .
283272
git commit -m "Initial commit"
284273
git remote add origin

content/neovim-setup/index.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ to do the configuration yourself, you can run these commands to add my setup as
2828
1. Clone the repository and install plugins:
2929

3030
```bash
31-
3231
git clone git@github.com:micahkepe/dotfiles ~/.config/micahkepe/dotfiles
3332
```
3433

3534
2. Open Neovim with this configuration:
3635

3736
```bash
38-
3937
NVIM_APPNAME=micahkepe/dotfiles/nvim nvim
4038
```
4139

@@ -115,7 +113,6 @@ If you are following along, let's first install NVChad before we continue:
115113
**For Mac and Linux Users**:
116114

117115
```bash
118-
119116
git clone https://github.com/NvChad/starter ~/.config/nvim && nvim
120117
```
121118

@@ -159,7 +156,6 @@ To do this, I created a separate file for the diagnostics configuration in
159156
`nvim/lua/configs/diagnostics.lua`:
160157

161158
```lua
162-
163159
-- nvim/lua/configs/diagnostics.lua
164160
local M = {}
165161

@@ -185,7 +181,6 @@ Then to load this configuration, I added the following lines to the top of my
185181
`nvim/lua/configs/lspconfig.lua`:
186182

187183
```lua
188-
189184
-- nvim/lua/configs/lspconfig.lua
190185
local diagnostics = require "configs.diagnostics"
191186

@@ -204,7 +199,6 @@ To do this, I altered the section in the `nvim/lua/init.lua` file that loads
204199
NvChad's defined plugins:
205200

206201
```lua
207-
208202
-- nvim/lua/init.lua
209203
-- load plugins
210204
require("lazy").setup({
@@ -311,7 +305,6 @@ usage.
311305
**lazy.nvim**:
312306

313307
```lua
314-
315308
-- nvim/lua/plugins/wilder.nvim
316309

317310
return {
@@ -392,7 +385,6 @@ me.
392385
**lazy.nvim**:
393386

394387
```lua
395-
396388
-- nvim/lua/plugins/image-nvim.lua
397389

398390
-- For dependencies see
@@ -519,7 +511,6 @@ want to resume exactly where you left off.
519511
**lazy.nvim**:
520512

521513
```lua
522-
523514
-- automatically creates a Vim session when Neovim opens for saving work
524515
return {
525516
"rmagatti/auto-session",
@@ -537,7 +528,6 @@ return {
537528
Then I define these mappings to save and restore sessions:
538529

539530
```lua
540-
541531
-- nvim/lua/mappings.lua
542532

543533
-- Autosession mappings
@@ -567,7 +557,6 @@ can navigate between these panes with ease.
567557
**lazy.nvim**:
568558

569559
```lua
570-
571560
{
572561
"christoomey/vim-tmux-navigator",
573562
lazy = false, -- load on start up to immediately enable
@@ -611,7 +600,6 @@ can navigate between these panes with ease.
611600
If using tmux, add the following to your `~/.tmux.conf`:
612601
613602
```bash
614-
615603
# ~/.tmux.conf
616604
# Smart pane switching with awareness of Vim splits.
617605
# See: https://github.com/christoomey/vim-tmux-navigator
@@ -649,7 +637,6 @@ settings to suit your workflow.
649637
**lazy.nvim**:
650638

651639
```lua
652-
653640
-- nvim/lua/plugins/init.lua
654641
{
655642
"pocco81/auto-save.nvim",
@@ -673,7 +660,6 @@ style the UI to your liking.
673660
**lazy.nvim**:
674661

675662
```lua
676-
677663
-- nvim/lua/plugins/init.lua
678664
{ "stevearc/dressing.nvim", event = "VeryLazy" },
679665
```
@@ -695,7 +681,6 @@ these by doing `<leader>ch` to pull up the mappings cheat sheet).
695681
### Quality of Life Remaps
696682

697683
```lua
698-
699684
-- nvim/lua/mappings.lua
700685
require "nvchad.mappings" -- NVChad-defined mappings
701686

@@ -713,7 +698,6 @@ key provides a description of the mapping for use in command help or plugins
713698
like `which-key.nvim`.
714699

715700
```lua
716-
717701
map("n", "<leader>v", "<C-w>v", { desc = "Split window vertically" }) -- split window vertically
718702
map("n", "<leader>sd", "<cmd>close<CR>", { desc = "Close current split" }) -- close current split window
719703
map("n", "<leader>se", "<C-w>=", { desc = "Equalize splits" }) -- equalize split layouts
@@ -727,7 +711,6 @@ These mappings keep the cursor and search result centered in the window while
727711
scrolling or jumping to search results.
728712

729713
```lua
730-
731714
-- maintain visual context on page navigation and searching
732715
map("n", "<C-d>", "<C-d>zz") -- Keeps cursor centered when going down the page
733716
map("n", "<C-u>", "<C-u>zz") -- Keeps cursor centered when going up the page
@@ -744,7 +727,6 @@ These are the mappings I use for GitSigns, which I believe are fairly standard.
744727
{{ gif(sources=["demos/gitsigns.mp4"], width=80)}}
745728

746729
```lua
747-
748730
map("n", "<leader>hn", "<cmd>lua require'gitsigns'.next_hunk()<CR>", { desc = "Next hunk" })
749731
map("n", "<leader>hp", "<cmd>lua require'gitsigns'.prev_hunk()<CR>", { desc = "Previous hunk" })
750732
map("n", "<leader>hs", "<cmd>lua require'gitsigns'.stage_hunk()<CR>", { desc = "Stage hunk" })
@@ -766,7 +748,6 @@ that enhances usability by enabling features like clipboard integration and
766748
better search behavior.
767749

768750
```lua
769-
770751
-- nvim/lua/options.lua
771752

772753
require "nvchad.options"

content/software-packages/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ Here's the directory structure of the Autoprefixer package in `node_modules`:
151151

152152
Here's the `package.json` file for Autoprefixer:
153153

154-
<!-- prettier-ignore-->
155154
```json
156-
157155
{
158156
"name": "autoprefixer",
159157
"version": "10.4.19",
@@ -330,7 +328,6 @@ If you don't already have one, create an account on <a href="https://www.npmjs.c
330328
<li><strong>Login to NPM:</strong>
331329

332330
```bash
333-
334331
npm login
335332
```
336333

@@ -339,7 +336,6 @@ npm login
339336
<li><strong>Publish the package:</strong>
340337

341338
```bash
342-
343339
npm publish
344340
```
345341

0 commit comments

Comments
 (0)