You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Site: v2.0 based on my own fork of the docDock theme (DocDockDoc) (#2)
* Site: Switch to my own fork of the docDock theme (DocDockDoc)
* Sys/Win: Link the attachments
* Sys/Win: We don't need a 'God mod' shortcut
* Ref/Git: Highlight configs as INI
* Ref/Git: Add fp alias for safely force-pushing
* Format git info date
Copy file name to clipboardExpand all lines: content/_index.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,6 @@
2
2
title: Home
3
3
---
4
4
5
-
# Welcome
6
-
7
5
Welcome to docs.benjamin-altpeter.de. This website is generated from the [baltpeter/docs](https://github.com/baltpeter/docs) repository on GitHub, where I keep my personal docs archive for various topics.
8
6
9
-
As these docs are mostly kept for myself, some may seem a little rough or lacking details. I still think that publishing this archive can be useful for others. If you think an entry can be improved, please feel free to submit your pull request! Every entry contains an 'Improve this page' link at the top that let you directly edit it on GitHub.
10
-
11
-
## TODO
12
-
13
-
* Fork the [DocDock theme](https://docdock.netlify.com): It does look nice and provides a good starting point but I do have some issues with it:
14
-
- It is not responsive **at all**.
15
-
- It is way too bloated. I really don't need Bootstrap, Font Awesome or jQuery. And there is probably quite a bit more to strip out…
7
+
As these docs are mostly kept for myself, some may seem a little rough or lacking details. I still think that publishing this archive can be useful for others. If you think an entry can be improved, please feel free to submit your pull request! Every entry contains an 'Edit on GitHub' link at the top that lets you directly edit it on GitHub.
Copy file name to clipboardExpand all lines: content/reference/git.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Git
4
4
5
5
## Aliases
6
6
7
-
```
7
+
```ini
8
8
[alias]
9
9
# See below, depends on the system.
10
10
# fixup = …
@@ -20,6 +20,8 @@ title: Git
20
20
r = rebase
21
21
rc = rebase --continue
22
22
ra = rebase --abort
23
+
# Only force-push if remote hasn't diverged, taken from: https://thoughtbot.com/blog/git-push-force-with-lease
24
+
fp = push --force-with-lease
23
25
24
26
# Checkout a GitHub PR, taken from: https://github.com/lee-dohm/dotfiles/blob/8d3c59004154571578c2b32df2cdebb013517630/gitconfig#L8, see: https://github.community/t5/How-to-use-Git-and-GitHub/Checkout-a-branch-from-a-fork/td-p/77
@@ -81,15 +83,15 @@ Simply make the desired changes, add them using `git add` and run `git fixup [re
81
83
82
84
The alias needs to be added to `~/.gitconfig`:
83
85
84
-
```
86
+
```ini
85
87
[alias]
86
88
# Taken from: https://blog.filippo.io/git-fixup-amending-an-older-commit/ (2019-06-22)
This version however unfortunately doesn't work on Ubuntu because they use the *dash* shell as `/bin/sh` (which doesn't support the `${@:2}` expansion). There, you can instead use this simplified version that doesn't support passing additional arguments:
Copy file name to clipboardExpand all lines: content/systems/windows/_index.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ title: Windows 10
4
4
5
5
## Install common software
6
6
7
-
First, install [Chocolatey](https://chocolatey.org/install). Then run `choco feature enable -n allowGlobalConfirmation` to disable prompting for every package. Finally, install the default packages using `choco install packages.config` (optionally also install the additional packages from `packages-additional.config`) in an admin `cmd`.
7
+
First, install [Chocolatey](https://chocolatey.org/install). Then run `choco feature enable -n allowGlobalConfirmation` to disable prompting for every package. Finally, install the default packages using [`choco install packages.config`](files/packages.config) (optionally also install the additional packages from [`packages-additional.config`](files/packages-additional.config)) in an admin `cmd`.
8
8
9
9
## Uninstall bloatware
10
10
11
-
In an elevated command prompt, run `@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/baltpeter/docs/master/content/systems/windows/uninstall-bloatware.ps1'))"`.
11
+
In an elevated command prompt, run `@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/baltpeter/docs/master/content/systems/windows/files/uninstall-bloatware.ps1'))"`.
12
12
13
13
## Privacy settings
14
14
@@ -20,14 +20,12 @@ Apply the recommended settings from [O&O ShutUp 10](https://www.oo-software.com/
20
20
* Go into Windows Explorer and *View* -> *Options*. In the first tab, under *Privacy*, uncheck all settings.
21
21
In the *View* tab, enable 'Show hidden files, folders and drives' and disable 'Hide extensions for known types', 'Show sync provider notifications' and 'Hide protected operating system files (recommended)'.
22
22
-->
23
-
* Run the `tweaks.reg` file to import the settings into the registry.
23
+
* Run the [`tweaks.reg`](files/tweaks.reg) file to import the settings into the registry.
24
24
* Go to the *Personalisation* -> *Start* settings page (`ms-settings:personalization-start`) and disable all options apart from 'Show app list in start menu'.
25
25
* Go to the *Devices* -> *Pen & Windows Ink* settings page (`ms-settings:pen`) and disable 'Show recommend app suggestions'.
26
26
27
-
## Misc.
28
-
29
-
* Create a 'god mode' shortcut: On the desktop, create a new folder and name it `God Mode.{ED7BA470-8E54-465E-825C-99712043E01C}`.
0 commit comments