I hereby claim:
- I am grahamc on github.
- I am graham (https://keybase.io/graham) on keybase.
- I have a public key ASAC4QV3QF3tHxELFdSoMZfq3w19D4ODgBfoTesOz_4kQgo
To claim this, I am signing this object:
| [1] grahamc@Morbo> ./result/bin/daps ~/projects | |
| Usage: | |
| 1. daps -d DC-file [--options] <subcommand> [--subcommand-options] | |
| 2. daps -m MAIN file [--options] <subcommand> [--subcommand-options] | |
| Global Options: | |
| --builddir=BUILD_DIR Directory where every output daps generates will | |
| end up. | |
| Default: <doc dir>/build/ |
| emacs = { | |
| buildOrg = {emacs ? emacs25-nox, init ? ./init.org}: | |
| runCommand "init.el" | |
| { buildInputs = [ emacs ]; } | |
| '' | |
| mkdir -p $out; | |
| ln -s "${init}" ./init.org; | |
| emacs -Q --script "${./assets/org-build.el}" -f make-init-el; | |
| cp init.el $out; | |
| ''; |
I hereby claim:
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #!/usr/bin/env nix-shell | |
| #!nix-shell -i bash -p bind.dnsutils -p traceroute -p curl | |
| # impure: needs ping | |
| #source: https://s3.amazonaws.com/aws-cloudfront-testing/CustomerTesting.html | |
| function _e { | |
| echo "> $@" | |
| eval "$@" 2>&1 | sed -e "s/^/ /" | |
| printf "Exit: %s\n\n\n" "$?" | |
| } |
| { config, lib, pkgs, ... }: | |
| let | |
| inherit (lib) mkIf mkMerge mkThenElse; | |
| cfg = config.r6d.config-generator; | |
| computers = config.r6d.computers; | |
| profiles = config.r6d.profiles; | |
| in | |
| { |
| msg_list() { | |
| query="tag:nixossec tag:needs-triage and date:2017-02-22.. and not tag:package-identified" | |
| notmuch search "$query" | tr '[:upper:]' '[:lower:]' | |
| } | |
| score_subject() { | |
| # For each word in the subject, search for a package by that name | |
| # sort by the number of hits | |
| # remove 0-hit words | |
| # pick the word with the fewest hits |
| #!/nix/store/010yd8jls8w4vcnql4zhjbnyp2yay5pl-bash-4.4-p5/bin/bash | |
| # | |
| # This hook is called with the following parameters: | |
| # | |
| # $1 -- Name of the remote to which the push is being done | |
| # $2 -- URL to which the push is being done | |
| # | |
| # If pushing without using a named remote those arguments will be equal. | |
| PATH="/nix/store/9lhgvxka8m162d5db0my5cd4qpjii9sv-git-2.12.0/bin" |
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| emacsPackaging = pkgs.emacsPackagesNg; | |
| my-mode = emacsPackaging.trivialBuild { | |
| pname = "my-mode"; | |
| version = "1970-01-01"; | |
| src = pkgs.writeText "default.el" '' | |
| (global-set-key (kbd "<end>") 'end-of-line) | |
| (global-set-key (kbd "<home>") 'beginning-of-line) |