Updating setup and setup script.

This commit is contained in:
Bradley Shellnut 2024-09-19 11:16:46 -07:00
parent dc0da362c6
commit c3e1c9bf50
10 changed files with 153 additions and 74068 deletions

18
.gitignore vendored Normal file
View file

@ -0,0 +1,18 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
*.xdp*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel
.output
.idea
.fleet
# Sentry Config File
.sentryclirc

View file

@ -1,54 +0,0 @@
# Graphene OS
## Install
- https://grapheneos.org/install/cli
## Obtaining fastboot
You need an updated copy of the `fastboot` tool and the directory containing it needs to be included in the `PATH` environment variable. You can run `fastboot --version` to determine the current version. It must be at least `29.0.6`. You can use a distribution package for this, but most of them mistakenly package development snapshots of fastboot, clobber the standard version scheme for platform-tools (adb, fastboot, etc.) with their own scheme and don't keep it up-to-date despite that being crucial.
On Arch Linux, install `android-tools` and skip the section below on using the standalone release of platform-tools from Android:
`sudo pacman -S android-tools`
Debian and Ubuntu do not have a usable package for fastboot. Their packages for these tools are both broken and many years out-of-date. Follow the instructions below for platforms without a proper package.
### Standalone platform-tools
If your operating system doesn't include a usable version of fastboot, you can use the official standalone releases of platform-tools. This is our recommendation for most users. The flashing process won't work unless you follow these instructions including setting up PATH.
To download, verify and extract the standalone platform-tools on Debian and Ubuntu:
```
sudo apt install libarchive-tools
curl -O https://dl.google.com/android/repository/platform-tools_r30.0.5-linux.zip
echo 'd6d72d006c03bd55d49b6cef9f00295db02f0a31da10e121427e1f4cb43e7cb9 platform-tools_r30.0.5-linux.zip' | sha256sum -c
bsdtar xvf platform-tools_r30.0.5-linux.zip
```
To download, verify and extract the standalone platform-tools on macOS:
```
curl -O https://dl.google.com/android/repository/eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip
echo 'SHA256 (eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip) = e5780bad71a53cf9d693e1053a0748f49e4a67cc1f71d16a94ab4c943af3345f' | shasum -c
tar xvf eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip
```
To download, verify and extract the standalone platform-tools on Windows:
```
curl -O https://dl.google.com/android/repository/platform-tools_r30.0.5-windows.zip
(Get-FileHash platform-tools_r30.0.5-windows.zip).hash -eq "549ba2bdc31f335eb8a504f005f77606a479cc216d6b64a3e8b64c780003661f"
tar xvf platform-tools_r30.0.5-windows.zip
```
Next, add the tools to your `PATH` in the current shell so they can be used without referencing them by file path, enabling usage by the flashing script.
On Debian, Ubuntu and macOS:
`export PATH="$PWD/platform-tools:$PATH"`
On Windows:
`$env:Path = "$pwd\platform-tools;$env:Path"`

File diff suppressed because it is too large Load diff

View file

