Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new site design and content #4

Merged
merged 5 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": "0.2",
"language": "en,nb-no",
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
"**/.git/**",
".vscode",
"megalinter",
"package-lock.json",
"report",
"**/.sh",
"**/.bicep",
"./mkdocs.yml"
],
"words": [
"Appcleaner",
"Exposé",
"fontawesome",
"Minimise",
"mkdocs",
"ncdu",
"neofetch",
"tldr",
"trackpad",
"vegardhw",
"Walmsness"
]
}
6 changes: 3 additions & 3 deletions .github/workflows/build-mkdocs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ on:
# push:
# branches: [master, main]
pull_request:
branches: [master, main]
types:
- closed
branches: [master, main]
types:
- closed
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/mdlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# push:
# branches: [master, main]
pull_request:
branches: [master, main]
branches: [main]

jobs:
linting:
Expand All @@ -15,5 +15,6 @@ jobs:
uses: actions/checkout@v2
- name: Run Markdown Lint
uses: actionshub/markdownlint@main
# with:
# args: "**/*.md"
with:
#args: "**/*.md"
args: ["--ignore", "altindex.md" "photography/index.md"]
4 changes: 3 additions & 1 deletion .mdl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# Extend line length, since each sentence should be on a separate line.
rule 'MD013', :line_length => 99999

# Allow in-line HTML
# Allow inline HTML
exclude_rule 'MD033'
# Allow bare URLs
exclude_rule 'MD034'

# Nested lists should be indented with four spaces.
rule 'MD007', :indent => 4
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# blog
# Personal website at www.vegardhw.net

