Remove more ambiguous unicode characters.
This commit is contained in:
parent
280be84407
commit
410af8fcbf
|
|
@ -14,7 +14,7 @@ apt-get install avahi-ui-utils avahi-discover
|
||||||
#
|
#
|
||||||
# NB An important caveat is that in the current implementation, pump mode (",cpp") and compression (",lzo") will never be used for hosts located via zeroconf. Enabling compression makes the distcc client and server use more CPU time, but less network traffic. The added CPU time is insignificant for pump mode. Compression is usually economical on networks slower than 100Mbps
|
# NB An important caveat is that in the current implementation, pump mode (",cpp") and compression (",lzo") will never be used for hosts located via zeroconf. Enabling compression makes the distcc client and server use more CPU time, but less network traffic. The added CPU time is insignificant for pump mode. Compression is usually economical on networks slower than 100Mbps
|
||||||
|
|
||||||
cat > /etc/distcc/hosts <<EOF
|
cat >/etc/distcc/hosts <<EOF
|
||||||
# As described in the distcc manpage, this file can be used for a global
|
# As described in the distcc manpage, this file can be used for a global
|
||||||
# list of available distcc hosts.
|
# list of available distcc hosts.
|
||||||
#
|
#
|
||||||
|
|
@ -76,7 +76,7 @@ USE_SERVER=
|
||||||
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
|
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
|
||||||
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
||||||
|
|
||||||
# Create a hosts-info file in the location ‘/usr/local/share/dmucs/hosts-info’ (or, if you specified –-prefix when ‘configure’ing, in <prefix>/share/dmucs/hosts-info).
|
# Create a hosts-info file in the location '/usr/local/share/dmucs/hosts-info' (or, if you specified –-prefix when 'configure'ing, in <prefix>/share/dmucs/hosts-info).
|
||||||
|
|
||||||
#Here is a sample hosts-info file:
|
#Here is a sample hosts-info file:
|
||||||
# Format: machine number-of-cpus power-index
|
# Format: machine number-of-cpus power-index
|
||||||
|
|
@ -88,7 +88,7 @@ sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
||||||
#old-solaris-comp-3 1 2
|
#old-solaris-comp-3 1 2
|
||||||
#169.144.80.25 1 2
|
#169.144.80.25 1 2
|
||||||
|
|
||||||
cat > /etc/dmuc.conf <<EOF
|
cat >/etc/dmuc.conf <<EOF
|
||||||
# Configuration file for dmucs server.
|
# Configuration file for dmucs server.
|
||||||
#
|
#
|
||||||
# Format: machine number-of-cpus power-index
|
# Format: machine number-of-cpus power-index
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ apt-get install avahi-daemon avahi-utils libnss-mdns
|
||||||
#
|
#
|
||||||
# NB An important caveat is that in the current implementation, pump mode (",cpp") and compression (",lzo") will never be used for hosts located via zeroconf. Enabling compression makes the distcc client and server use more CPU time, but less network traffic. The added CPU time is insignificant for pump mode. Compression is usually economical on networks slower than 100Mbps
|
# NB An important caveat is that in the current implementation, pump mode (",cpp") and compression (",lzo") will never be used for hosts located via zeroconf. Enabling compression makes the distcc client and server use more CPU time, but less network traffic. The added CPU time is insignificant for pump mode. Compression is usually economical on networks slower than 100Mbps
|
||||||
|
|
||||||
cat > /etc/distcc/hosts <<EOF
|
cat >/etc/distcc/hosts <<EOF
|
||||||
# As described in the distcc manpage, this file can be used for a global
|
# As described in the distcc manpage, this file can be used for a global
|
||||||
# list of available distcc hosts.
|
# list of available distcc hosts.
|
||||||
#
|
#
|
||||||
|
|
@ -77,7 +77,7 @@ USE_SERVER=
|
||||||
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
|
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
|
||||||
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
||||||
|
|
||||||
# Create a hosts-info file in the location ‘/usr/local/share/dmucs/hosts-info’ (or, if you specified –-prefix when ‘configure’ing, in <prefix>/share/dmucs/hosts-info).
|
# Create a hosts-info file in the location '/usr/local/share/dmucs/hosts-info' (or, if you specified –-prefix when 'configure'ing, in <prefix>/share/dmucs/hosts-info).
|
||||||
|
|
||||||
#Here is a sample hosts-info file:
|
#Here is a sample hosts-info file:
|
||||||
# Format: machine number-of-cpus power-index
|
# Format: machine number-of-cpus power-index
|
||||||
|
|
@ -89,13 +89,9 @@ sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
|
||||||
#old-solaris-comp-3 1 2
|
#old-solaris-comp-3 1 2
|
||||||
#169.144.80.25 1 2
|
#169.144.80.25 1 2
|
||||||
|
|
||||||
cat > /etc/dmuc.conf <<EOF
|
cat >/etc/dmuc.conf <<EOF
|
||||||
# Configuration file for dmucs server.
|
# Configuration file for dmucs server.
|
||||||
#
|
#
|
||||||
# Format: machine number-of-cpus power-index
|
# Format: machine number-of-cpus power-index
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ cat <<-EOF | sudo tee doc-pak/README >/dev/null
|
||||||
pycodestyle
|
pycodestyle
|
||||||
pycodestyle is a simple tool to warn about violations of the PEP8 style guide. It produces messages for any divergence from the style guide.
|
pycodestyle is a simple tool to warn about violations of the PEP8 style guide. It produces messages for any divergence from the style guide.
|
||||||
|
|
||||||
Prospector’s concept of strictness turns off various warnings depending on the strictness level. By default, several PEP8 errors will be suppressed. To adjust this without adjusting the strictness of other tools, you have some options:
|
Prospector's concept of strictness turns off various warnings depending on the strictness level. By default, several PEP8 errors will be suppressed. To adjust this without adjusting the strictness of other tools, you have some options:
|
||||||
|
|
||||||
# turn off pep8 checking completely:
|
# turn off pep8 checking completely:
|
||||||
prospector --no-style-warnings
|
prospector --no-style-warnings
|
||||||
|
|
@ -58,12 +58,12 @@ cat <<-EOF | sudo tee doc-pak/README >/dev/null
|
||||||
McCabe or cyclomatic complexity is a measurement of how many paths there are in a given function or method. It measures how complicated your functions are, and warns if they reach a certain threshold. Methods that are too complex are prone to logic errors, and should be refactored to a series of smaller methods.
|
McCabe or cyclomatic complexity is a measurement of how many paths there are in a given function or method. It measures how complicated your functions are, and warns if they reach a certain threshold. Methods that are too complex are prone to logic errors, and should be refactored to a series of smaller methods.
|
||||||
|
|
||||||
Dodgy
|
Dodgy
|
||||||
Dodgy is a very simple tool designed to find ‘dodgy’ things which should not be in a public project, such as secret keys, passwords, AWS tokens or source control diffs.
|
Dodgy is a very simple tool designed to find 'dodgy' things which should not be in a public project, such as secret keys, passwords, AWS tokens or source control diffs.
|
||||||
|
|
||||||
Pydocstyle
|
Pydocstyle
|
||||||
Pydocstyle is a simple tool to warn about violations of the PEP257 Docstring Conventions. It produces messages for any divergence from the style guide.
|
Pydocstyle is a simple tool to warn about violations of the PEP257 Docstring Conventions. It produces messages for any divergence from the style guide.
|
||||||
|
|
||||||
This tool is currently considered experimental due to some bugs in its ability to parse code. For example, modules that contain an __all__ could end up producing bogus error messages if the __all__ isn’t formatted exactly as pydocstyle expects it.
|
This tool is currently considered experimental due to some bugs in its ability to parse code. For example, modules that contain an __all__ could end up producing bogus error messages if the __all__ isn't formatted exactly as pydocstyle expects it.
|
||||||
|
|
||||||
It will not run by default, and must be enabled explicitly (via --with-tool pep257 or in a profile) or implicitly (using the --doc-warnings flag).
|
It will not run by default, and must be enabled explicitly (via --with-tool pep257 or in a profile) or implicitly (using the --doc-warnings flag).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@ conf_print_chroot_d() {
|
||||||
description=${release} (${arch}) for devuan arm-sdk
|
description=${release} (${arch}) for devuan arm-sdk
|
||||||
type=directory
|
type=directory
|
||||||
directory=${strapdir}
|
directory=${strapdir}
|
||||||
union-type=overlay # ‘aufs’, ‘overlay’ and ‘unionfs’
|
union-type=overlay # 'aufs', 'overlay' and 'unionfs'
|
||||||
command-prefix=eatmydata,ccache
|
command-prefix=eatmydata,ccache
|
||||||
users=default
|
users=default
|
||||||
source-users=default
|
source-users=default
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Install zsh-async if it’s not present
|
# Install zsh-async if it's not present
|
||||||
if [[ ! -a ~/.zsh-async ]]; then
|
if [[ ! -a ~/.zsh-async ]]; then
|
||||||
git clone -b ‘v1.5.2’ git@github.com:mafredri/zsh-async ~/.zsh-async
|
git clone -b 'v1.5.2' git@github.com:mafredri/zsh-async ~/.zsh-async
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.zsh-async/async.zsh
|
source ~/.zsh-async/async.zsh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue