This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Based on https://git-annex.branchable.com/tips/Decrypting_files_in_special_remotes_without_git-annex/ | |
usage() { | |
echo "Usage: ga_decrypt.sh -r REMOTE [-k SYMLINK] [-d FILE...]" | |
echo "" | |
echo " Either lookups up key on REMOTE for annex file linked with SYMLINK" | |
echo " or decrypts FILE encrypted for REMOTE." | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Installation | |
# 1. Setup go-acd (https://github.com/go-acd/acd). You need to chmod | |
# acd-token.json to 0600 and manually create $HOME/.config/acd.json | |
# like the following: | |
# {"tokenFile":"/home/you/.config/acd-token.json","cacheFile":"/home/you/.cache/go-acd.cache"} | |
# Then make sure the `acd` command works. Note that the first run may | |
# take some time as it will fetch the full list of your files on ACD. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; pit.el --- Manipulate pit data. | |
;; Copyright (C) 2008 Takeru Naito | |
;; Author: Takeru Naito <[email protected]> | |
;; Original: cho45 http://lowreal.rubyforge.org/pit/ | |
;; This file is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published | |
;; by the Free Software Foundation; either version 2, or (at your | |
;; option) any later version. |