Skip to content

Instantly share code, notes, and snippets.

View kcoderhtml's full-sized avatar
🤔
Debating what project I should dive head first into

Kieran Klukas kcoderhtml

🤔
Debating what project I should dive head first into
View GitHub Profile
@iliketwertles
iliketwertles / nvidia.md
Created August 29, 2022 22:56
nvidia+hyprland/wayland guide

First of all this is no where near a cure-all or universal guide, this is just my experience with my specific card and system. This is what has gotten my MSI 1650 Super Gaming X gpu (probably overly specific lol) to work on hyprland, not sure if this works on any other wayland compositors but i assume it would work for sway, newm, etc

Anyways lets start with a basic arch install with the regular kernel and some basic packages including but not limited to: dkms, base-devel, git, yay, etc

Next is to get nvidia stuff figured out, if your card is supported, use nvidia-open-dkms, if not, nvidia-dkms. Then ensure nvidia modules are in the MODULES= section of mkinitcpio like this (MODULES="nvidia nvidia_drm nvidia_modeset nvidia_uvm") then running: "mkinitcpio -P". I suggest making a packman hook to rebuild initramfs whenever either 'linux' (kernel) or nvidia-open-dkms

@inca
inca / Hex.cs
Last active April 28, 2024 06:42
[Unity] Simple Hex Grid System
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public static class HexVectorExtensions {
public static Vector2 WorldToPlanar(this Vector3 world) {
return new Vector2(world.x, world.z);
}
@frfahim
frfahim / oh-my-fish.md
Last active April 28, 2024 15:11
Install fish shell and oh-my-fish on ubuntu

First install fish shell on your system

sudo apt-get update
sudo apt-get install fish

Or install fish via ppa

sudo apt-add-repository ppa:fish-shell/release-2
sudo apt-get update

sudo apt-get install fish``