Skip to content

Instantly share code, notes, and snippets.

View Synthetica9's full-sized avatar

Patrick Hilhorst Synthetica9

View GitHub Profile
@danbst
danbst / idea.md
Last active May 27, 2020 07:35
Nixos need a replacement for nixos-rebuild!

nixos executable

Basic features:

  • installable as package, even on non-nixos
  • is named nixos
  • is written in C++ and binds to Nix C++ library (or maybe Haskell? Nodejs? What you think?)
  • autocomplete, ncurses, Nix 2.0
  • commit to Git by default on each rebuild

Subcommands

@jgehrcke
jgehrcke / flac-reencode.py
Last active April 4, 2024 17:12
Re-encode FLAC files (recursively) for repairing encoding errors
# This program is released under the following MIT license:
# Copyright 2016-2019 Jan-Philip Gehrcke (https://gehrcke.de)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
anonymous
anonymous / fish.py
Created August 30, 2013 17:41
><> python interpreter.
#!/usr/local/bin/python3.2
"""
Python interpreter for the esoteric language ><> (pronounced /ˈfɪʃ/).
Usage: ./fish.py --help
More information: http://esolangs.org/wiki/Fish
Requires python 2.7/3.2 or higher.