Skip to content

Instantly share code, notes, and snippets.

Anderson Torres AndersonTorres

Block or report user

Report or block AndersonTorres

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AndersonTorres
AndersonTorres / nix-development-template-file.org
Last active Sep 13, 2019
A project workflow for Nixpkgs/NixOS
View nix-development-template-file.org

Standard project structure

This is a project structure I’ve found useful. Looking for any thoughts/comments/feedback. Roughly, I found a tension between the style nixpkgs expects and the style conducive to development, so I extracted the common portion into a derivation.nix which is used by the remaining .nix files. This setup allows me to use nix build, nix-shell, overlays, Hydra, alternate packaging schemes, cross-compiling, etc.

@AndersonTorres
AndersonTorres / rar2zip.fish
Created May 13, 2017
Fish script to convert RAR to ZIP
View rar2zip.fish
#!/bin/fish
# rar2zip.fish
# Transforms a single RAR file,
# passed under cmdline,
# to an equivalent ZIP file,
# storing it in the current directory
#
# Typical usage: rar2zip.fish infile.rar
View rar2zip.sh
#!/bin/sh
#
# rar2zip.sh
# Transforms a single RAR file,
# passed under cmdline,
# to an equivalent ZIP file,
# storing it in the current directory
#
You can’t perform that action at this time.