Skip to content

Instantly share code, notes, and snippets.

View ckiee's full-sized avatar

mei🌒 ckiee

View GitHub Profile
{ lib
, stdenv
, fetchFromGitHub
, fetchFromGitLab
, fetchpatch2
, avahi
, boost
, cmake
, cudaPackages
, eigen

Rainbow Meow

When the meow strikes meow in the meow, they act as a meow and form a meow. The meow is a division of meow meow into meow beautiful meow. These take the meow of a meow meow meow, with its meow high above, and its meow meow apparently beyond the horizon. There is , according to legend, a meow meow of meow at one end. People look, but no one ever finds it. When a meow looks for meow beyond meow reach, meow friends say meow is looking for the meow of meow at the end of the meow.

{ stdenv, fetchurl, autoPatchelfHook, libstdcxx5, libX11, libXrender, libXt
, libXext, glib, freetype, fontconfig, alsaLib, dbus-glib, dbus, cairo, pango
, atk, gdk-pixbuf, gtk2, gtk3, gcc49, writeShellScript, coreutils, lib }:
let
version = "2.5";
binary = stdenv.mkDerivation {
pname = "kaiosrt-inner";
inherit version;
@ckiee
ckiee / option.nix
Created January 4, 2022 08:42
Get the default value of a NixOS option
# $ nix-instantiate --eval option.nix --argstr path services.journald.enableHttpGateway
# false
{ path }:
let
pkgs = import <nixpkgs> { };
evalConfig = import "${<nixpkgs>}/nixos/lib/eval-config.nix";
inherit (pkgs) lib;
in (evalConfig {
modules = [
({ config, ... }: {
1
00:00:06,000 --> 00:00:11,000
Summertime, and the livings easy
2
00:00:11,100 --> 00:00:14,000
Bradley's on the microphone with Ras M.G
3
00:00:14,348 --> 00:00:17,000
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQFzBCABCABdFiEESyzdpfo1ZC2VbXKUb1sy3l5fqAwFAmDsQlc/HQFVcGRhdGlu
ZyB0byBuZXcgdXNlcm5hbWUgJiBlbWFpbDogY2tpZSA8Z2l0LTUyNWZmNjdAY2tp
ZS5kZXY+AAoJEG9bMt5eX6gMAwMH/3YObRk3hoHFZ9XINX0YnDCfoac5NGtlRV5j
i7b3kFjrYkrcKI5HxgTQnPS0QNAtIZt5kA7nNuL2+gApwf8urthVBaeBt6tqY3JR
/yO7XoCl0V0Wj1WlWPvtOdjqYJpae3ld8/TU66VJT3j5Y5YO7dSeP7yEV5Sc1F1S
e7bkWdSXEce6Ke/LnbvoKKPf8o9oFcLhTGQpQ03BzFaGBkNDdW8V23F9Z8tf3fhL
noUP0Oka1Km7Kl8ZAnQm8tMmg1utbIVN4RuhstoLgTD8RyHrC+bPm9g3L9EX2T+c
@ckiee
ckiee / get_best_songs.sh
Created June 21, 2021 13:36
Gets all songs that the Cantata MPD frontend has marked as 5 stars (`rating=10`)
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p mpc_cli gnugrep
set -euo pipefail
cd ~/Music/flat #<-- Change me
for f in *; do
if mpc sticker "$f" get "rating" 2>/dev/null | grep -E "=10$" >/dev/null; then
echo "${f%.*}"
fi
done
@ckiee
ckiee / gh-nixpkgs.js
Last active May 25, 2021 13:26
Add a nixpk.gs quick link on nixpkgs github PRs
// ==UserScript==
// @name GitHub nixpk.gs
// @namespace http://tampermonkey.net/
// @version 0.1
// @description add a nixpk.gs quick link on nixpkgs github PRs
// @author ronthecookie <[email protected]>
// @match https://github.com/NixOS/nixpkgs/pull/*
// @icon https://www.google.com/s2/favicons?domain=github.com
// @grant none
// ==/UserScript==
@ckiee
ckiee / structure_importer2.js
Created April 18, 2020 11:47
patched version of the structure_importer plugin for blockbench that works well on linux
var plugin_data = {
id: "structure_importer2",
title: "Structure Importer (patched)",
icon: "restore_from_trash", //Material icon name
author: "JannisX11 & Krozi",
description: "Import structure files",
version: "2.0.2", //Plugin version
variant: "both", // 'both', 'web', 'desktop'
};