- Based on https://gist.github.com/mdziekon/221bdb597cf32b46c50ffab96dbec08a
- Installation date: 16-08-2019
- Additional notes based on my own experience
- EFI boot
- Ubuntu 19.04 -> 21.04
- This should work on any computer. Only the
RAID > AHCIchange described below and the device name for the nvme ssd drive are specific to this laptop. - The process describes a completely fresh installation with complete repartitioning, however it should work fine when Windows is already installed (eg. brand new machine with Windows preinstalled) as long as Windows already boots with EFI.
- The process was conducted on Dell's XPS 15 9560 (2017) with specs:
- CPU: i7-7700HQ
| #!/usr/bin/env bash | |
| # Generate timestamped filename | |
| TIMESTAMPED_TAG=`date +%Y-%m-%d-%H%M%S` | |
| BACKUP_ARCHIVE="./jenkins-backup-${TIMESTAMPED_TAG}.tar.gz" | |
| # Inconceivable race condition avoidance | |
| if [-f $BACKUP_ARCHIVE ]; then | |
| rm ${BACKUP_ARCHIVE} | |
| fi |
If you can successfully mount an NFS share, and only see folders but not files, and the ownerships of those folders are all wrong, add crossmnt to your NFS export, like so:
/storage 10.0.0.0/24(rw,fsid=1,crossmnt,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
| https://www.reddit.com/r/mazda6/comments/goyj8v/comment/if2g25d/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button | |
| Please find the alternative method to removing the "oil maintenance due" warning light on a Mazda 6. My car no | |
| longer has the settings to reset the oil maintenance light in the owners manual. You do not need any tools or | |
| reset equipment. | |
| Note: no other buttons or pedals should be pressed. You cannot hold or press any buttons before turning the car | |
| on as it ignores the reset command. The engine should remain off for the whole process. | |
| Step 1. Press the engine start button twice to get the electronics on and you see some dash lights. |
| #!/bin/bash | |
| # Swytch is a script providing a window switcher for sway using rofi, awk and jq. | |
| # The script is based on: | |
| # https://www.reddit.com/r/swaywm/comments/aolf3u/quick_script_for_rofi_alttabbing_window_switcher/ | |
| # Copyright (C) 2019 Björn Sonnenschein | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or |
| #!/bin/bash | |
| echo -e "Re-scanning wifi...\n" | |
| nmcli dev wifi rescan | |
| nmcli dev wifi list | |
| echo -e "\nScan finished." |
| ########### | |
| # Backend # | |
| ########### | |
| # Dev env base container | |
| FROM phpdockerio/php73-fpm:latest AS backend-dev | |
| WORKDIR "/application" | |
| # Fix debconf warnings upon build | |
| ARG DEBIAN_FRONTEND=noninteractive |
For a GA-Z170N-WIFI (rev. 1.0), just modprobe it87 is enough, you can just load the it87 module without any options. This enables not only fan speed sensors but also voltages and various other temperature sensors
echo it87 > /etc/modules-load.d/gigabyte-sensors-it87.conf
Full sensor output:
Jellyfin and Jellyscrub in Docker with unprivileged jellyfin user (fixes player not showing thumbnails)
Jellyscrub needs to be able to write to Jellyfin's index.html. If you're running Jellyfin as an unprivileged user it won't be able to, since the official container jellyfin files are owned by root.
This is a docker-compose example of how to work around this problem. The docker-compose service definition for jellyfin also passes through an intel igpu. Leaving here as this might be useful to someone.
Once adding the below, make sure you build the container, delete the old one and bring up a new one with docker-compose down jellyfin && docker-compose up -d. Any changes to the dockerfile or build params also mandate this.