Skip to content
Permalink
Browse files

Prepare content for Hugo

  • Loading branch information...
baltpeter committed Jul 17, 2019
1 parent c54d7b7 commit cceacd673b8c97e3dfe905f5fa3bdabfebe8cf70
Showing with 157 additions and 52 deletions.
  1. +15 −0 content/_index.md
  2. +6 −0 content/diy/_index.md
  3. +3 −1 { → content}/diy/laser-parameters-cutting.md
  4. +3 −1 { → content}/diy/laser-parameters-engraving.md
  5. +3 −1 { → content}/diy/plotter-parameters.md
  6. +6 −0 content/network/_index.md
  7. +5 −0 content/network/hardware/_index.md
  8. +21 −0 content/network/hardware/sonoff.md
  9. +4 −2 { → content}/network/vms/1001006-freshrss.md
  10. +5 −3 { → content}/network/vms/1001016-tgbkp.md
  11. +3 −1 { → content}/network/vms/1001018-mosquitto.md
  12. +8 −6 { → content}/network/vms/1001019-homeassistant.md
  13. +3 −1 { → content}/network/vms/1001020-nextcloud.md
  14. +3 −1 { → content}/network/vms/1001021-cryptpad.md
  15. +6 −4 { → content}/network/vms/1003005-da-vorstand.md
  16. +5 −0 content/network/vms/_index.md
  17. +3 −1 { → content}/network/vms/hetzner-2869321-matrix.md
  18. 0 { → content}/reference/.gitignore
  19. +6 −0 content/reference/_index.md
  20. +4 −2 { → content}/reference/git.md
  21. +3 −1 { → content}/reference/linux.md
  22. +5 −1 { → content}/reference/proxmox.md
  23. +3 −1 { → content}/reference/windows.md
  24. +4 −2 { → content}/reference/wine.md
  25. 0 { → content}/systems/.gitignore
  26. +6 −0 content/systems/_index.md
  27. +9 −5 systems/macos/readme.md → content/systems/macos/_index.md
  28. +3 −1 systems/ubuntu/README.md → content/systems/ubuntu/_index.md
  29. 0 { → content}/systems/ubuntu/configs/dash-to-panel
  30. +3 −1 { → content}/systems/ubuntu/configure-logitech-mx-vertical.md
  31. +3 −1 { → content}/systems/ubuntu/configure-nvidia-gpu.md
  32. 0 { → content}/systems/windows/Classic_Shell_Menu_Settings.xml
  33. +3 −1 systems/windows/README.md → content/systems/windows/_index.md
  34. 0 { → content}/systems/windows/packages-additional.config
  35. 0 { → content}/systems/windows/packages.config
  36. +3 −1 { → content}/systems/windows/performance-tweaks.md
  37. 0 { → content}/systems/windows/tweaks.reg
  38. 0 { → content}/systems/windows/uninstall-bloatware.ps1
  39. +0 −3 diy/README.md
  40. +0 −1 network/README.md
  41. +0 −5 reference/README.md
  42. +0 −4 systems/README.md
@@ -0,0 +1,15 @@
---
title: Home
---

# Welcome

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.

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.

## TODO

* 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:
- It is not responsive **at all**.
- 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…
@@ -0,0 +1,6 @@
---
title: DIY tools and machines
alwaysopen: true
---

This section contains documentation for my various tools and 'machines', including a Chinese 40 W CO2 laser cutter and vinyl plotter.
@@ -1,4 +1,6 @@
# Materials
---
title: Laser cutter parameters cutting
---

These are the parameters to use when cutting various materials with my K40 laser. They have been discovered by trial and error.

@@ -1,4 +1,6 @@
# Materials
---
title: Laser cutter parameters engraving
---

These are the parameters to use when engraving various materials with my K40 laser. They have been discovered by trial and error.

@@ -1,4 +1,6 @@
# Vinyl plotter parameters
---
title: Vinyl plotter parameters
---