[![Lint Markdown](https://github.com/vegardhw/blog/actions/workflows/mdlint.yml/badge.svg)](https://github.com/vegardhw/blog/actions/workflows/mdlint.yml)[![Build MKDocs](https://github.com/equinorvegardhw/blog/actions/workflows/build-mkdocs-site.yml/badge.svg)](https://github.com/vegardhw/blog/actions/workflows/build-mkdocs-site.yml)
[![Built with Material for MkDocs](https://img.shields.io/badge/Material_for_MkDocs-526CFE?style=for-the-badge&logo=MaterialForMkDocs&logoColor=white)](https://squidfunk.github.io/mkdocs-material/)

[![Lint Markdown](https://github.com/vegardhw/www/actions/workflows/mdlint.yml/badge.svg)](https://github.com/vegardhw/www/actions/workflows/mdlint.yml)[![Build MKDocs](https://github.com/vegardhw/www/actions/workflows/build-mkdocs-site.yml/badge.svg)](https://github.com/vegardhw/www/actions/workflows/build-mkdocs-site.yml)
10 changes: 9 additions & 1 deletion docs/about.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# About section
# About

<img align="right" src="https://avatars.githubusercontent.com/u/14834153" width="150">

This is my little corner of the web where I write about everything I find interesting in terms of technology. Topics will include the Microsoft Cloud, DevOps, Infrastructure-as-Code, automation, tips and tricks for VSCode, but also consumer-oriented stuff like home automation and productivity tools.

Personal opinions are my own.

Contact me on Twitter/X: @vegardhw :fontawesome-brands-twitter:{ .twitter }
3 changes: 3 additions & 0 deletions docs/altabout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

![image](https://am3pap006files.storage.live.com/y4mt5MG90rCFHX5zpfBer-sC_osV7XARnYuqUC9LSz7QPUQovBRSsLL5JlToJsRGRRAwDFiiwnGATo6c89QKpMNtzoPQ2XJO05MRBjCuGmoVrmXEQt4OTQJbGaMsqBKUkIpbsyTgxrkpkamxF9QM8JBdEwYx43p1r8pjoQnCun-nknMx17VQ1-u5rRWY_pLeaP4?width=421&height=421&cropmode=none)
6 changes: 6 additions & 0 deletions docs/altindex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
template: home.html
title: Home
---

Welcome!
Binary file added docs/assets/black_landscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/coffee-icon-png-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/titaniumII.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/veil_scarf-wallpaper-1920x1080.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/blog/2022/first-post/index.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/blog/2022/second-post/index.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/guides/linux/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Linux
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/guides/macos/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# macOS
55 changes: 55 additions & 0 deletions docs/guides/macos/initial-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Initial configuration

A fresh new installation of macOS with its defaults will serve you quite well but still there are some essential adjustments and configuration steps that I always go through. This is my list based on my personal preference.

## The Dock

I find the default dock settings a bit messy and distractive but the three settings below will make it more clean and intuitive.

| Setting name | Value | Comment |
| -------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Minimise windows using | Scale Effect | The "Scale Effect" setting is much more smooth vs the "Genie Effect". It is faster and less distractive. |
| Minimise windows into application icon | On | Minimise the application windows into and group them with the application dock icon. More clean and does not add all the individual windows icons all the way to the right on the dock. |
| Show indicators for open applications | On | Show a little dot under each dock application icon that is active. |

![1708339097069](image/initial-config/1708339097069.png)

## Finder

The default settings of Finder are too "dumbed down" and stripped. I want more information available at all times.

In Finder Settings General tab I want to show the External disk icons on the Desktop in addition to the Sidebar:

![1708340395643](image/initial-config/1708340395643.png)

In the Advanced tab the "Show all filename extensions" is the most important to change. It will always show the file extension even with the known file type such as PDF.

Also, I find it more convenient to perform Spotlight searches within the same folder vs "everything" across macOS.

![1708340260905](image/initial-config/1708340260905.png)

You can also show more info at the bottom of each Finder window like the Status bar and Path bar. Both options are available from the Finder View menu.

![1708340803125](image/initial-config/1708340803125.png)

## Gestures

The "tap to click" set to "on" is my preferred choice. You can still do the full click by pressing.

![1708353759922](image/initial-config/1708353759922.png)

The Mission Control and App Exposé I use absolutely all the time to be in control of screens and windows. No matter how many active windows and dialog prompts open this thing just works. One of the classic complaints/questions of fist-time Windows users on macOS is the "Where did my app window go?" Mission Control helps with that. It has a dedicated button on the keyboard (F3), but you can also activate it with Control + Arrow key combo or perform the swipe up with three fingers trackpad gesture.

App Exposé is the same thing but only with your active/focused application windows and dialog prompts. Run it by pressing the Control + Arrow down key combo or perform the three fingers swipe down trackpad gesture.

![1708353786571](image/initial-config/1708353786571.png)

Another important setting to make Mission Control application overview even more useful is "Group windows by application".

![1708354919486](image/initial-config/1708354919486.png)

## Other settings

Keyboard navigation is another handy feature that should be 'on' by default. Why would you not use 'tab' to move around in a dialog window?

![1716882880205](image/initial-config/1716882880205.png)
11 changes: 11 additions & 0 deletions docs/guides/macos/terminal-advanced.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# The perfect terminal

## iterm2

## zsh

## oh-my-zsh

## theme

## powerline10k
20 changes: 20 additions & 0 deletions docs/guides/macos/terminal-basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Terminal basics

## Command tips

## Addons

| Name | Install source | Description |
| ------------------ | -------------- | ---- |
| bat | Brew formulae | |
| grc | Brew formulae | |
| htop | Brew formulae | |
| mas | Brew formulae | |
| micro | Brew formulae | |
| midnight-commander | Brew formulae | |
| ncdu | Brew formulae | |
| neofetch | Brew formulae | |
| speedtest-cli | Brew formulae | |
| tldr | Brew formulae | |
| wget | Brew formulae | |
| zsh | Brew formulae | |
13 changes: 13 additions & 0 deletions docs/guides/macos/third-party-apps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Third-party apps

This is my list of essential third-party apps.

| Name | Install source | Type |
| ---------- | -------------- | ---- |
| Brew | Web | Free |
| Magnet | App Store | Paid |
| iTerm2 | Brew cask | Free |
| Alfred | Brew cask | Paid |
| Bartender | Brew cask | Paid |
| Stats | Brew cask | Free |
| Appcleaner | Brew cask | Free |
1 change: 1 addition & 0 deletions docs/guides/windows/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Windows
4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Main page
# TechGuides

Guides, walkthroughs, tips & tricks.
5 changes: 5 additions & 0 deletions docs/outdoorstalk/.authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
authors:
vegardhw:
name: Vegard Hoff Walmsness
description: Creator
avatar: https://avatars.githubusercontent.com/u/14834153
3 changes: 3 additions & 0 deletions docs/outdoorstalk/.meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
comments: true
hide:
- feedback
1 change: 1 addition & 0 deletions docs/outdoorstalk/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OutdoorsTalk
12 changes: 12 additions & 0 deletions docs/outdoorstalk/posts/first-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2023-11-09
authors: [vegardhw]
categories:
- Build
- Performance
comments: true
---

# The first post

This is a text discussing different topics.
Binary file added docs/photography/image/index/1708440348380.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/photography/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Photography resources

![1708440348380](image/index/1708440348380.png)

<div class="grid cards" markdown>

- :fontawesome-brands-instagram: [__Instagram__](https://instagram.com/vegardhw)
- :fontawesome-solid-camera: [**Portfolio**](https://vegardhw.myportfolio.com)
- :fontawesome-brands-square-behance: [__Behance__](https://behance.net/vegardhw)
- :fontawesome-brands-flickr: [__Flickr__](https://flickr.com/photos/vegardhw/)

</div>
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ mkdocs-material-extensions>=1.0.3
mkdocs-video>=1.1.0
mkdocs-mermaid-plugin>=0.1.0
git+git://github.com/g-provost/lightgallery-markdown#egg=lightgallery
git+https://github.com/jldiaz/mkdocs-plugin-tags.git
git+https://github.com/jldiaz/mkdocs-plugin-tags.git
38 changes: 27 additions & 11 deletions docs/stylesheets/mkdocs.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,37 @@
:root {
--mossgreen: #32678f;
--black: #000000;
}

[data-md-color-scheme="default"] {
--md-text-font-family: "Ubuntu";
--md-primary-fg-color: var(--mossgreen);
--md-primary-fg-color--light: var(--mossgreen);
--md-primary-fg-color--dark: var(--mossgreen);
--md-typeset-a-color: hsl(184,100%,34%);
--md-accent-fg-color: hsl(184,100%,34%);
--md-primary-fg-color: var(--black);
--md-primary-fg-color--light: var(--black);
--md-primary-fg-color--dark: var(--black);
--md-typeset-a-color: #e64444 !important;
--md-accent-fg-color: #ff9090 !important;
/* --md-typeset-a-color: #355374;
--md-accent-fg-color: #6590bd;*/
--md-default-bg-color: #e1e1e1;
--md-footer-bg-color: var(--black);
}

[data-md-color-scheme="slate"] {
--md-text-font-family: "Ubuntu";
--md-primary-fg-color: var(--mossgreen);
--md-primary-fg-color--light: var(--mossgreen);
--md-primary-fg-color--dark: var(--mossgreen);
--md-typeset-a-color: hsl(184,100%,34%);
--md-accent-fg-color: hsl(184,100%,34%);
--md-primary-fg-color: var(--black);
--md-primary-fg-color--light: var(--black);
--md-primary-fg-color--dark: var(--black);
--md-typeset-a-color: #ffa929 !important;
--md-accent-fg-color: #fad76d !important;
/*--md-hue: 210; /* [0, 360] */
--md-default-bg-color: #1d1f23;
--md-footer-bg-color: var(--black);
}

.md-typeset h1 {
/*font-weight: bold;*/
color: var(--md-typeset-a-color);
}

.twitter {
color: #1DA1F2;
}
5 changes: 5 additions & 0 deletions docs/techtalk/.authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
authors:
vegardhw:
name: Vegard Hoff Walmsness
description: Creator
avatar: https://avatars.githubusercontent.com/u/14834153
3 changes: 3 additions & 0 deletions docs/techtalk/.meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
comments: true
hide:
- feedback
1 change: 1 addition & 0 deletions docs/techtalk/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TechTalk
12 changes: 12 additions & 0 deletions docs/techtalk/posts/first-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2023-11-09
authors: [vegardhw]
categories:
- Build
- Performance
comments: true
---

# The first post

This is a text discussing different topics.
9 changes: 9 additions & 0 deletions docs/theme_override_up42/assets/stylesheets/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:root {
--mossgreen: #007079;
}

.ndiv{
top:0%;
float: right;
}
a.esd:hover, a.esd:active {color:whitesmoke;}
Loading
Loading