Skip to content

Instantly share code, notes, and snippets.

View romildo's full-sized avatar

José Romildo Malaquias romildo

View GitHub Profile
@betaboon
betaboon / refind-builder.py
Created July 8, 2018 22:59
refind-nixos-module
#! @python3@/bin/python3 -B
import argparse
import os
import os.path
import sys
import errno
import subprocess
import glob
import datetime
import shutil
@moretea
moretea / all-packages-of-a-maintainer.nix
Last active February 23, 2017 09:17
List all packages filtered by some maintainer
#usage:
# nix-instantiate --arg maintainer "\"Matthias Beyer <mail@beyermatthias.de>\"" --strict --json --eval ./all-packages-of-a-maintainer.nix | $(nix-build '<nixpkgs>' -A jq)/bin/jq
with (import <nixpkgs> {});
with lib;
{ maintainer }:
let
filter = k: v:
let
@aherrmann
aherrmann / pnix-shell.sh
Last active August 23, 2020 20:31
Fully persistent Nix shell
# This is free and unencumbered software released into the public domain.
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
# In jurisdictions that recognize copyright laws, the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
@ruario
ruario / h264-vivaldi-linux.md
Last active March 18, 2023 11:17
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library