These are the parameters to use when cutting various materials with my [vinyl plotter](https://www.ebay.de/itm/254174939361). They have been discovered by trial and error.

@@ -0,0 +1,6 @@
---
title: Network
alwaysopen: true
---

This section contains documentation for my network setup.
@@ -0,0 +1,5 @@
---
title: Hardware
---

This sections contains documentation on how to setup various devices on the network.
@@ -0,0 +1,21 @@
---
title: Sonoff modules
---

All Sonoff modules run [Sonoff-Tasmota](https://github.com/arendst/Sonoff-Tasmota).

## Attic switches

These switches are used to control other Sonoff modules.

Go to `/co` and set the *Friendly Name 1* to something descriptive (e.g. *Attic switch 1*), save (will restart and reset any other config).
Go to `/md` and set *Module type* to *Generic (18)*, save (will restart). Go back to `/md` and set *D2 GPIO4* to *Button2 (18)* and *D1 GPIO5* to *Button3 (19)*, save again. Make sure **not** to use *Button1 (17)* as that button can accidentally be used to reset the config. (You can also use the following template: `{"NAME":"Benni Switch","GPIO":[255,255,255,255,18,19,255,255,255,255,255,255,255],"FLAG":1,"BASE":18}`.)

Go to `/cs` and [configure the following rule](https://github.com/arendst/Sonoff-Tasmota/wiki/Rules#2-execute-any-mqtt-message-when-a-button-is-pressed):

```
Rule1 on button3#state do publish cmnd/light-large-attic/power toggle endon on button2#state do publish cmnd/light-small-attic/power toggle endon
```
Enable it with `Rule1 on`.

<!-- `ButtonTopic light-large-attic` -->
@@ -1,4 +1,6 @@
# FreshRSS
---
title: FreshRSS
---

RSS aggregator, available at freshrss.altpeter.me.

@@ -54,4 +56,4 @@ Updates can be installed through the web interface.

* https://freshrss.github.io/FreshRSS/en/admins/02_Installation.html
* https://www.dreamvps.com/tutorials/freshrss-installation-ubuntu/
* https://freshrss.github.io/FreshRSS/en/admins/03_Updating.html
* https://freshrss.github.io/FreshRSS/en/admins/03_Updating.html
@@ -1,4 +1,6 @@
# Telegram Backups
---
title: Telegram backup
---

The purpose of this VM is to automatically download all messages and media from my Telegram account and sync that to backup1.

@@ -8,7 +10,7 @@ The purpose of this VM is to automatically download all messages and media from

see http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

```
```sh
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
@@ -30,4 +32,4 @@ apt-get install oracle-java8-installer

## References

* https://github.com/fabianonline/telegram_backup
* https://github.com/fabianonline/telegram_backup
@@ -1,4 +1,6 @@
# Mosquitto
---
title: Mosquitto
---

The Mosquitto service acts as an MQTT broker for smart home devices. It runs at `10.1.1.18`.

@@ -1,4 +1,6 @@
# Home Assistant
---
title: Home Assistant
---

Home Assistant server to use for smart home devices. The integrated MQTT server is not used, instead we use a separate Mosquitto server at `10.1.1.18`.

@@ -24,11 +26,11 @@ The web interface can be accessed at: http://10.1.1.19:8123
Configure the Sonoff device as follows:

```
MQTT Host: 10.1.1.18
MQTT Port: 1883
MQTT User: mosquitto
MQTT Pass: [pw]
MQTT Topic: [unique identifier]
MQTT Host: 10.1.1.18
MQTT Port: 1883
MQTT User: mosquitto
MQTT Pass: [pw]
MQTT Topic: [unique identifier]
```

Add the following entry to `/home/homeassistant/.homeassistant/configuration.yaml` (`light` can be replaced with `switch`):
@@ -1,4 +1,6 @@
# Nextcloud
---
title: Nextcloud
---

available at nextcloud.altpeter.me.

@@ -1,4 +1,6 @@
# Cryptpad
---
title: Cryptpad
---

Runs at `10.1.1.21`, is publicly accessible but password-protected.

@@ -1,4 +1,6 @@
# Datenanfragen.de-Vorstand remote desktop
---
title: X2Go remote desktop
---

This VM is used by board members of the Datenanfragen.de e. V. to remotely access accounting and general management tools. It uses X2Go for remote connections over SSH (port `2222`). Board members have been given access to the credentials for the user `vorstand` that can be used to connect.

@@ -10,7 +12,7 @@ Install XFCE: `apt-get install task-xfce-desktop`

Add the X2Go repo:

```
```sh
apt-key adv --recv-keys --keyserver keys.gnupg.net 0xE1F958385BFE2B6E
echo 'deb http://packages.x2go.org/debian stretch extras main' | tee /etc/apt/sources.list.d/x2go.list
apt-get update
@@ -23,7 +25,7 @@ Change the SSH port to `2222` in `/etc/ssh/sshd_config`: `Port 2222` and restart

Add a user `vorstand`:

```
```sh
useradd vorstand -s /bin/zsh
mkdir /home/vorstand
mkdir /home/vorstand/.ssh
@@ -32,4 +34,4 @@ echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDsC5iR0V2Jq4rWShs56uF+4TWGYon9Mfo1gg
chmod 400 /home/altpeter/.ssh/authorized_keys
chown -R vorstand:vorstand /home/vorstand
echo 'vorstand ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
```
```
@@ -0,0 +1,5 @@
---
title: VMs
---

This section contains documentation on how to setup and maintain various VMs I run.
@@ -1,4 +1,6 @@
# Matrix
---
title: Matrix (Synpase)
---

available at matrix.altpeter.me, hosted at Hetzner (IP `116.203.84.17`)

File renamed without changes.
@@ -0,0 +1,6 @@
---
title: Reference
alwaysopen: true
---

This section contains a reference of useful things that I have learned at some point and that I am worried I will otherwise forget. It is sorted by topic.
@@ -1,4 +1,6 @@
# Git
---
title: Git
---

## Merging multiple repositories into one

@@ -24,7 +26,7 @@ git rebase [remote_name]/master
git remote remove [remote_name]
```

## Edit older commits
## Editing older commits

### Using git-rebase

@@ -1,4 +1,6 @@
# Useful things for Linux
---
title: Linux
---

## Gnome

@@ -1,4 +1,8 @@
# Useful things for Proxmox
---
title: Proxmox
---

## Useful commands and tasks

* Check storage status: `pvesm status`
* Check quorum in cluster: `pvecm status`
@@ -1,4 +1,6 @@
# Useful things for Windows
---
title: Windows
---

## Run commands

@@ -1,12 +1,14 @@
# Useful things for Wine
---
title: Wine
---

## Sensible template prefix

Applications should be installed into separate prefixes to avoid incompatibilites.

To setup a sensible template prefix (for x64, use `WINEARCH=win32` for x86):

```
```sh
export WINEPREFIX=/home/benni/wine-prefixes/_template64
export WINEARCH=win64
wineboot -u
File renamed without changes.
@@ -0,0 +1,6 @@
---
title: System setup and config
alwaysopen: true
---

This sections documents how I like to setup my computers with various operating systems.
@@ -1,14 +1,18 @@
# Setting up macOS machines
---
title: macOS
---

**Note:** This documentation is nowhere near complete.

## Install brew

```
```sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

## Install software

```
```sh
brew install zsh
brew cask install firefox sublime-text
```
@@ -17,7 +21,7 @@ brew cask install firefox sublime-text

In the Terminal preferences, under *General*, set *On startup, open new window with profile* to *Pro*.

```
```sh
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```
@@ -30,4 +34,4 @@ In the *Finder* preferences, under *General*, set *New Finder windows show* to t

In the *Finder* menubar, under *View*, select *Show Tab Bar*, *Show Path Bar*, *Show Status Bar* and *Show Preview*.

[Show hidden files](https://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/): `defaults write com.apple.finder AppleShowAllFiles YES`
[Show hidden files](https://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/): `defaults write com.apple.finder AppleShowAllFiles YES`
@@ -1,4 +1,6 @@
# Setting up Ubuntu (19.04) machines
---
title: Ubuntu 19.04
---

## Update system

File renamed without changes.
@@ -1,4 +1,6 @@
# Configuring the Logitech MX Vertical under Ubuntu
---
title: Configuring the Logitech MX Vertical
---

Install *xbindkeys* and *playerctl*: `apt install xbindkeys playerctl`

@@ -1,4 +1,6 @@
# Switch to proprietary NVIDIA driver for GTX 1050 Ti
---
title: Proprietary driver for Nvidia GTX 1050 Ti
---

Open the *Software & Updates* panel. Under *Additional Drivers*, select the correct driver and apply.

@@ -1,4 +1,6 @@
# Setting up Windows (10) machines
---
title: Windows 10
---

## Install common software

File renamed without changes.
File renamed without changes.
@@ -1,4 +1,6 @@
# Performance tweaks (mostly for older machines)
---
title: Performance tweaks (mostly for older machines)
---

* Run `sysdm.cpl` and in the *Advanced* tab under *Performance*, select *Settings...*. In the *Visual Effects* tab, select *Adjust for best performance*.

File renamed without changes.
File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit cceacd6

Please sign in to comment.
You can’t perform that action at this time.