Skip to content

Instantly share code, notes, and snippets.

@Vertecedoc4545
Vertecedoc4545 / Hyprland-Ubuntu.md
Last active May 10, 2025 10:06
Ubuntu 23.04 Build and Install instructions for Hyprland

Building on Ubuntu 23.04

You have 2 options, use the script descrived bellow or follow the instrutions

script in this gist if you want the source code

wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh
@proprietary
proprietary / queryMap.go
Created November 17, 2017 02:20
query database in golang into a map/hash table instead of struct
import (
"database/sql"
_ "github.com/lib/pq"
"log"
)
// queryMap is used for quickly running a SQL query that returns only one
// row. Important: This shouldn't ever return errors and shouldn't ever
// be applied on user input. Ideally, you're querying non-nullable
// columns using keys you got from some trusted (non-human)