Forward GnuPG agent from macOS to Linux
Run gpg once as your to create the directory structure
gpg --list-keys
#!/bin/bash | |
# Copyright 2020-2022 Tomas Barton | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
FROM nginx | |
RUN echo 'server {\n\ | |
listen 80 default_server;\n\ | |
location / {\n\ | |
proxy_pass http://httpbin.org/delay/10;\n\ | |
}\n\ | |
}' > /etc/nginx/conf.d/default.conf | |
STOPSIGNAL SIGQUIT |
# -*- coding: utf-8 -*- | |
# requires python-ldap (usually pip install python-ldap) | |
# But this package requires OpenLDAP libraries, so it is a pain to install it on Windows. | |
# So, if you're on Windows, I recomment to use pre-compiled binaries with this command (virtualenv supported): | |
# pip install https://download.lfd.uci.edu/pythonlibs/h2ufg7oq/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl | |
import ldap | |
from ldap.controls import SimplePagedResultsControl |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
--- | |
- hosts: all | |
gather_facts: no | |
vars: | |
string: "string" | |
list: | |
- item1 | |
- item2 | |
dict: | |
key1: value1 |
# Based on http://www.aisecure.net/2012/01/16/rootzfs/ and | |
# @vermaden's guide on the forums | |
# set your disks here | |
DISKS="ada0 ada1" | |
# where will we fetch the install from? | |
FTPURL="ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.1-RELEASE" | |
# the hostname this computer will have: |