- Become root.
[user@hostname ~]$ sudo -s
Or
[user@hostname ~]$ su| #!/usr/bin/env bash | |
| set -euo pipefail | |
| function main() { | |
| must_root | |
| sudo apt install i8kutils | |
| sudo snap install dell-bios-fan-control | |
| sudo snap connect dell-bios-fan-control:io-ports-control | |
| } |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| function main() { | |
| must_root | |
| sudo update-alternatives --config java | |
| } | |
| function must_root() { |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| function main() { | |
| echo "Branch to be checked: $1" | |
| echo "Running evaluation on artifact pom:" | |
| # Reason for code block with || true on grep commands is because it exists with 1 if nothing is found. |
| sed -i.bak 's/\r$//' file.txt |
| #!/bin/bash | |
| # See link in comments for more information from articles. | |
| # NVME Issues | |
| # After install, it was necessary to boot with USB and chroot (https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/): | |
| sudo fcsk /dev/nvme0n1p2 | |
| sudo mount /dev/nvme0n1p2 /mnt |
| #!/bin/bash | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
| cargo install bat |
| #! /bin/bash | |
| echo "Adding required repositories." | |
| wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add - | |
| sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list | |
| curl 'https://bintray.com/user/downloadSubjectPublicKey?username=tizonia' | sudo apt-key add - | |
| echo deb https://dl.bintray.com/tizonia/raspbian buster main | sudo tee -a /etc/apt/sources.list | |
| echo "Updating repositories." | |
| sudo apt update |
| Solution | |
| I referred to this official forum. | |
| Raspbian Stretch: Wifi not starting on boot – Raspberry Pi Forums | |
| First, | |
| sudo vim /etc/network/interfaces |
| using System; | |
| using System.Collections.Generic; | |
| using System.Net.Http; | |
| using System.Net.Http.Headers; | |
| namespace HttpClientApproach | |
| { | |
| internal class Contributor | |
| { | |
| public string Login { get; set; } |
[user@hostname ~]$ sudo -s
Or
[user@hostname ~]$ su