Skip to content

Instantly share code, notes, and snippets.

View meirbon's full-sized avatar
🌠
Tracing rays

Mèir meirbon

🌠
Tracing rays
View GitHub Profile
@meirbon
meirbon / .clang-format
Last active September 23, 2023 09:39 — forked from khoa-io/.clang-format
"Visual Studio" clang-format style
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
@meirbon
meirbon / Dell XPS 15 9560 Manjaro Setup instructions
Last active May 13, 2024 02:39
Small, quick guide to set up Manjaro on the XPS 15 9560
# 1. First of all of course get Manjaro:
https://manjaro.org/get-manjaro/
# I recommend using Etcher to copy the image to your USB:
https://etcher.io/
# 2. Before installing make sure:
# - Secure boot is disabled in BIOS
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much
@meirbon
meirbon / Installing elementary on XPS 9560
Last active March 13, 2023 14:00
Install guide for Elementary OS on Dell XPS 15 9560
# Install Elementary like you normally would, after install disable dGPU
# If you don't need your dGPU in Linux: https://gist.github.com/jseris/a740f6a3fb0d18064e26dc66f9be4f1d
# If you want to use your Nvidia GPU:
sudo apt install nvidia-375 nvidia-prime
##### Seems this is fixed #####
# Don't restart yet, the version of nvidia-prime that is shipping does not work
# cd /usr/bin && sudo mv prime-select prime-select.old
# sudo wget https://raw.githubusercontent.com/C11235/nvidia-prime-bugfix/master/prime-select && sudo chmod 755 prime-select