Skip to content

Instantly share code, notes, and snippets.

{
description = "NextJS Template";
inputs = {
nixpkgs.url = "nixpkgs";
systems.url = "github:nix-systems/x86_64-linux";
utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
@0x61nas
0x61nas / main.cpp
Created September 12, 2024 08:27
CPP constants is a mess
#include <iostream>
#define sos(x) std::cout << x << std::endl
class Entity {
private:
int m_x, m_y;
char *m_name;
// the mutable members is allowed to be modified in a const functions.
@0x61nas
0x61nas / make.conf
Created November 9, 2024 15:53
Portage make config
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j8"
#!/bin/bash
export dev_pkgs=(
rustup
gcc
python
ruff
zig
zls
uv
#!/bin/env bash
error_exit() {
echo "$1" > /dev/stderr
exit 1
}
HOSTNAME="Mayuri"
core_pkgs=(
#!/bin/bash
set -e
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
fonts_pkgs=(
ttf-jetbrains-mono-nerd
ttf-roboto
ttf-hack
ttf-hack-nerd
#!/bin/bash
# ---------------------------
# This is a bash script for configuring Arch for pro audio USING PIPEWIRE.
# ---------------------------
# NOTE: Execute this script by running the following command on your system:
# wget -O ~/install-audio.sh https://raw.githubusercontent.com/brendaningram/linux-audio-setup-scripts/main/arch/install-audio.sh && chmod +x ~/install-audio.sh && ~/install-audio.sh
# Exit if any command fails
set -e