Suppose you have weird taste and you absolutely want:
- your visual selection to always have a green background and black foreground,
- your active statusline to always have a white background and red foreground,
- your very own deep blue background.
Suppose you have weird taste and you absolutely want:
The project is split into several parts:
if [ $# != 2 ]; then | |
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa" | |
exit 1 | |
fi | |
if ! [ -f $1 ]; then | |
echo "'$1' does not exist" | |
exit 1 | |
fi |
cargo new rust-static-nix
cd rust-static-nix
cargo build
# create/copy default.nix
nix-build
{ config, pkgs, ... }: | |
let projectroot = "/home/git/"; # where are the repos on the disk? | |
subdir = "private-git"; # url path prefix | |
staticFilesPath = "cgit-static"; # url path to cgit's static assets | |
# /home/git/published-by-cgit contains the list of projects | |
# that cgit will show | |
cgitrc = pkgs.writeText "cgitrc" | |
'' | |
# default paths to static assets | |
css=/${staticFilesPath}/cgit.css |