You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| # Adapted from https://tinyapps.org/blog/nix/201701240700_convert_asciidoc_to_markdown.html | |
| # Using asciidoctor 1.5.6.1 and pandoc 2.0.0.1 | |
| # Install pandoc and asciidoctor | |
| $ sudo apt install asciidoctor | |
| $ sudo wget https://github.com/jgm/pandoc/releases/download/2.0.0.1/pandoc-2.0.0.1-1-amd64.deb | |
| $ sudo dpkg -i pandoc-2.0.0.1-1-amd64.deb | |
| # Convert asciidoc to docbook using asciidoctor |
| # Remove all the packages with residual configuration. | |
| # http://stuzhao.blogspot.com/2012/07/removing-all-residual-config-packages.html | |
| sudo apt-get remove --purge `dpkg -l | grep '^rc' | awk '{print $2}'` |
How to configure Bash Completion on Mac for Docker, Docker-Machine and Docker-Compose
Run:
brew install bash-completionAdd the following lines to your ~/.bash_profile:
if [ -f $(brew --prefix)/etc/bash_completion ]; then| var BrowserPrint = function() { | |
| function e(e) { | |
| return s + e | |
| } | |
| function n(e, n) { | |
| var i = new XMLHttpRequest; | |
| return "withCredentials" in i ? i.open(e, n, !0) : "undefined" != typeof XDomainRequest ? (i = new XDomainRequest, i.open(e, n)) : i = null, i | |
| } |
| ; Copyright 2009-2015 RackTop Systems Inc. and/or its affiliates. | |
| ; http://www.racktopsystems.com | |
| ; | |
| ; The methods and techniques utilized herein are considered TRADE SECRETS | |
| ; and/or CONFIDENTIAL unless otherwise noted. REPRODUCTION or DISTRIBUTION | |
| ; is FORBIDDEN, in whole and/or in part, except by express written permission | |
| ; of RackTop Systems. | |
| ; | |
| ; @@DESCRIPTION@@ Configuration file for Netatalk -- Apple Filing Protocol. | |
| ; @@NAME@@ afp.conf |
| // Copyright 2015 <chaishushan{AT}gmail.com>. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| // +build ingore | |
| package main | |
| import ( | |
| "flag" |
| [edit security] | |
| ike { | |
| policy ike-dyn-vpn-policy { | |
| mode aggressive; | |
| proposal-set standard; | |
| pre-shared-key ascii-text "<key>"; ## SECRET-DATA | |
| } | |
| gateway dyn-vpn-local-gw { | |
| ike-policy ike-dyn-vpn-policy; | |
| dynamic { |