Skip to content

Commit d50ca4d

Browse files
committed
Update
1 parent 922a6c3 commit d50ca4d

5 files changed

Lines changed: 21 additions & 4 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Site
2+
url: "https://bartkessels.net"
23
name: "Bart Kessels"
34
title: "Bart Kessels"
45
description: "Passionate open source software engineer."
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Set up View Models with Jetpack Compose
3+
description: You've just set up Jetpack Compose, but how do you properly separate the UI from the business logic? This is were Android has you covered with View Models.
4+
author: bart
5+
layout: post
6+
image: assets/images/android/create-an-application/set-up-view-models-with-jetpack-compose.png
7+
caption: This image is generated using Dall-E
8+
prompt: Generate an image of a phone on which the top side of the screen contains UI elements and the bottom of the screen contains code in a minimalistic flat style
9+
date: 2023-02-28
10+
categories: [android]
11+
permalink: android/set-up-view-models-with-jetpack-compose
12+
tags: [Android, Jetpack Compose, UI, App Development, View Models, Business logic, Separation of concerns]
13+
related: create_android_app
14+
related_to: [android, jetpack_compose, create_android_app]
15+
---

_posts/software/2023-12-13-releasing-upset.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ date: 2023-12-13 12:00
1111
categories: [software]
1212
permalink: software/upset
1313
tags: [Installation, setting up, Windows, MacOS, Linux]
14+
related: upset
1415
---
1516

1617
## Introduction

_posts/windows/2024-02-07-install-oh-my-posh.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,18 @@ In the above example the `face` is set to `MesloLGM Nerd Font`, but you need to
9393

9494
#### Set the theme
9595

96-
Oh My Posh includes a lot of custom themes off the bat. These themes can be found by running the `Get-PoshThemes` CMDLet. To use the theme you like you need to update your local `.powershellrc` file or your `$profile` file for the theme to load everytime you start a new Powershell instance.
96+
Oh My Posh includes a lot of custom themes off the bat. These themes can be found by running the `Get-PoshThemes` CMDLet. To use the theme you like you need to update your `$profile` file for the theme to load everytime you start a new Powershell instance.
9797

98-
When running the `Get-PoshThemes` CMDLet, for each theme the specified file is displayed, you need to copy the file for that theme into your `.powershellrc` or `$profile` file.
98+
When running the `Get-PoshThemes` CMDLet, for each theme the specified file is displayed, you need to copy the file for that theme into your `$profile` file.
9999

100100
Open your `$profile` file using notepad `notepad $profile` and add or alter the following line
101101

102102
```
103103
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/<FILE_OF_THE_THEME>.json" | Invoke-Expression
104104
```
105105

106-
This will execute the `init` command from Oh My Posh and set the theme to the file you copied before. To see your changes you can either close the current Powershell instance and open another one, or load the altered `$profile` file into your current session by running
106+
This will execute the `init` command from Oh My Posh and set the theme to the file you copied before. To see your changes, you can either close the current Powershell instance and open another one, or load the altered `$profile` file into your current session by running
107107

108108
```pwsh
109-
> . $PROFILE
109+
> . $profile
110110
```
803 KB
Loading

0 commit comments

Comments
 (0)