Skip to content

Instantly share code, notes, and snippets.

View Skylarity's full-sized avatar
🏳️‍⚧️

Skye Ash Skylarity

🏳️‍⚧️
View GitHub Profile
@ompuco
ompuco / ompucoLineRaster.shader
Created March 8, 2026 03:40
A shader for better pixel-perfect line mesh rasterization in Unity, since the default behavior on most graphics platforms make for some real garbage lines, especially if you wanted to use it for a project with low-resolution graphics.
Shader "ompuco/LineRaster"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 100
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active July 7, 2026 09:21
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@kabili207
kabili207 / Rclone systemd service.md
Last active June 23, 2026 05:43
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
@HFTrader
HFTrader / PacmanCheatsheet.md
Last active July 8, 2026 15:29
Pacman Cheatsheet

Installing packages

Note that packages often have a series of optdepends - optional dependencies - which are packages that provide additional functionality to the application, albeit not strictly required for running it. When installing a package, pacman will list its optional dependencies among the output messages, but they will not be found in pacman.log: use the pacman -Si (see Querying package databases) command to view the optional dependencies of a package, together with short descriptions of their functionality.

⚠️ Partial upgrades are not supported 69

Installing specific packages

To install a single package or list of packages (including dependencies), issue the following command:

@salamander2
salamander2 / hexgame.java
Created December 18, 2012 17:03
Hexagonal Grid in Java
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
/**********************************
This is the main class of a Java program to play a game based on hexagonal tiles.
The mechanism of handling hexes is in the file hexmech.java.
Written by: M.H.
Date: December 2012