-
brew install gnupg, pinentry-mac(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg --gen-key -
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
This file contains hidden or 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
| # You can whitelist files/folders with !, those will not be ignored. | |
| # Everything that starts with a / are for root elements | |
| # ignore | |
| /custom_components/ | |
| /zigbee2mqtt/log | |
| /zigbee2mqtt/state.json | |
| /home-assistant_v2.* # Exclude Home Assistant history-related database. Make sure to enable git LFS if you don't exclude that, since those files can go easily over 100MB | |
| /home-assistant.log* | |
| /.ssh/ |
This file contains hidden or 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 swift | |
| // | |
| // PrintBootCampESDInfo.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
This file contains hidden or 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
| #usage: | |
| #{% loop_directory directory:images iterator:image filter:*.jpg sort:descending %} | |
| # <img src="{{ image }}" /> | |
| #{% endloop_directory %} | |
| module Jekyll | |
| class LoopDirectoryTag < Liquid::Block | |
| include Liquid::StandardFilters | |
| Syntax = /(#{Liquid::QuotedFragment}+)?/ |
This file contains hidden or 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/sh | |
| # Credit to http://www.officeformachelp.com/office/install/remove-office/ | |
| osascript -e 'tell application "Remote Desktop Connection" to quit' | |
| osascript -e 'tell application "Microsoft Document Connection" to quit' | |
| osascript -e 'tell application "Microsoft Messenger" to quit' | |
| osascript -e 'tell application "Microsoft Communicator" to quit' | |
| osascript -e 'tell application "Microsoft Outlook" to quit' | |
| osascript -e 'tell application "Microsoft Excel" to quit' |