Skip to content

Instantly share code, notes, and snippets.

View TapeWerm's full-sized avatar

Vincent Vermilya TapeWerm

View GitHub Profile
@TapeWerm
TapeWerm / Ubuntu Desktop 24.04 Aftersetup.md
Created September 9, 2024 02:07
Ubuntu Desktop 24.04 Aftersetup.md - The setup after you set yourself up

The setup after you set yourself up

After installing Ubuntu Desktop, open Terminal:

GDM Monitor Layout

Copy your Gnome display settings to the login screen:

sudo cp ~/.config/monitors.xml ~gdm/.config/

Dual-boot

@TapeWerm
TapeWerm / Ubuntu Server 24.04 Aftersetup.md
Last active September 9, 2024 05:16
Ubuntu Server 24.04 Aftersetup.md - The setup after you set yourself up

The setup after you set yourself up

After installing Ubuntu Server:

Time Zone

sudo timedatectl set-timezone America/Los_Angeles

SSH 2FA

sudo apt install libpam-google-authenticator
  • Connectivity > Local Network > DHCP Server > DHCP Reservations
    Device Name Assign IP Address
    majima 192.168.1.149
  • Connectivity > Administration > Remote Access - Off
  • Security > Firewall > IPv6 Port Services
    Description Protocol Allow
    sshd TCP 22 - 22

| mcbe@MCBE | UDP | 19133 - 19133 |

"Performance > Tuning > GPU > GPU Tuning > Max Frequency (MHz)" defaults to 2675 and is unstable. https://www.amd.com/en/products/graphics/amd-radeon-rx-7800-xt

  • Performance > Tuning > GPU > Tuning Control - Custom
  • Performance > Tuning > GPU > GPU Tuning - Enabled
  • Performance > Tuning > GPU > GPU Tuning > Advanced Control - Enabled
  • Performance > Tuning > GPU > GPU Tuning > Max Frequency (MHz) - 2430
  • Ai Tweaker > Precision Boost Overdrive > Precision Boost Overdrive - Disabled
  • Advanced Mode > Advanced > CPU Configuration > SVM Mode - Enabled
  • Resize BAR - On
# benzoate
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGGTHjVdSmQsKilyu9QGtwvSNuKrHBId44UuwXOBuo+J vincent294@glados
# id_ed25519
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF5MtEnz8IK8VZFmr+e1FeIR8oylDKRblC5QNcTzzdm+ vverm@stargate.cat.pdx.edu
# monosodium_g
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOAgthJpU6ASiYK8GoF5PE1Sk9oLxNNDos3k88NUGZdD vverm@stargate.cat.pdx.edu
# Create a free BBC account
bbc.com##zephr-message
# Embedded YouTube "More videos" popup
youtube.com##.ytp-pause-overlay
# YouTube personalized topic bar
youtube.com###chips
# Reddit ad carousel
reddit.com##.YfUlQeQY0xbmCv-So3isP
# "Try the browser recommended by Microsoft" header
*###epb.x-hidden-vp-mobile-st.uhfc-universal-context.context-uhf
@TapeWerm
TapeWerm / server.properties
Last active July 31, 2024 05:44
Minecraft server properties
# Bedrock Dedicated Server @ MCBE
sed -ie 's/^allow-list=.*/allow-list=true/' server.properties
sed -ie 's/^difficulty=.*/difficulty=normal/' server.properties
sed -ie 's/^level-name=.*/level-name=tA-TC_PE/' server.properties
sed -ie 's/^server-name=.*/server-name=Vincent294/' server.properties
# Bedrock Dedicated Server @ preview
sed -ie 's/^allow-list=.*/allow-list=true/' server.properties
sed -ie 's/^difficulty=.*/difficulty=normal/' server.properties
sed -ie 's/^enable-lan-visibility=.*/enable-lan-visibility=false/' server.properties
sed -ie 's/^server-name=.*/server-name=Vincent294 Preview/' server.properties
@TapeWerm
TapeWerm / video.txt
Created July 22, 2020 14:50
Half-Life: Alyx video.txt for 4GB GPU
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life Alyx\game\hlvr\cfg\video.txt
// 4GB GPUs can play Half-Life: Alyx, but FPS stutters for a bit after loading some levels
// Low textures is 1024, minimum VRAM required is 6GB
"setting.r_texture_stream_max_resolution" "512"
@TapeWerm
TapeWerm / VS Code Aftersetup.md
Last active November 16, 2023 06:12
VS Code Aftersetup - The setup after you set yourself up

The setup after you set yourself up

Settings

  • Prettier > Tab Width - 4
  • Python > Formatting: provider - black
  • Terminal > Integrated: Cwd - ${fileDirname}
  • Window > Title Bar Style: custom

Extensions

  • vscodevim.vim