@ -19,17 +19,7 @@
### Plugins
- [GitToolBox](https://plugins.jetbrains.com/plugin/7499-gittoolbox)
- [Kotlin](https://plugins.jetbrains.com/plugin/6954-kotlin)
- [Lombok](https://plugins.jetbrains.com/plugin/6317-lombok)
- [Material Theme UI](https://plugins.jetbrains.com/plugin/8006-material-theme-ui)
- Using Material Darker
- [One Dark Theme](https://plugins.jetbrains.com/plugin/11938-one-dark-theme)
- [Prettier](https://plugins.jetbrains.com/plugin/10456-prettier)
- [Save Actions](https://plugins.jetbrains.com/plugin/7642-save-actions)
- [Sonar Lint](https://plugins.jetbrains.com/plugin/7973-sonarlint)
- [Svelte](https://plugins.jetbrains.com/plugin/12375-svelte)
- [Visual Studio Code Dark Plus Theme](https://plugins.jetbrains.com/plugin/12255-visual-studio-code-dark-plus-theme)
See dotfiles: [IntelliJ Plugins](https://github.com/BradNut/dotfiles/blob/master/intellij-plugins.md)
### Troubleshooting

View file

@ -46,72 +46,74 @@ curl -s "https://get.sdkman.io" | bash
# Install ZSH
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Install zimfw
echo "Check if zimfw is installed"
if [ -d "$HOME/.zim" ]; then
echo "zimfw is already installed"
else
echo "Installing zimfw"
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
fi
# Install Linux Brew
echo "Check if brew is installed"
if which brew >/dev/nul; then
echo "brew is already installed"
else
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Add Homebrew to your PATH in /home/bshellnu/.profile:
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/bshellnu/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Run `brew help` to get started
sudo apt-get install build-essential
brew install gcc
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
brew install gcc
fi
# Install Casks
brew install node
brew install postgresql
brew install hudochenkov/sshpass/sshpass
# Install NVM
echo "Check if nvm is installed"
if [ -d "$HOME/.nvm" ]; then
echo "nvm is already installed"
else
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
fi
# Install Node Versions
if command -v nvm >/dev/null; then
echo "Installing LTS Node Version"
nvm install --lts
nvm use --lts
fi
source ~/.zshrc
# Install NPM Utilities
npm install -g npm-check-updates
npm install -g tldr
npm install --global trash-cli
# Install Battery Life Improvements https://support.system76.com/articles/battery/
sudo apt install tlp tlp-rdw --no-install-recommends
# Install trackpad gestures
mkdir trackpad-gestures
cd trackpad-gestures
sudo gpasswd -a $USER input
sudo apt-get install libinput-tools xdotool
git clone https://github.com/bulletmark/libinput-gestures.git
cd libinput-gestures
sudo make install
sudo ./libinput-gestures-setup install
libinput-gestures-setup autostart
libinput-gestures-setup start
cd ..
## Install UI tool
flatpak install flathub com.gitlab.cunidev.Gestures
npm install -g trash-cli
# Docker
sudo apt-get remove docker docker-engine docker.io containerd runc
echo "Checking if docker is installed"
if command -v docker >/dev/null; then
echo "Docker is already installed"
else
# Add Docker's official GPG key:
sudo apt-get update
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
# CLIs
npm install gatsby-cli -g
# sudo apt install snapd
# sudo snap install --classic heroku
npm install @sanity/cli -g
# Install fonts
sudo apt install fonts-firacode fonts-open-sans -y -q
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
fi
# Install Applications
@ -121,34 +123,36 @@ sudo apt install fonts-firacode fonts-open-sans -y -q
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
## Browser
sudo apt install apt-transport-https curl
sudo apt install curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
## Chat
sudo flatpak install discord -y
## Multimedia
sudo apt install -y gimp
flatpak install flathub com.plexamp.Plexamp
## Mail
sudo apt-get install evolution
## Social
flatpak install flathub uk.co.ibboard.cawbird
flatpak install flathub com.github.bleakgrey.tootle
flatpak install flathub org.signal.Signal
### Signal
# 1. Install our official public software signing key:
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
# 2. Add our repository to your list of repositories:
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
sudo tee /etc/apt/sources.list.d/signal-xenial.list
# 3. Update your package database and install Signal:
sudo apt update && sudo apt install signal-desktop
## Others
flatpak install flathub com.anydesk.Anydesk
flatpak install flathub com.bitwarden.desktop
flatpak install flathub org.filezillaproject.Filezilla
flatpak install flathub com.getpostman.Postman
flatpak install flathub org.qbittorrent.qBittorrent
# flatpak install flathub org.standardnotes.standardnotes
# Yubico
flatpak install flathub com.yubico.yubioath

View file

@ -1,64 +0,0 @@
{
"timeStamp": 1701128661630,
"version": "1.53.0",
"userSettings": {
"externalLists": "https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt\nhttps://o0.pages.dev/Lite/adblock.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt\nhttps://www.i-dont-care-about-cookies.eu/abp/",
"importedLists": [
"https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt",
"https://o0.pages.dev/Lite/adblock.txt",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt",
"https://www.i-dont-care-about-cookies.eu/abp/"
]
},
"selectedFilterLists": [
"user-filters",
"ublock-filters",
"ublock-badware",
"ublock-privacy",
"ublock-quick-fixes",
"ublock-unbreak",
"easylist",
"easyprivacy",
"urlhaus-1",
"plowe-0",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt",
"https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt",
"https://o0.pages.dev/Lite/adblock.txt",
"https://www.i-dont-care-about-cookies.eu/abp/"
],
"hiddenSettings": {},
"whitelist": [
"about-scheme",
"apps.calif.aaa.com",
"boredgame-jtxatuhn5-bradleyshellnut.vercel.app",
"checkout.steampowered.com",
"chrome-extension-scheme",
"chrome-scheme",
"e.customeriomail.com",
"edge-scheme",
"localhost",
"login.xfinity.com",
"moz-extension-scheme",
"myaccount.ascensus.com",
"opera-scheme",
"personal-website-xi-jet.vercel.app",
"post.craigslist.org",
"shellnut.sentry.io",
"store.google.com",
"store.steampowered.com",
"travefy.com",
"us05web.zoom.us",
"vercel.com",
"vivaldi-scheme",
"www.furnishedfinder.com",
"www.hurtigruten.com",
"www.synchrony.com",
"www.target.com",
"www.zocdoc.com",
"wyciwyg-scheme"
],
"dynamicFilteringString": "behind-the-scene * * noop\nbehind-the-scene * inline-script noop\nbehind-the-scene * 1p-script noop\nbehind-the-scene * 3p-script noop\nbehind-the-scene * 3p-frame noop\nbehind-the-scene * image noop\nbehind-the-scene * 3p noop",
"urlFilteringString": "",
"hostnameSwitchesString": "no-large-media: behind-the-scene false",
"userFilters": ""
}

View file

@ -0,0 +1,63 @@
{
"timeStamp": 1726767531108,
"version": "1.59.0",
"userSettings": {
"uiTheme": "dark",
"externalLists": "https://abp.oisd.nl/\nhttps://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt\nhttps://o0.pages.dev/Lite/adblock.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/ClearURLs%20for%20uBo/clear_urls_uboified.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt\nhttps://www.i-dont-care-about-cookies.eu/abp/",
"importedLists": [
"https://abp.oisd.nl/",
"https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt",
"https://o0.pages.dev/Lite/adblock.txt",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/ClearURLs%20for%20uBo/clear_urls_uboified.txt",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt",
"https://www.i-dont-care-about-cookies.eu/abp/"
],
"popupPanelSections": 15
},
"selectedFilterLists": [
"user-filters",
"ublock-filters",
"ublock-badware",
"ublock-privacy",
"ublock-quick-fixes",
"ublock-unbreak",
"easylist",
"easyprivacy",
"urlhaus-1",
"plowe-0",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt",
"https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt",
"https://raw.githubusercontent.com/DandelionSprout/adfilt/master/ClearURLs%20for%20uBo/clear_urls_uboified.txt",
"https://o0.pages.dev/Lite/adblock.txt",
"https://www.i-dont-care-about-cookies.eu/abp/"
],
"hiddenSettings": {},
"whitelist": [
"about-scheme",
"chrome-extension-scheme",
"chrome-scheme",
"dashboard.webengage.com",
"e.customeriomail.com",
"edge-scheme",
"greenbrierdistillery.com",
"lb.service01.email-allstate.com",
"localhost",
"moz-extension-scheme",
"opera-scheme",
"sentry.io",
"shellnut.sentry.io",
"vercel.com",
"vivaldi-scheme",
"watersportworld.co.nz",
"www.discover.com",
"www.paddlequeenstown.co.nz",
"www.realnz.com",
"www.synchrony.com",
"www.target.com",
"wyciwyg-scheme"
],
"dynamicFilteringString": "behind-the-scene * * noop\nbehind-the-scene * inline-script noop\nbehind-the-scene * 1p-script noop\nbehind-the-scene * 3p-script noop\nbehind-the-scene * 3p-frame noop\nbehind-the-scene * image noop\nbehind-the-scene * 3p noop",
"urlFilteringString": "",
"hostnameSwitchesString": "no-large-media: behind-the-scene false\nno-csp-reports: * true",
"userFilters": "! 2022-10-13 https://stackoverflow.com\nstackoverflow.com##.js-consent-banner.r16.l16.b16.bar-lg.fc-white.bg-black-750.sm\\:p16.p32.sm\\:w-auto.ws4.z-nav-fixed.ps-fixed.ff-sans\n\n! 2022-11-09 https://www.yelp.com\n||accounts.google.com/gsi/iframe/select?client_id=699691895711-vm2k8egb327hq3l0a7crsj0o2o9len61.apps.googleusercontent.com&auto_select=true&ux_mode=popup&ui_mode=card&as=qCtgh%2FlpwWoLf1Cpc1B2pA&is_itp=true&channel_id=24d8a22e019652b553f2040ae40bf24f74c78c94a218ccd8aee24072a4b4b27b&origin=https%3A%2F%2Fwww.yelp.com$subdocument\n||accounts.google.com/gsi/iframe/select?client_id=699691895711-vm2k8egb327hq3l0a7crsj0o2o9len61.apps.googleusercontent.com&auto_select=true&ux_mode=popup&ui_mode=card&as=BSF9xmUdq9C8OIEKaTeM8w&is_itp=true&channel_id=671b08452dd06d1b2012c5f67bf9435495b8e5900eea30a637c81e5aef1dd89d&origin=https%3A%2F%2Fwww.yelp.com$subdocument\n||accounts.google.com/gsi/iframe/select?client_id=699691895711-vm2k8egb327hq3l0a7crsj0o2o9len61.apps.googleusercontent.com&auto_select=true&ux_mode=popup&ui_mode=card&as=BBvB9s5bF5AErJSi7Hmawg&is_itp=true&channel_id=f1369b46da8ac22e4c3ab4386a24864c11c5911081acf8eec01164f63db38287&origin=https%3A%2F%2Fwww.yelp.com$subdocument\n||accounts.google.com/gsi/iframe\n\n! 2023-10-13 https://www.prisma.io\nwww.prisma.io##.ot-sdk-container > .ot-sdk-row\n\n! 2024-02-29 http://192.168.1.104:9500\n192.168.1.104##.th-highcontrast\\:text-white.th-highcontrast\\:font-medium.th-highcontrast\\:bg-black.th-highcontrast\\:border-white.th-highcontrast\\:border-solid.th-highcontrast\\:border.th-dark\\:bg-black.th-dark\\:border-\\[\\#343434\\].text-white.font-medium.bg-\\[\\#023959\\].border-blue-9.border-solid.border.hover\\:underline.pr-2.py-2.gap-1.justify-center.items-center.w-full.flex\n"
}

View file

@ -6,8 +6,6 @@ tl;dr: A step-by-step guide to setting up Sonarr, Radarr, Sabnzbd, and Transmiss
A guide covering a basic setup using Plex, Download Station, and ShowRSS is also available.
Full Description: This setup will install and configure Transmission using OpenVPN, Sabnzbd, Sonarr, and Radarr in Docker. It will also cover optionally setting up a proxy server for easy access to these apps.
The steps in this guide are based off pieces of many different sources and guides, hopefully updated and all combined to provide a step-by-step guide.

View file

@ -5,7 +5,6 @@
- Synology Calendar
- Synology Drive Server
- [Syncthing](https://synocommunity.com/package/syncthing)
- Node.js v12
- Hyper Backup
- Docker
- Moments