Skip to content

Instantly share code, notes, and snippets.

View tareifz's full-sized avatar
🐙
Working from home

Tareif Al-Zamil tareifz

🐙
Working from home
View GitHub Profile
@tareifz
tareifz / Makefile
Last active January 30, 2025 18:50
Makefile for C
# Thanks to Job Vranish (https://spin.atomicobject.com/2016/08/26/makefile-c-projects/)
TARGET_EXEC := main
BUILD_DIR := ./build
SRC_DIRS := ./src
# Find all the C and C++ files we want to compile
# Note the single quotes around the * expressions. The shell will incorrectly expand these otherwise, but we want to send the * directly to the find command.
SRCS := $(shell find $(SRC_DIRS) -name '*.cpp' -or -name '*.c' -or -name '*.s')
@tareifz
tareifz / Guix-DE-Integration.md
Created January 12, 2025 18:37 — forked from peanutbutterandcrackers/Guix-DE-Integration.md
Guix Desktop-Environment Integration Guide

Guix Desktop-Environment Integration:

A guide to better DE-Integration for the GNU Guix Package Manager.

This has been tried and tested (successfully) in the following desktop environments:

  • GNOME (Debian 10.2 'Buster')
  • MATE, XFCE, KDE (Linux Mint 19 'Tara')
  • Cinnammon (Linux Mint 19.1 'Tessa')
  • Pantheon (Elementary OS 5.0 'Juno')
@tareifz
tareifz / hoge.asd
Created April 28, 2024 06:33 — forked from fukamachi/hoge.asd
ASDF package-inferred-system sample with :pathname
(defsystem "hoge"
:class :package-inferred-system
:pathname "src"
:depends-on ("hoge/main")
:in-order-to ((test-op (test-op "hoge/tests"))))
(defsystem "hoge/tests"
:pathname "tests"
:depends-on ("hoge")
:components