Skip to content

Instantly share code, notes, and snippets.

View stelcodes's full-sized avatar
🏠
Working from home

Stel Clementine stelcodes

🏠
Working from home
  • 03:23 (UTC -06:00)
View GitHub Profile
@borkdude
borkdude / assoc_pairs.clj
Last active April 6, 2021 11:38
Reports number of used k/v pairs in assoc to gather data for https://clojure.atlassian.net/browse/CLJ-1656
#!/usr/bin/env bash
#_" -*- mode: clojure; -*-"
#_(
"exec" "clojure" "-Sdeps" "{:deps {borkdude/grasp {:git/url \"https://github.com/borkdude/grasp\" :sha \"6315cea8c0b6dafc7b1eef9ccd03d6d5590d2045\"}}}" "-M" "$0" "$@"
)
(require '[clojure.java.io :as io]
'[clojure.spec.alpha :as s]
'[clojure.string :as str]
'[grasp.api :as g])
@carpntr
carpntr / replace-appindicator.sh
Created November 20, 2021 17:35
rebuild (install) debian packages that depend on libappindicator with libayatana-appindicator (tested on debian 11 with discord and keeweb)
#!/bin/bash
function usage() {
cat <<USAGE
Usage: $0 [options] <package.deb>
Options:
--install: install after rebuild
--cleanup: remove tmpfiles after
USAGE
exit 1
@matthewpi
matthewpi / README.md
Last active October 31, 2025 14:43
Nix on Fedora

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue

@janKeli
janKeli / flake.nix
Last active June 17, 2025 16:39
A nix dev shell for tauri, set up for desktop and android dev.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
fenix.url = "github:nix-community/fenix";
fenix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,