Add manual page for the "man" manual program in roff format

.TH MORTY "1" "2018" "morty" "User Commands"
.SH NAME
morty \- Privacy aware web content sanitizer proxy as a service
.SH SYNOPSIS
.B morty
.RI [ OPTIONS ]
.br
.SH DESCRIPTION
Morty rewrites web pages to exclude malicious HTML tags and attributes. It
also replaces external resource references to prevent third party
information leaks.
.sp
The main goal of morty is to provide a result proxy for searx, but it can be
used as a standalone sanitizer service too.
.SH OPTIONS
.HP
\fB\-ipv6\fR
.IP
Allow IPv6 HTTP requests
.HP
\fB\-key\fR string
.IP
HMAC url validation key (hexadecimal encoded) \- leave blank to disable
.HP
\fB\-listen\fR string
.IP
Listen address (default "127.0.0.1:3000")
.HP
\fB\-timeout\fR uint
.IP
Request timeout (default 2)
.HP
\fB\-version\fR
.IP
Show version
.SH BUGS
Bugs or suggestions? Visit the issue tracker at
https://github.com/asciimoo/morty/issues.
.SH SEE ALSO
.BR searx (1)
.SH LICENSE
Copyright 2016-2018 Adam Tauber <asciimoo@gmail.com>
.br
Copyright 2016 Alexandre Flament <alex@al-f.net>
.sp
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
.sp
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.
.sp
You should have received a copy of the GNU Affero General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.


FROM alpine:3.7
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="autoconf automake build-base"
ENV lib_deps="libtool db-dev boost-dev openssl-dev libevent-dev libsodium-dev"
RUN apk add --update curl $build_deps $lib_deps && \
  curl -sSL https://github.com/BTCGPU/BTCGPU/archive/v0.15.1.tar.gz | tar -xzf - &&\
  cd BTCGPU-0.15.1 && ./autogen.sh && \
  ./configure --prefix=/usr \
    --with-incompatible-bdb \
    --disable-wallet && \
  make && make install && \
  rm -fr /BTCGPU-0.15.1 && \
  apk del $build_deps && rm -fr /var/cache/apk

ENTRYPOINT ["bgoldd"]


FROM houseofagile/docker-nginx-php-fpm:php7.2

MAINTAINER Meillaud Jean-Christophe (jc@houseofagile.com)

#Node install
RUN apt-get update \
 && apt-get install -y nodejs npm \
 && npm install less -g && npm install -g bower \
 && curl -sS https://getcomposer.org/installer | php -- --version=1.3.2 --install-dir=/usr/bin/ \
 && mv /usr/bin/composer.phar /usr/bin/composer \
 && mkdir /root/projects && mkdir /root/ssh-keys \
 && echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \
 && apt-get clean && rm -rf /tmp/* /var/tmp/*

ADD ./config/projects /root/projects
ADD ./config/ssh-keys /root/ssh-keys

ADD ./config/sm-config /root/.symfony-manager/sm-config
ADD .bowerrc /root/.bowerrc
ADD ./default-symfony-nginx.conf /root/docker-config/default-symfony-nginx.conf

RUN chown www-data -R /usr/share/nginx/ && \
  mkdir -p /root/docker-config && \
  rm /etc/nginx/sites-enabled/default && \
  mkdir -p /etc/my_init.d && \
  sed -i 's#%%php_fpm_sock_file%%#/run/php/php7.2-fpm.sock#g' /root/docker-config/default-symfony-nginx.conf

ADD setup-projects.sh /etc/my_init.d/10_setup-projects.sh
RUN chmod +x /etc/my_init.d/10_setup-projects.sh

EXPOSE 80
CMD ["/sbin/my_init"]


FROM ubuntu:14.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

RUN apt-get update -y && \
  apt-get install -y curl software-properties-common \
    build-essential libtool \
    autotools-dev automake pkg-config libssl-dev \
    libevent-dev bsdmainutils libboost-system-dev \
    libboost-filesystem-dev libboost-chrono-dev \
    libboost-program-options-dev libboost-test-dev \
    libboost-thread-dev libminiupnpc-dev libzmq3-dev && \
  add-apt-repository ppa:bitcoin/bitcoin -y && \
  apt-get update -y && \
  apt-get install -y libdb4.8-dev libdb4.8++-dev && \
  curl -sSL https://github.com/litecoin-project/litecoin/archive/v0.15.1.tar.gz | tar -xzf - && \
  cd litecoin-0.15.1 && \
  ./autogen.sh && \
  ./configure --prefix=/usr --with-incompatible-db --disable-wallet && \
  make && make install && \
  apt-get remove build-essential autotools-dev automake \
    software-properties-common -y pkg-config && \
  apt-get clean && rm -fr /litecoin-0.15.1

ENTRYPOINT ["litecoind"]


# rhel 7.3 requires RH subscription
export IMAGE_URL=http://somewhere.at.red.hat/rhel-guest-image-7.3-35.x86_64.qcow2
export IMAGE_SHA256SUM=55a581618199240c5d6ce332653c3e506cb05da863ad2e4a50d5e068e9790d88
export OVF_TEMPLATE=../templates/basic_template.ovf.xml
export PRODUCT_INFO='A base RHEL 7.3 host.'
export PRODUCT_VERSION='7.3'
export PRODUCT_FULL_VERSION='7.3'
export VENDOR_NAME='Red Hat'
export OPERATING_SYSTEM_INFO='Linux'
export OPERATING_SYSTEM_DESCRIPTION='RHEL Guest Machine'
export OPERATING_SYSTEM_ID=80
export OPERATING_SYSTEM_VERSION=16.04
export OPERATING_SYSTEM_TYPE='rhel7_64Guest'
export OPERATING_SYSTEM_ARCH='amd64'

export FILENAME_PREFIX="rhel-$PRODUCT_FULL_VERSION-$(date +"%Y%m%d")-$OPERATING_SYSTEM_ARCH"


Install migration file and IP contrib/ stuff.

This migration requires a complete dump of the 6.2 or 6.2.1 database and a
restore of the database in 6.3.

Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.


FROM ubuntu:16.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="build-essential git autoconf automake gcc cmake binutils"
ENV lib_deps="python-dev libtool libicu-dev libdb-dev libevent-dev libminiupnpc-dev"
RUN apt update && \
  apt install -y curl $build_deps $lib_deps && \
  curl -sSL https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz | tar -xzf - && \
  mv boost_1_66_0 boost.src && \
  cd boost.src && ./bootstrap.sh && ./b2 --prefix=/usr --build-dir=boost.build --without-mpi link=static install && cd .. && \
  git clone https://github.com/nanocurrency/raiblocks.git && \
  cd raiblocks && \
  git submodule init && git submodule update --recursive --remote && \
  git checkout 45365a4c1198c1b43e0430ceda5a48e2758f6466 && \
  git submodule update && \
  cmake -Wno-dev \
    ENABLE_AVX2=OFF RAIBLOCKS_GUI=OFF \
    PERMUTE_WITH_GATHER=OFF \
    PERMUTE_WITH_SHUFFLES=OFF . && \
  make && make install && mv ./rai_node /usr/bin/ && \
  mv librai_lib.so /usr/lib/ && \
  apt remove -y $build_deps && apt clean all && \
  rm -fr /var/cache/apt && \
  cd .. && rm -fr /raiblocks && rm -fr /boost.src

ENTRYPOINT ["rai_node"]
CMD [ "--daemon" ]


# PDF-XChange Viewer turbo.me file
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

###################################
# Set metadata
###################################

meta title = "PDF-XChange Viewer"
meta namespace = "Tracker Software"
meta name = "pdf-xchange-viewer"

###################################
# Get build dependencies
###################################

using python:3.4.1,wget

###################################
# Download installer
###################################

cmd mkdir @SYSDRIVE@\Workspace
workdir @SYSDRIVE@\Workspace
batch
 echo import sys > script.py
 echo import re >> script.py
 echo import urllib.request >> script.py
 echo src = urllib.request.urlopen('http://www.tracker-software.com/history/viewer_history.xml').read().decode('utf-8') >> script.py
 echo src = src[src.find('item'):src.find('/item')+1] >> script.py
 echo version = re.findall('title.Version\s*([\d\.]+).\/title.', src)[0] >> script.py
 echo url = re.findall('url="(.*\.exe)"', src)[0] >> script.py
 echo filename = re.findall('.*/(.*\.exe)', url)[0] >> script.py
 echo print([url, filename, version]) >> script.py
cmd python script.py
var res = last
cmd "python -c ""print(%res%[0])"""
var url = last
cmd "python -c ""print(%res%[1])"""
var filename = last
cmd "python -c ""print(%res%[2])"""
var version = last
meta tag = version
cmd "wget %url%"

###################################
# Install
###################################

cmd "%filename% /VERYSILENT /SUPPRESSMSGBOXES /NORESTART"
startup file ("@PROGRAMFILES@\Tracker Software\PDF Viewer\PDFXCview.exe")

###################################
# Clean up
###################################

workdir @SYSDRIVE@\
cmd rmdir @SYSDRIVE@\Workspace /s /q
cmd rmdir @SYSDRIVE@\wget /s /q
cmd rmdir @SYSDRIVE@\Python34 /s /q


FROM ubuntu:14.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="software-properties-common build-essential git autoconf automake gcc cmake binutils"
ENV lib_deps="libgmp3-dev python-dev libtool libicu-dev libdb-dev libssl-dev libevent-dev libminiupnpc-dev"
RUN apt-get update && \
  apt-get install -y curl $build_deps $lib_deps && \
  add-apt-repository ppa:bitcoin/bitcoin -y && \
  apt-get update -y && \
  apt-get install -y libdb4.8-dev libdb4.8++-dev && \
  curl -sSL https://dl.bintray.com/boostorg/release/1.65.0/source/boost_1_65_0.tar.gz | tar -xzf - && \
  mv boost_1_65_0 boost.src && \
  cd boost.src && ./bootstrap.sh && ./b2 --prefix=/usr --build-dir=boost.build --without-mpi link=static install && cd .. && \
  curl -sSL https://github.com/Lindacoin/Linda/archive/1.0.1.3.tar.gz | tar -xzf - && \
  mv Linda-1.0.1.3 /src && cd /src/src && \
  make -f makefile.unix && \
  strip Lindad && \
  mv Lindad /usr/bin/lindad && \
  apt-get remove -y $build_deps && apt-get clean all && \
  rm -fr /var/cache/apt && rm -fr /src && rm -fr /boost.src

ENTRYPOINT ["lindad"]


Add a dummy man page inorder to fix make install

.TH VIS 1 vis\-VERSION
.nh
.SH NAME
vis - a vim like text editor
.SH SYNOPSIS
.B vis
[files ...]
.br
.SH DESCRIPTION
.B vis
is a highly efficient vim like text editor.
.SH OPTIONS
.B \-v
Print version information to standard output and exit.
.SH AUTHOR
vis is written by Marc André Tanner <mat at brain-dump.org>


Add manual page for password generation utility

.TH PASSGEN 1
.SH NAME
\fBpassgen\fP \-\- Generate a strong password
.SH SYNOPSIS
\fBpassgen\fP [\fB\-\-length\fP \fIchars\fP] [\fB\-\-use\-symbols\fP] [\fB\-\-use\-similar\fP] [\fB\-\-spaces\fP] [\fB\-\-copy\fP]
.SH DESCRIPTION
Creates a cryptographically\-strong password and sends the result to STDOUT.
.SH OPTIONS
.TP
\fB\-l, \-\-length\fP \fIcharacters\fP
Set the length of the generated password. Default:
.I 16
.TP
\fB\-\-use\-symbols\fP \fIflag\fP
Set whether punctuation is allowed in the password.
\fIflag\fP is either a 1 or 0 to enable or disable punctuation, respectively.
Default:
.I 1
.TP
\fB\-\-use\-similar\fP \fIflag\fP
Set whether similar\-looking characters are allowed in the password, such as 1 and lowercase L.
\fIflag\fP is either a 1 or 0 to enable or disable similar\-looking characters.
Default:
.I 1
.TP
\fB\-s, \-\-spaces\fP
Enable the use of space characters (U+0020) in passwords.
By default, no whitespace will be used.
.TP
\fB\-c, \-\-copy\fP
Copy the password to the system clipboard (Mac OS only).
The result that's sent to STDOUT is a formatted notification describing what's been copied to the clipboard.
.SH AUTHOR
Copyright (c) 2015 John Gardner <\fIgardnerjohng@gmail.com\fP>.
.PP
Freely released under the ISC license. See also \fIhttp://opensource.org/licenses/ISC\fP.


.\" -*- nroff -*-
.TH TIMMY 1 "August 23, 2015"
.SH TIMMY
timmy \- use a TLS server for trusted timestamping
.SH SYNOPSIS
.B timmy
.RI --sign\ FILE\ [\ --host\ HOST\ [\ --port\ PORT\ ]\ ]
.PP
.B timmy
.RI --verify\ FILE
.PP
.B timmy
.RI -h
.SH DESCRIPTION
Use TLS server given by \-\-host as a trusted timestamping server (defaults to www.google.com).
.SH SEE ALSO
.BR https://github.com/bjornedstrom/timmy
.SH AUTHOR
perm was written by Bjorn Edstrom <be@bjrn.se>.


Add a manpage for my markdown extensions.

.\"
.Dd Dec 22, 2007
.Dt MKD-EXTENSIONS 7
.Os MASTODON
.Sh NAME
.Nm mkd-extensions
.Nd Extensions to the Markdown text formatting syntax
.Sh DESCRIPTION
This version of markdown has been extended in a few ways by
extending existing markup, creating new markup from scratch,
and borrowing markup from other markup languages.
.Ss Image dimensions
Markdown embedded images have been extended to allow specifying
the dimensions of the image by adding a new argument
.Em =/height/x/width/ to the link description.
.Pp
The new image syntax is
.nf
	![alt text](image =/height/x/width/ "title")
.fi
.Ss pseudo-protocols
Three pseudo-protocols have been added to links
.Bl -tag -width XXXXX
.It Ar id:
The
.Ar "alt text"
is marked up and written to the output, wrapped with
.Em ""
and
.Em "" .
.It Ar class:
The
.Ar "alt text"
is marked up and written to the output, wrapped with
.Em ""
and
.Em "" .
.It Ar raw:
The
.Ar title
is written
.Em -- with no further processing --
to the output.  The
.Ar "alt text"
is discarded.
.El
.Ss Pandoc headers
If markdown was configured with
.Ar --enable-pandoc-header ,
the markdown source document can have a 3-line
.Xr Pandoc
header in the format of
.nf
    % title
    % author(s)
    % date
.fi
which will be made available to the
.Fn mkd_doc_title ,
.Fn mkd_doc_author ,
and
.Fn mkd_doc_date
functions.
.Ss Definition lists
If markdown was configured with
.Ar --enable-dl-tag ,
markup for definition lists is enabled.  A definition list item
is defined as
.nf
=tag=
    description
.fi
(that is a
.Ar = ,
followed by text, another
.Ar = ,
a newline, 4 spaces of intent, and then more text.)
.Pp
.Ss embedded stylesheets
Stylesheets may be defined and modified in a
.Em  at the end of the line or
a
.Em </style> at the beginning of a subsequent line.
.Pp
Be warned that style blocks work like footnote links -- no matter
where you define them they are valid for the entire document.
.Sh AUTHOR
David Parsons
.%T http://www.pell.portland.or.us/~orc/
.Sh SEE ALSO
.Xr markdown 1 ,
.Xr markdown 3 ,
.Xr mkd-functions 3 ,
.Xr mkd-extensions 7 .
.Pp
.%T http://daringfireball.net/projects/markdown


Add dockerfile for Nano node version of 14.1

FROM ubuntu:16.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="build-essential git autoconf automake gcc cmake binutils"
ENV lib_deps="python-dev libtool libicu-dev libdb-dev libevent-dev libminiupnpc-dev"
RUN apt update && \
  apt install -y curl $build_deps $lib_deps && \
  curl -sSL https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz | tar -xzf - && \
  mv boost_1_66_0 boost.src && \
  cd boost.src && ./bootstrap.sh && ./b2 --prefix=/usr --build-dir=boost.build --without-mpi link=static install && cd .. && \
  git clone https://github.com/nanocurrency/raiblocks.git && \
  cd raiblocks && \
  git submodule init && git submodule update --recursive --remote && \
  git checkout 7829d4ffde9ae470e2b2d43a19f5211cfd210dc6 && \
  git submodule update && \
  cmake -Wno-dev \
    ENABLE_AVX2=OFF RAIBLOCKS_GUI=OFF \
    PERMUTE_WITH_GATHER=OFF \
    PERMUTE_WITH_SHUFFLES=OFF . && \
  make && make install && mv ./rai_node /usr/bin/ && \
  mv librai_lib.so /usr/lib/ && \
  apt remove -y $build_deps && apt clean all && \
  rm -fr /var/cache/apt && \
  cd .. && rm -fr /raiblocks && rm -fr /boost.src

ENTRYPOINT ["rai_node"]
CMD [ "--daemon" ]


.TH salt-master 1 "April 2011" "salt-master 0.7.0" "salt-master Manual"

.SH NAME
salt-master \- The salt master daemon, used to control the salt minions

.SH SYNOPSIS
.B salt-master [ options ]

.SH DESCRIPTION
Saltkey executes simple management of salt server public keys used for authentication.

.SH OPTIONS
.TP
-h, --help
Print a usage message briefly summarizing these command-line options.

.TP
-d, --daemon
Run the salt master as a daemon

.TP
-c CONFIG, --config=CONFIG
The master configuration file to use, the default is /etc/salt/master

.SH AUTHORS
Thomas S. Hatch <thatch@gmail.com>


Add delay before tally output to get a readable output

0040 KILO #include <time.h>

#include >fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <time.h>
0066 KILO
$I
$I int return_value;
$I int ignore;
$I static struct termios temp_termios;
$I
$I int inc(){
$I    static int counterA = 0;
$I    counterA++;
$I    return counterA;
$I }
$I
$I int doWait(void)
$I {
$I         clock_t ticks1, ticks2;
$I
$I         ticks1=clock();
$I         ticks2=ticks1;
$I         while((ticks2-ticks1)<201234)
$I                 ticks2=clock();
$I
$I         return 0;
$I }
$I
0848 KILO     ab->len += len;
$I
$I        tcgetattr (STDIN_FILENO, &temp_termios);
$I        tcsetattr (STDIN_FILENO, TCSANOW, &orig_termios);
$I        printf("tally %d length %d\n", inc(), len);
$I        doWait();
$I        tcsetattr (STDIN_FILENO, TCSANOW, &temp_termios);
$I
0970 KILO     abAppend(&ab,"\x1b[?25h",6); /* Show cursor. */
$I
$I   char* filestring ="new";
$I
$I /* unlink filestring, if link exists */
$I
$I   ignore = unlink(filestring);
$I
$I /* Create filestring anew. Open filestring for writing.
$I   specify append, but this is unnecessary */
$I
$I   int fd = open (filestring, O_WRONLY | O_CREAT | O_APPEND , 0666);
$I
$I   int length = ab.len;
$I   write (fd, ab.b, length);
$I
$I   close (fd);
$I
$I        tcgetattr (STDIN_FILENO, &temp_termios);
$I        tcsetattr (STDIN_FILENO, TCSANOW, &orig_termios);
$I   ignore = getchar();
$I        tcsetattr (STDIN_FILENO, TCSANOW, &temp_termios);
$I
0971 KILO     write(STDOUT_FILENO,ab.b,ab.len);


Add man page for geoc raster crop geometry commmand.

.TH "geoc-raster-crop-geometry" "1" "12 October 2013" "version 0.1"
.SH NAME
geoc raster crop geometry
.SH DESCRIPTION
Crop a Raster with a Geometry
.SH OPTIONS
-g --geometry: The Geometry
.PP
-o --output-raster: The output raster
.PP
-f --output-raster-format: The output raster format
.PP
-i --input-raster: The input raster
.PP
-p --input-projection: The input projection
.PP
--help : Print the help message
.PP


#
# Adblock-Routes turbo.me file
# https://github.com/turboapps/turbome/tree/master/turbobrowsers/block-ad-routes/adult-routes
#
# Created with Turbo CMD version 1.4.1085.0
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

###################################
# Meta tags
###################################

meta title="Block Adult Networks"
meta namespace="turbobrowsers"
meta name="block-ad-routes"

###################################
# Pull dependency images
###################################

layer clean

###################################
# Version
###################################

var version = year + "." + month + "." + day
meta tag = version

###################################
# Startup File
###################################

startup file ("cmd","/k echo This is a dependency and should not be launched by itself")

Fix spelling in image name metadata

#
# Adblock-Routes turbo.me file
# https://github.com/turboapps/turbome/tree/master/turbobrowsers/block-ad-routes/adult-routes
#
# Created with Turbo CMD version 1.4.1085.0
#
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0

###################################
# Meta tags
###################################

meta title="Block Adult Networks"
meta namespace="turbobrowsers"
meta name="block-adult-routes"

###################################
# Pull dependency images
###################################

layer clean

###################################
# Version
###################################

var version = year + "." + month + "." + day
meta tag = version

###################################
# Startup File
###################################

startup file ("cmd","/k echo This is a dependency and should not be launched by itself")


FROM alpine:3.6
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="autoconf automake build-base libtool db-dev boost-dev openssl-dev libevent-dev"
RUN apk add --update curl $build_deps && \
  curl -sSL https://github.com/Bitcoin-ABC/bitcoin-abc/archive/v0.14.6.tar.gz | tar -xzf - && \
  cd bitcoin-abc-0.14.6 && ./autogen.sh && \
  ./configure --prefix=/usr --with-incompatible-bdb && \
  make && make install && \
  apk del $build_deps && rm -fr /var/cache/apk

ENTRYPOINT bitcoind

Fix bitcoin-cash daemon in Dockerfile

FROM alpine:3.6
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="autoconf automake build-base"
ENV lib_deps="libtool db-dev boost-dev openssl-dev libevent-dev"
RUN apk add --update curl $build_deps $lib_deps && \
  curl -sSL https://github.com/Bitcoin-ABC/bitcoin-abc/archive/v0.14.6.tar.gz | tar -xzf - && \
  cd bitcoin-abc-0.14.6 && ./autogen.sh && \
  ./configure --prefix=/usr --with-incompatible-bdb && \
  make && make install && \
  apk del $build_deps && rm -fr /var/cache/apk

ENTRYPOINT bitcoind


.TH multiwatch 1 "March  24, 2009"
.SH NAME
multiwatch \- forks and watches multiple instances of a program in the same environment
.SH SYNOPSIS
.B multiwatch
[options] -- <application> [app arguments]

.B multiwatch
\-v

.B multiwatch
\-\-help | \-?
.SH DESCRIPTION
\fImultiwatch\fP is used to fork and watch multiple fastcgi backends.
.SH OPTIONS
.TP 8
.B \-f, \-\-forks=childs
Number of childs to fork and watch(default 1)
.TP 8
.B \-r, --retry=retries
Number of retries to fork a single child
.TP 8
.B \-t, --timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is reset
.TP 8
.B \-?, --help
General usage instructions
.TP 8
.B \-v, --version
Show version
.SH EXAMPLE
.TP 8
Spawn 2 rails instances on the same fastcgi socket (and supervise them):
.RS 8
.B spawn-fcgi -s /tmp/fastcgi-php.sock -C 0 -n /usr/bin/multiwatch -f 2 /home/rails/public/dispatch.fcgi
.RE
.SH SEE ALSO
spawn-fcgi(1)
.SH AUTHOR
Stefan Buehler <stbuehler@web.de>.

Fix typo in man-page (php instead of rails)

.TH multiwatch 1 "March  24, 2009"
.SH NAME
multiwatch \- forks and watches multiple instances of a program in the same environment
.SH SYNOPSIS
.B multiwatch
[options] -- <application> [app arguments]

.B multiwatch
\-v

.B multiwatch
\-\-help | \-?
.SH DESCRIPTION
\fImultiwatch\fP is used to fork and watch multiple fastcgi backends.
.SH OPTIONS
.TP 8
.B \-f, \-\-forks=childs
Number of childs to fork and watch(default 1)
.TP 8
.B \-r, --retry=retries
Number of retries to fork a single child
.TP 8
.B \-t, --timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is reset
.TP 8
.B \-?, --help
General usage instructions
.TP 8
.B \-v, --version
Show version
.SH EXAMPLE
.TP 8
Spawn 2 rails instances on the same fastcgi socket (and supervise them):
.RS 8
.B spawn-fcgi -s /tmp/fastcgi-rails.sock -C 0 -n /usr/bin/multiwatch -f 2 /home/rails/public/dispatch.fcgi
.RE
.SH SEE ALSO
spawn-fcgi(1)
.SH AUTHOR
Stefan Buehler <stbuehler@web.de>.


-*- Mode:Diff -*-
--- libwpd/src/lib/libwpd_math.h
+++ libwpd/src/lib/libwpd_math.h
@@ -31,8 +31,8 @@
 #include <math.h>

-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_MSC_VER) && _MSC_VER < 1800
 double rint(double x);
-#endif /* _WIN32 */
+#endif /* _MSC_VER < 1800 */

 #endif /* LIBWPD_MATH_H */
 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
--- libwpd/src/lib/libwpd_math.cpp
+++ libwpd/src/lib/libwpd_math.cpp
@@ -26,7 +26,7 @@

 #include "libwpd_math.h"

-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_MSC_VER) && _MSC_VER < 1800

 double rint(double x)
 {

Add one missing line of context

--- libwpd/src/lib/libwpd_math.h
+++ libwpd/src/lib/libwpd_math.h
@@ -31,9 +31,9 @@

 #include <math.h>

-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_MSC_VER) && _MSC_VER < 1800
 double rint(double x);
-#endif /* _WIN32 */
+#endif /* _MSC_VER < 1800 */

 #endif /* LIBWPD_MATH_H */
 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
--- libwpd/src/lib/libwpd_math.cpp
+++ libwpd/src/lib/libwpd_math.cpp
@@ -26,7 +26,7 @@

 #include "libwpd_math.h"

-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_MSC_VER) && _MSC_VER < 1800

 double rint(double x)
 {


#! /bin/sh

. $EXTERNALS_CONFIG

cd $PACKAGE_NAME

LIBS=-ldl ./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --with-ssl=$EXTERNALS_INSTALL_DIR/$EXT_OPENSSL_VERSION --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6

if [ $? -ne 0 ]
then
	echo "configure failed"
	exit 1
fi

make
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

make install
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

Fix minor curl build bug

#! /bin/sh

. $EXTERNALS_CONFIG

cd $PACKAGE_NAME

if [ `uname` = SunOS ]
then
LIBS=-ldl ./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --without-ssl --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
else
./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --without-ssl --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
fi

if [ $? -ne 0 ]
then
	echo "configure failed"
	exit 1
fi

make
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

make install
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi


SHOW STOPPERS
====================
- Ship Apache::Test 1.31 official [phred, ]
- Windows Segfaults [needs windows developer owner, ]
- MANIFEST verifications [needs detail, ]
- rt.cpan.org PRs [pgollucci, phred, ]

NICE TO HAVE
=============
- Smolder, https://issues.apache.org/jira/browse/INFRA-1612 [pgollucci, ]

Mark one todo off the list.

SHOW STOPPERS
====================
- Windows Segfaults [needs windows developer owner, ]
- MANIFEST verifications [needs detail, ]
- rt.cpan.org PRs [pgollucci, phred, ]

NICE TO HAVE
=============
- Smolder, https://issues.apache.org/jira/browse/INFRA-1612 [pgollucci, ]


.\" Copyright (C) 2016 Christopher Wells <cwellsny@nycap.rr.com>
.\"
.\" This manual page is distributed under the terms
.\" of the GNU Free Documentation License version 1.3.
.\"
.TH Tempconvert "1" "2016-02-15" "tempconvert 1.0.0" "User Commands"

.SH NAME
Tempconvert \- a command that converts between different temperature units

.SH SYNOPSIS
.B tempconvert
.RI [ OPTIONS ]
.I INPUTUNIT
.I OUTPUTUNIT
.RI [ INPUTTEMP ]

.SH DESCRIPTION
Tempconvert is a command which converts a given temperature from a given temperature unit into another given temperature unit.

The input temperature unit should be given before the output temperature unit. The input temperature can be given as the final program arguement or though standard input, with the program arguement taking precedence. For example, to convert a temperature from Farenheit to Celsius, one would run something like either of the following:

.RS 4
tempconvert f c 32

echo "32" | tempconvert f c

.SH TEMPERATURE UNITS

.TP
c
Celsius

.TP
f
Farenheit

.TP
k
Kelvin

.SH CONTRIBUTORS
Christopher Wells <cwellsny@nycap.rr.com>

Add license info to manual file

.\" Copyright (C) 2016 Christopher Wells <cwellsny@nycap.rr.com>
.\"
.\" This manual page is distributed under the terms
.\" of the GNU Free Documentation License version 1.3.
.\"
.TH Tempconvert "1" "2016-02-17" "tempconvert 1.0.0" "User Commands"

.SH NAME
Tempconvert \- a command that converts between different temperature units

.SH SYNOPSIS
.B tempconvert
.RI [ OPTIONS ]
.I INPUTUNIT
.I OUTPUTUNIT
.RI [ INPUTTEMP ]

.SH DESCRIPTION
Tempconvert is a command which converts a given temperature from a given temperature unit into another given temperature unit.

The input temperature unit should be given before the output temperature unit. The input temperature can be given as the final program arguement or though standard input, with the program arguement taking precedence. For example, to convert a temperature from Farenheit to Celsius, one would run something like either of the following:

.RS 4
tempconvert f c 32

echo "32" | tempconvert f c

.SH TEMPERATURE UNITS

.TP
c
Celsius

.TP
f
Farenheit

.TP
k
Kelvin

.SH CONTRIBUTORS
Christopher Wells <cwellsny@nycap.rr.com>

.SH COPYRIGHT
Program source code is available under the MIT License <https://opensource.org/licenses/MIT>.

Manual page is available under the GNU Free Documentation License version 1.3 <https://www.gnu.org/licenses/fdl-1.3-standalone.html>.


source 'https://rubygems.org'

# Specify your gem's dependencies in smart_paginate.gemspec
gemspec path: '..'

gem 'activerecord', '~> 5.2.0'
gem 'sqlite3', '~> 1.4.2'

Fix version mistake in AR 6.1 Gemfile.

source 'https://rubygems.org'

# Specify your gem's dependencies in smart_paginate.gemspec
gemspec path: '..'

gem 'activerecord', '~> 6.1.0'
gem 'sqlite3', '~> 1.4.2'


.TH DSSH 1 "2016-02-21" "" "User Commands"
.SH NAME
.NM dssh
.ND Distributed SSH Tool
.SH SYNOPSIS
.B dssh
[-aAcpq] [\-f\ host_file...] [\-i\ id_file] [\-l\ host-list...] [\-o\ ssh_opts]
[\-u\ username] [\-s\ timeout] [-t\ max_threads] command
.SH DESCRIPTION
...
.TP
.I "\-a"
.TP
.I "\-A"
.TP
.I "\-c"
.TP
.I "\-i" id_file
.TP
.I "\-o" ssh_opts
.TP
.I "\-p"
.TP
.I "\-q"
.TP
.I "\-u" username
.TP
.I "\-s" timeout
.TP
.I "\-t" num_threads
.SH AUTHOR
Matthew Malensek <matt@malensek.net>
.SH HOMEPAGE
http://matthew.malensek.net
.SH LICENSE
This software is released under the 2-Clause BSD License.  See LICENSE.txt file for details.

Move options to separate lines to ease editing

.TH DSSH 1 "2016-02-21" "" "User Commands"
.SH NAME
.NM dssh
.ND Distributed SSH Tool
.SH SYNOPSIS
.B dssh
[-aAcpq]
[\-f\ host_file...]
[\-i\ id_file]
[\-l\ host-list...]
[\-o\ ssh_opts]
[\-u\ username]
[\-s\ timeout]
[-t\ max_threads]
.B command
.SH DESCRIPTION
...
.TP
.I "\-a"
.TP
.I "\-A"
.TP
.I "\-c"
.TP
.I "\-i" id_file
.TP
.I "\-o" ssh_opts
.TP
.I "\-p"
.TP
.I "\-q"
.TP
.I "\-u" username
.TP
.I "\-s" timeout
.TP
.I "\-t" num_threads
.SH AUTHOR
Matthew Malensek <matt@malensek.net>
.SH HOMEPAGE
http://matthew.malensek.net
.SH LICENSE
This software is released under the 2-Clause BSD License.  See LICENSE.txt file for details.


.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Op Fl w Ar delay
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.It Fl w Ar delay
Wait
.Ar delay
seconds between updates.
The default is 1.
.El
.Pp
The columns in the main display are, from left to right:
.Bl -enum
.It
Total since startup
.It
Delta since last update
.It
Average over process lifetime
.It
Descriptive text
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.

Correct the description of the second and third fields.

.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Op Fl w Ar delay
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.It Fl w Ar delay
Wait
.Ar delay
seconds between updates.
The default is 1.
.El
.Pp
The columns in the main display are, from left to right:
.Bl -enum
.It
Total since startup
.It
Per-second average in the period since last update
.It
Per-second average over process lifetime
.It
Descriptive text
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.


.\"
.\"Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd $Mdocdate$
.Dt Y86_OBJ_CODE 7
.Os
.Sh NAME
.Nm y86_obj_code
.Nd y86 object code reference
.Sh DESCRIPTION
.Sy y86 object code
is represented by ASCII text files ending in a
.Em \.yo
extension.
Each line in the program file is either a
.Sy comment record
or a
.Sy data record .
.Pp
A
.Sy comment record
is of the form:
.Bd -literal -compact
                      | comment here
.Ed
where columns 0-21 contain space characters
(
.Sq " "
)
and column 22 contains a pipe character (
.Sq |
) .
Any characters beyond column 22 are considered part of a
comment and are ignored.
.Pp

.Sh SEE ALSO
.Xr yess 1

Use macro to insert parentheses

.\"
.\"Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd $Mdocdate$
.Dt Y86_OBJ_CODE 7
.Os
.Sh NAME
.Nm y86_obj_code
.Nd y86 object code reference
.Sh DESCRIPTION
.Sy y86 object code
is represented by ASCII text files ending in a
.Em \.yo
extension.
Each line in the program file is either a
.Sy comment record
or a
.Sy data record .
.Pp
A
.Sy comment record
is of the form:
.Bd -literal -compact
                      | comment here
.Ed
where columns 0-21 contain space characters
.Pq Sq " "
and column 22 contains a pipe character (
.Sq |
) .
Any characters beyond column 22 are considered part of a
comment and are ignored.
.Pp

.Sh SEE ALSO
.Xr yess 1


FROM ubuntu:16.04

RUN apt-get update && \
    apt-get install -y \
        software-properties-common && \
    add-apt-repository -y ppa:thopiekar/pyside-git && \
    apt-get update && apt-get install -y \
        python3 \
        python3-dev \
        python3-pip \
        python3-pyqt4 \
        python3-pyqt5 \
        python3-pyside \
        python3-pyside2

# Nose is the Python test-runner
RUN pip3 install nose nosepipe

# Enable additional output from Qt.py
ENV QT_VERBOSE true

WORKDIR /workspace/Qt.py
ENTRYPOINT cp -r /Qt.py /workspace && \
    python3 build_caveats_tests.py && \
    nosetests3 \
        --verbose \
        --with-process-isolation \
        --with-doctest \
        --exe

Repair Dockerfile for Python 3.5

FROM ubuntu:16.04

RUN apt-get update && \
    apt-get install -y \
        software-properties-common && \
    add-apt-repository -y ppa:thopiekar/pyside-git && \
    apt-get update && apt-get install -y \
        python3 \
        python3-dev \
        python3-pip \
        python3-pyqt4 \
        python3-pyqt5 \
        python3-pyside \
        python3-pyside2

# Nose is the Python test-runner
RUN pip3 install nose nosepipe

# Enable additional output from Qt.py
ENV QT_VERBOSE true

WORKDIR /workspace/Qt.py
ENTRYPOINT cp -r /Qt.py /workspace && \
    python3 build_caveats_tests.py && \
    nosetests \
        --verbose \
        --with-process-isolation \
        --with-doctest \
        --exe


#! /bin/sh

. $EXTERNALS_CONFIG

cd $PACKAGE_NAME

if [ `uname` = SunOS ]
then
LIBS=-ldl ./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --without-ssl --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
else
./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --without-ssl --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
fi

if [ $? -ne 0 ]
then
	echo "configure failed"
	exit 1
fi

make
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

make install
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

Fix curl external on hpux and freebsd.

#! /bin/sh

. $EXTERNALS_CONFIG

cd $PACKAGE_NAME

# Solaris curl external needs -ldl on the command line for ssl linking
if [ `uname` = "SunOS" ] ; then
    LIBS=-ldl ./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --with-ssl=$EXTERNALS_INSTALL_DIR/$EXT_OPENSSL_VERSION --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
else
    ./configure --prefix=$PACKAGE_INSTALL_DIR --disable-shared --with-ssl=$EXTERNALS_INSTALL_DIR/$EXT_OPENSSL_VERSION --with-zlib=$EXTERNALS_INSTALL_DIR/$EXT_ZLIB_DIR --disable-ipv6
fi
if [ $? -ne 0 ]
then
	echo "configure failed"
	exit 1
fi

make
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi

make install
if [ $? -ne 0 ]
then
	echo "make failed"
	exit 1
fi


.\" $Id: libssh2_channel_forward_accept.3,v 1.3 2007/06/13 12:51:10 jehousley Exp $
.\"
.TH libssh2_channel_forward_accept 3 "1 June 2007" "libssh2 0.15" "libssh2 manual"
.SH NAME
libssh2_channel_forward_accept - accept a queued connection
.SH SYNOPSIS
.B #include <libssh2.h>

.B LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
.SH DESCRIPTION
\fIlistener\fP is a forwarding listener instance as returned by
\fBlibssh2_channel_forward_listen(3)\fP.
.SH RETURN VALUE
A newly allocated channel instance or NULL on failure.
.SH ERRORS
LIBSSH2_ERROR_EAGAIN
Marked for non-blocking I/O but the call would block.
.SH SEE ALSO
.BI libssh2_channel_forward_listen(3)

Update to match current code and add errors

.\" $Id: libssh2_channel_forward_accept.3,v 1.4 2007/06/13 12:58:58 jehousley Exp $
.\"
.TH libssh2_channel_forward_accept 3 "1 June 2007" "libssh2 0.15" "libssh2 manual"
.SH NAME
libssh2_channel_forward_accept - accept a queued connection
.SH SYNOPSIS
#include <libssh2.h>

LIBSSH2_CHANNEL *
libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);

.SH DESCRIPTION
\fIlistener\fP is a forwarding listener instance as returned by
\fBlibssh2_channel_forward_listen(3)\fP.
.SH RETURN VALUE
A newly allocated channel instance or NULL on failure.
.SH ERRORS
\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call
would block.
.SH SEE ALSO
.BR libssh2_channel_forward_listen(3)


FROM ubuntu:16.04

RUN apt-get update && \
    apt-get install -y \
        software-properties-common && \
    add-apt-repository -y ppa:thopiekar/pyside-git && \
    apt-get update && apt-get install -y \
        python3 \
        python3-dev \
        python3-pip \
        python3-pyqt4 \
        python3-pyqt5 \
        python3-pyside \
        python3-pyside2 \
        xvfb

# Nose is the Python test-runner
RUN pip3 install nose nosepipe

# Enable additional output from Qt.py
ENV QT_VERBOSE true

# Xvfb
ENV DISPLAY :99

WORKDIR /workspace/Qt.py
ENTRYPOINT cp -r /Qt.py /workspace && \
    python3 build_caveats_tests.py && \
    python build_membership_tests.py && \
	Xvfb :99 -screen 0 1024x768x16 2>/dev/null & \
	sleep 3 && \
    nosetests \
        --verbose \
        --with-process-isolation \
        --with-doctest \
        --exe

Fix Dockerfile for Python 3.5

FROM ubuntu:16.04

RUN apt-get update && \
    apt-get install -y \
        software-properties-common && \
    add-apt-repository -y ppa:thopiekar/pyside-git && \
    apt-get update && apt-get install -y \
        python3 \
        python3-dev \
        python3-pip \
        python3-pyqt4 \
        python3-pyqt5 \
        python3-pyside \
        python3-pyside2 \
        xvfb

# Nose is the Python test-runner
RUN pip3 install nose nosepipe

# Enable additional output from Qt.py
ENV QT_VERBOSE true

# Xvfb
ENV DISPLAY :99

WORKDIR /workspace/Qt.py
ENTRYPOINT cp -r /Qt.py /workspace && \
    python3 build_caveats_tests.py && \
    python3 build_membership_tests.py && \
	Xvfb :99 -screen 0 1024x768x16 2>/dev/null & \
	sleep 3 && \
    nosetests \
        --verbose \
        --with-process-isolation \
        --with-doctest \
        --exe


.Dd Feb 3, 1995
.Dt "PIANO" 6
.Os
.Sh NAME
.Nm piano
.Nd "a piano emulator"
.Sh SYNOPSIS
.Nm piano
.Op Fl vV
.Op Fl i Ar string
.Sh DESCRIPTION
The
.Nm piano
plays note by typing
.Em "QWERTYUIOP[]"
or
.Em "12 45 789 -=" .
Type
.Em ESC
key to quit
.Nm piano .
.Nm Piano
uses
.Em /dev/speaker .
.Pp
Available option:
.Bl -tag -width flag
.It Fl v
The
.Fl v
option causes
.Nm piano
to generate
.Em "play-string language" .
.It Fl V
The
.Fl V
option is for
.Nm piano
usage.
.It Fl i Ar string
The
.Fl i
option initializes
.Em /dev/speaker
by
.Ar string .
The default value is 't160 o1 l16 ml'.
.El
.Sh FILES
.Bl -tag -width /dev/speakerxx
.It Pa /dev/speaker
speaker device file
.Sh SEE ALSO
.Xr spkr 4
.Sh AUTHOR
Toshihiro Kanda <candy@kgc.co.jp> Nov. 1993

Add prototypes, usage(). Add Id.

.Dd Feb 3, 1995
.Dt "PIANO" 6
.Os
.Sh NAME
.Nm piano
.Nd "a piano emulator"
.Sh SYNOPSIS
.Nm piano
.Op Fl vV
.Op Fl i Ar string
.Sh DESCRIPTION
The
.Nm piano
plays note by typing
.Em "QWERTYUIOP[]"
or
.Em "12 45 789 -=" .
Type
.Em ESC
key to quit
.Nm piano .
.Nm Piano
uses
.Em /dev/speaker .
.Pp
Available option:
.Bl -tag -width flag
.It Fl v
The
.Fl v
option causes
.Nm piano
to generate
.Em "play-string language" .
.It Fl V
The
.Fl V
option is for
.Nm piano
usage.
.It Fl i Ar string
The
.Fl i
option initializes
.Em /dev/speaker
by
.Ar string .
The default value is 't160 o1 l16 ml'.
.El
.Sh FILES
.Bl -tag -width /dev/speakerxx
.It Pa /dev/speaker
speaker device file
.Sh SEE ALSO
.Xr spkr 4
.Sh AUTHORS
.An Toshihiro Kanda Aq candy@kgc.co.jp
Nov. 1993


.\" $Id: libssh2_sftp_last_error.3,v 1.1 2007/06/14 16:08:43 jehousley Exp $
.\"
.TH libssh2_sftp_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
.SH NAME
libssh2_sftp_last_error - return the last SFTP-specific error code
.SH SYNOPSIS
#include <libssh2.h>
#include <libssh2_sftp.h>

unsigned long
libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);

.SH DESCRIPTION
\fIsftp\fP - SFTP instance as returned by
.BR libssh2_sftp_init(3)

Determines the last error code produced by the SFTP layer.

.SH RETURN VALUE
Current error code state of the SFTP instance.

.SH SEE ALSO
.BR libssh2_sftp_init(3)

Clarify that this is only fine to use after an actual SFTP protocol error return code.

.\" $Id: libssh2_sftp_last_error.3,v 1.2 2008/12/15 18:48:09 bagder Exp $
.\"
.TH libssh2_sftp_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
.SH NAME
libssh2_sftp_last_error - return the last SFTP-specific error code
.SH SYNOPSIS
#include <libssh2.h>
#include <libssh2_sftp.h>

unsigned long
libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);

.SH DESCRIPTION
\fIsftp\fP - SFTP instance as returned by
.BR libssh2_sftp_init(3)

Returns the last error code produced by the SFTP layer. Note that this only
returns a sensible error code if libssh2 returned LIBSSH2_ERROR_SFTP_PROTOCOL
in a previous call. Using \fBlibssh2_sftp_last_error(3)\fP without a
preceeding SFTP protocol error, it will return an unspecified value.

.SH RETURN VALUE
Current error code state of the SFTP instance.

.SH SEE ALSO
.BR libssh2_sftp_init(3)


source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 5.1.0.beta'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.8.0.beta'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'
  end
end

Test Rails 5.1.0.rc Rails 5.1.0.rc1 and Oracle enhanced adapter 1.8.0.rc1 has been released

source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 5.1.0.rc'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.8.0.rc'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'
  end
end


.\" $XFree86: xc/programs/Xserver/hw/xfree86/drivers/suncg14/suncg14.man,v 1.2 2001/01/27 18:20:53 dawes Exp $
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH SUNCG14 __drivermansuffix__ __vendorversion__
.SH NAME
suncg14 \- CG14 video driver
.SH SYNOPSIS
.nf
.B "Section \*qDevice\*q"
.BI "  Identifier \*q"  devname \*q
.B  "  Driver \*qsuncg14\*q"
\ \ ...
.B EndSection
.fi
.SH DESCRIPTION
.B suncg14
is an XFree86 driver for Sun CG14 video cards.
THIS MAN PAGE NEEDS TO BE FILLED IN.
.SH SUPPORTED HARDWARE
The
.B suncg14
driver supports...
.SH CONFIGURATION DETAILS
Please refer to XF86Config(__filemansuffix__) for general configuration
details.  This section only covers configuration details specific to this
driver.
.SH "SEE ALSO"
XFree86(1), XF86Config(__filemansuffix__), xf86config(1), Xserver(1), X(__miscmansuffix__)
.SH AUTHORS
Authors include: Jakub Jelinek <jakub@redhat.com>

Replace references to XFree86/XF86Config in man page

.\" $XFree86: xc/programs/Xserver/hw/xfree86/drivers/suncg14/suncg14.man,v 1.2 2001/01/27 18:20:53 dawes Exp $
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH SUNCG14 __drivermansuffix__ __vendorversion__
.SH NAME
suncg14 \- CG14 video driver
.SH SYNOPSIS
.nf
.B "Section \*qDevice\*q"
.BI "  Identifier \*q"  devname \*q
.B  "  Driver \*qsuncg14\*q"
\ \ ...
.B EndSection
.fi
.SH DESCRIPTION
.B suncg14
is an __xservername__ driver for Sun CG14 video cards.
THIS MAN PAGE NEEDS TO BE FILLED IN.
.SH SUPPORTED HARDWARE
The
.B suncg14
driver supports...
.SH CONFIGURATION DETAILS
Please refer to __xconfigfile__(__filemansuffix__) for general configuration
details.  This section only covers configuration details specific to this
driver.
.SH "SEE ALSO"
__xservername__(1), __xconfigfile__(__filemansuffix__), xorgconfig(1), Xserver(1), X(__miscmansuffix__)
.SH AUTHORS
Authors include: Jakub Jelinek <jakub@redhat.com>


.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.

Add an explanation of the columns in the main display.

.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.El
.Pp
The columns in the main display are, from left to right:
.Bl -enum
.It
Total since startup
.It
Delta since last update (normally the last second)
.It
Average over process lifetime
.It
Descriptive text
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.


.TH TERMINIBBLES 1 "March, 2013"
.SH NAME
terminibbles
.SH SYNOPSIS
.B terminibbles
[-pqs] [\-d 123] [-l level-file]
.SH DESCRIPTION
A snake or nibbles game for your terminal.  Includes high-definition text-based
graphics and full-fidelity terminal sound for highly realistic and engaging
gameplay.  Ages 3 and up.
.SH OPTIONS
.TP
.I "\-p"
Progressive difficulty mode.  The game gets harder after every 25 points.
.TP
.I "\-q"
"Quiet" mode.  Doesn't display the splash screen and countdown at startup.
.TP
.I "\-s"
Enable sounds.  Sweet, sweet terminal beeps.
.TP
.I "\-d difficulty"
Set the difficulty level. 1 = easy, 2 = medium, 3 = hard.
.TP
.I "\-l level-file
Load a level file.  If no level-file is given, list available levels.
.SH CONTROLS
.TP
.I "Movement"
WASD, HJKL, Arrow Keys
.TP
.I "Pause"
p
.TP
.I "Quit"
q
.SH AUTHOR
Matthew Malensek
.SH HOMEPAGE
http://matthew.malensek.net/projects/terminibbles
.SH LICENSE
This software is released under the 2-Clause BSD License.  See LICENSE file for
details.

Update man page -l info.

.TH TERMINIBBLES 1 "March, 2013"
.SH NAME
terminibbles
.SH SYNOPSIS
.B terminibbles
[-pqs] [\-d 123] [-l level-file]
.SH DESCRIPTION
A snake or nibbles game for your terminal.  Includes high-definition text-based
graphics and full-fidelity terminal sound for highly realistic and engaging
gameplay.  Ages 3 and up.
.SH OPTIONS
.TP
.I "\-p"
Progressive difficulty mode.  The game gets harder after every 25 points.
.TP
.I "\-q"
"Quiet" mode.  Doesn't display the splash screen and countdown at startup.
.TP
.I "\-s"
Enable sounds.  Sweet, sweet terminal beeps.
.TP
.I "\-d difficulty"
Set the difficulty level. 1 = easy, 2 = medium, 3 = hard.
.TP
.I "\-l level-file
Load a level file.  level-file can be a path to a specific level file, or
reference one of the levels installed on the system.  If no level-file is given,
installed levels are listed.
.SH CONTROLS
.TP
.I "Movement"
WASD, HJKL, Arrow Keys
.TP
.I "Pause"
p
.TP
.I "Quit"
q
.SH AUTHOR
Matthew Malensek
.SH HOMEPAGE
http://matthew.malensek.net/projects/terminibbles
.SH LICENSE
This software is released under the 2-Clause BSD License.  See LICENSE file for
details.


FROM ubuntu:14.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

RUN apt-get update -y && \
  apt-get install -y curl build-essential libssl-dev \
    libdb-dev libdb++-dev libboost-all-dev git \
    libssl1.0.0-dbg libdb-dev libdb++-dev \
    libboost-all-dev libminiupnpc-dev \
    libminiupnpc-dev libevent-dev libcrypto++-dev \
    libgmp3-dev && \
  curl -sSL https://github.com/Muvon/bitflip-token/archive/0.1.tar.gz | tar -xzf - && \
  cd bitflip-token-0.1 && \
  cd src && make -f makefile.unix && \
  mv bitflipd /usr/bin/bitflipd && \
  apt-get clean

ENTRYPOINT bitflipd

Fix entrypoint for bitflip node

FROM ubuntu:14.04
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

RUN apt-get update -y && \
  apt-get install -y curl build-essential libssl-dev \
    libdb-dev libdb++-dev libboost-all-dev git \
    libssl1.0.0-dbg libdb-dev libdb++-dev \
    libboost-all-dev libminiupnpc-dev \
    libminiupnpc-dev libevent-dev libcrypto++-dev \
    libgmp3-dev && \
  curl -sSL https://github.com/Muvon/bitflip-token/archive/0.1.tar.gz | tar -xzf - && \
  cd bitflip-token-0.1 && \
  cd src && make -f makefile.unix && \
  mv bitflipd /usr/bin/bitflipd && \
  apt-get clean

ENTRYPOINT ["bitflipd"]


source 'https://rubygems.org'

gem 'rails', '~> 4.2.0'

if RUBY_VERSION > '1.9.3'
  gem 'mime-types'
else
  gem 'mime-types', '2.99'
end

gemspec path: '..'

Fix nokogiri with Ruby < 2.1

source 'https://rubygems.org'

gem 'rails', '~> 4.2.0'

if RUBY_VERSION > '1.9.3'
  gem 'mime-types'
else
  gem 'mime-types', '2.99'
end

if RUBY_VERSION < '2.1.0'
  gem 'nokogiri', '< 1.7'
end

gemspec path: '..'


.TH msm 1 "2017-08-09" "" "Mycroft Skill Manager"
.SH NAME
msm \- The Mycroft Skill Manager
.SH SYNOPSIS
.B msm
\fBoperation [\fIargument]

.B msm
\fBinstall \fBrss-skill

.SH DESCRIPTION
msm is a command line tool for installing and updating Mycroft skills. The command performs a number of operations inclding installing all default skills

.SH OPTIONS
.TP
\fBinstall \fIname\fR
Install the skill matching \fIname\fR found at https://github.com/MycroftAI/mycroft-skills
.TP
\fBinstall \fIgit-repository\fR
Install skill from the git repository \fIgit-repository\fR
.TP
\fBremove \fIname\fR
Remove the skill matching \fIname\fR
.TP
\fBupdate\fR
Update all installed skills to head of latest master branch
.TP
\fBdefault
Install and update all default skills
.TP
\fBlist
Lists available skills
.TP
\fBsearch \fIname\fR
Search for a skill in https://github.com/MycroftAI/mycroft-skills without installing it
.TP

Fix a small typo in line 12

.TH msm 1 "2017-08-09" "" "Mycroft Skill Manager"
.SH NAME
msm \- The Mycroft Skill Manager
.SH SYNOPSIS
.B msm
\fBoperation [\fIargument]

.B msm
\fBinstall \fBrss-skill

.SH DESCRIPTION
msm is a command line tool for installing and updating Mycroft skills. The command performs a number of operations including installing all default skills

.SH OPTIONS
.TP
\fBinstall \fIname\fR
Install the skill matching \fIname\fR found at https://github.com/MycroftAI/mycroft-skills
.TP
\fBinstall \fIgit-repository\fR
Install skill from the git repository \fIgit-repository\fR
.TP
\fBremove \fIname\fR
Remove the skill matching \fIname\fR
.TP
\fBupdate\fR
Update all installed skills to head of latest master branch
.TP
\fBdefault
Install and update all default skills
.TP
\fBlist
Lists available skills
.TP
\fBsearch \fIname\fR
Search for a skill in https://github.com/MycroftAI/mycroft-skills without installing it
.TP


.TH NOCACHE "1" "March 2013" "nocache" ""
.SH NAME
nocache \- don't use Linux page cache on given command
.SH SYNOPSIS
nocache [\-n <n>] \fBcommand\fR [argument...]
.SH OPTIONS
.TP
\fB\-n <n>\fR "Set number of fadvise calls"
Execute the `posix_fadvise` system call \fB<n>\fR times in a row.
Depending on your machine, this might give better results (use it if in
your tests `nocache` fails to eradicate pages from cache properly).
.SH DESCRIPTION
The `nocache` tool tries to minimize the effect an application has on
the Linux file system cache. This is done by intercepting the `open`
and `close` system calls and calling `posix_fadvise` with the
`POSIX_FADV_DONTNEED` parameter. Because the library remembers which
pages (ie., 4K-blocks of the file) were already in file system cache
when the file was opened, these will not be marked as "don't need",
because other applications might need that, although they are not
actively used (think: hot standby).

Use case: backup processes that should not interfere with the present
state of the cache.

Add some comments about cgroup use to the man page

.TH NOCACHE "1" "March 2013" "nocache" ""
.SH NAME
nocache \- don't use Linux page cache on given command
.SH SYNOPSIS
nocache [\-n <n>] \fBcommand\fR [argument...]
.SH OPTIONS
.TP
\fB\-n <n>\fR "Set number of fadvise calls"
Execute the `posix_fadvise` system call \fB<n>\fR times in a row.
Depending on your machine, this might give better results (use it if in
your tests `nocache` fails to eradicate pages from cache properly).
.SH DESCRIPTION
The `nocache` tool tries to minimize the effect an application has on
the Linux file system cache. This is done by intercepting the `open`
and `close` system calls and calling `posix_fadvise` with the
`POSIX_FADV_DONTNEED` parameter. Because the library remembers which
pages (ie., 4K-blocks of the file) were already in file system cache
when the file was opened, these will not be marked as "don't need",
because other applications might need that, although they are not
actively used (think: hot standby).

.SH ALTERNATIVE: HOW TO USE CGROUPS TO RESTRICT CACHE USE
If your use case is a  backup processes that should not interfere with the
present state of the cache too much, consider using cgroups instead. They're
much cleaner and carry less overhead than this tool.

For example, if your system uses systemd, you can do:

\fBsystemd-run --scope --property=MemoryLimit=500M\fR -- \fIbackup command\fR

For more info, see the README on https://github.com/Feh/nocache


.Dd $Mdocdate$
.Dt asmctl 1
.Os
.Sh NAME
.Nm asmctl
.Nd controlling keyboard backlight and LCD backlight
.Sh SYNOPSIS
.Nm asmctl Ar video
.Op Ar up | down | acpi
.Br
.Nm asmctl Ar key
.Op Ar up | down
.Sh DESCRIPTION
The
.Nm
command controls LCD backlight and keyboard backlight
by setting following sysctl(8) variables.

.Dl hw.acpi.video.lcd0.brightness
.Dl dev.asmc.0.light.control

.Sh OPTIONS
.Bl -tag -width indent
.It Ar video up
Brighten the LCD backlight.
.It Ar video down
Dim the LCD backlight
.It Ar video acpi
Adjust the LCD backlight brightness based on whether the laptop is on AC power or battery power.  Relies on acpi status.
.It Ar key up
Brighten the keyboard backlight.
.It Ar key down
Dim the keyboard backlight.
.El

.Sh FILES
.Bl -tag -width indent
.It Ar /var/lib/asmctl.conf
Saved sysctl(8) values for next boot.
.El

.Sh REQUIERMENTS

The following kernel modules are required.

.Dl asmctl.ko
.Dl acpi_video.ko

.Sh SECURITY
Changing hw.acpi.video.* sysctl variables requires root privilege.
For this reason,
.Nm
is installed with setuid root.
On FreeBSD-11.0R or higher,
.Nm
uses capsicum(4) to be sandboxed.

Fix typo in kernel module name.

.Dd $Mdocdate$
.Dt asmctl 1
.Os
.Sh NAME
.Nm asmctl
.Nd controlling keyboard backlight and LCD backlight
.Sh SYNOPSIS
.Nm asmctl Ar video
.Op Ar up | down | acpi
.Br
.Nm asmctl Ar key
.Op Ar up | down
.Sh DESCRIPTION
The
.Nm
command controls LCD backlight and keyboard backlight
by setting following sysctl(8) variables.

.Dl hw.acpi.video.lcd0.brightness
.Dl dev.asmc.0.light.control

.Sh OPTIONS
.Bl -tag -width indent
.It Ar video up
Brighten the LCD backlight.
.It Ar video down
Dim the LCD backlight
.It Ar video acpi
Adjust the LCD backlight brightness based on whether the laptop is on AC power or battery power.  Relies on acpi status.
.It Ar key up
Brighten the keyboard backlight.
.It Ar key down
Dim the keyboard backlight.
.El

.Sh FILES
.Bl -tag -width indent
.It Ar /var/lib/asmctl.conf
Saved sysctl(8) values for next boot.
.El

.Sh REQUIERMENTS

The following kernel modules are required.

.Dl asmc.ko
.Dl acpi_video.ko

.Sh SECURITY
Changing hw.acpi.video.* sysctl variables requires root privilege.
For this reason,
.Nm
is installed with setuid root.
On FreeBSD-11.0R or higher,
.Nm
uses capsicum(4) to be sandboxed.


#!/bin/bash -e
#
# rc.local for raspimjpeg
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

#START RASPIMJPEG SECTION
mkdir -p /dev/shm/mjpeg
chown www-data:www-data /dev/shm/mjpeg
chmod 777 /dev/shm/mjpeg
if [ -e /etc/debian_version ]; then
  sleep 4;su -c 'raspimjpeg > /dev/null &' www-data
  sleep 4;su -c 'php /var/www/schedule.php > /dev/null &' www-data
else
  sleep 4;su -c 'raspimjpeg > /dev/null &' www-data
  sleep 4;su -s '/bin/bash' -c 'php /var/www/schedule.php > /dev/null &' www-data
fi
#END RASPIMJPEG SECTION

exit 0

Include standard error in redirect for boot script

#!/bin/bash -e
#
# rc.local for raspimjpeg
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

#START RASPIMJPEG SECTION
mkdir -p /dev/shm/mjpeg
chown www-data:www-data /dev/shm/mjpeg
chmod 777 /dev/shm/mjpeg
if [ -e /etc/debian_version ]; then
  sleep 4;su -c 'raspimjpeg > /dev/null 2>&1 &' www-data
  sleep 4;su -c 'php /var/www/schedule.php > /dev/null  2>&1 &' www-data
else
  sleep 4;su -c 'raspimjpeg > /dev/null  2>&1 &' www-data
  sleep 4;su -s '/bin/bash' -c 'php /var/www/schedule.php > /dev/null  2>&1 &' www-data
fi
#END RASPIMJPEG SECTION

exit 0


.\" Copyright (C) 2016 Christopher Wells <cwellsny@nycap.rr.com>
.\"
.\" This manual page is distributed under the terms
.\" of the GNU Free Documentation License version 1.3.
.\"
.TH Tempconvert "1" "2016-02-11" "tempconvert dev" "User Commands"

.SH NAME
Tempconvert \- a command that converts between different temperature units

.SH SYNOPSIS
.B tempconvert
.RI [ OPTIONS ]
.I INPUTUNIT
.I OUTPUTUNIT
.RI [ INPUTTEMP ]

.SH DESCRIPTION
Tempconvert is a command which converts a given temperature from a given temperature unit into another given temperature unit.

The input temperature unit should be given before the output temperature unit. The input temperature can be given as the final program arguement or though standard input, with the program arguement taking precedence. For example, to convert a temperature from Farenheit to Celsius, one would run something like either of the following:

.RS 4
tempconvert f c 32

echo "32" | tempconvert f c

.SH TEMPERATURE UNITS

.TP
c
Celsius

.TP
f
Farenheit

.TP
k
Kelvin

.SH CONTRIBUTORS
Christopher Wells <cwellsny@nycap.rr.com>

Update program to version 1.0.0

.\" Copyright (C) 2016 Christopher Wells <cwellsny@nycap.rr.com>
.\"
.\" This manual page is distributed under the terms
.\" of the GNU Free Documentation License version 1.3.
.\"
.TH Tempconvert "1" "2016-02-15" "tempconvert 1.0.0" "User Commands"

.SH NAME
Tempconvert \- a command that converts between different temperature units

.SH SYNOPSIS
.B tempconvert
.RI [ OPTIONS ]
.I INPUTUNIT
.I OUTPUTUNIT
.RI [ INPUTTEMP ]

.SH DESCRIPTION
Tempconvert is a command which converts a given temperature from a given temperature unit into another given temperature unit.

The input temperature unit should be given before the output temperature unit. The input temperature can be given as the final program arguement or though standard input, with the program arguement taking precedence. For example, to convert a temperature from Farenheit to Celsius, one would run something like either of the following:

.RS 4
tempconvert f c 32

echo "32" | tempconvert f c

.SH TEMPERATURE UNITS

.TP
c
Celsius

.TP
f
Farenheit

.TP
k
Kelvin

.SH CONTRIBUTORS
Christopher Wells <cwellsny@nycap.rr.com>


.TH "geoc-vector-simplify" "1" "10 December 2014" "version 0.1"
.SH NAME
geoc vector simplify
.SH DESCRIPTION
Simplify the features of the input Layer and save them to the output Layer
.SH USAGE
geoc vector simplify -i states.shp -o states_simplified -a DouglasPeucker -d 100
.SH OPTIONS
-a --algorithm: The simplify algorithm (DouglasPeucker - dp or TopologyPreserving - tp)
.PP
-d --distance: The distance tolerance
.PP
-o --output-workspace: The output workspace
.PP
-r --output-layer: The output layer
.PP
-i --input-workspace: The input workspace
.PP
-l --input-layer: The input layer
.PP
--help : Print the help message
.PP

Fix geoc vector simplify command line example

.TH "geoc-vector-simplify" "1" "12 January 2015" "version 0.1"
.SH NAME
geoc vector simplify
.SH DESCRIPTION
Simplify the features of the input Layer and save them to the output Layer
.SH USAGE
geoc vector simplify -i states.shp -o states_simplified.shp -a DouglasPeucker -d 100
.SH OPTIONS
-a --algorithm: The simplify algorithm (DouglasPeucker - dp or TopologyPreserving - tp)
.PP
-d --distance: The distance tolerance
.PP
-o --output-workspace: The output workspace
.PP
-r --output-layer: The output layer
.PP
-i --input-workspace: The input workspace
.PP
-l --input-layer: The input layer
.PP
--help : Print the help message
.PP


set platform = `uname`

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux") then
   make linux
else if ($platform == "Darwin") then
   make macosx
endif

if "$?" != "0" exit

cd ..

Add support for FreeBSD. Contributed by: Tim Tretyak <timothy@umc.com.ua>

set platform = `uname`

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux") then
   make linux
else if ($platform == "FreeBSD") then
   make linux
else if ($platform == "Darwin") then
   make macosx
endif

if "$?" != "0" exit

cd ..


source "https://rubygems.org"

gem 'nokogiri', '>=1.5.11'
gem 'mime-types', '~>1.16'

group :development, :test do
  # This is here because gemspec doesn't support require: false
  gem 'coveralls', :require => false
end

gemspec

Undo last nokogiri version setting

source "https://rubygems.org"

gem 'nokogiri', '~>1.5.11'
gem 'mime-types', '~>1.16'

group :development, :test do
  # This is here because gemspec doesn't support require: false
  gem 'coveralls', :require => false
end

gemspec


#!/usr/bin/env bash

# Referenced the following URLs:
#	https://stackoverflow.com/questions/39089698/how-to-install-python-3-5-on-raspbian-jessie#40187307
# 	https://liudr.wordpress.com/2016/02/04/install-python-on-raspberry-pi-or-debian/
# 	http://wyre-it.co.uk/blog/latestpython/

set -e

RELEASE=3.6.2

sudo apt-get update
sudo apt-get install build-essential tk-dev libc6-dev
sudo apt-get install libncurses5-dev libncursesw5-dev libreadline6-dev
sudo apt-get install libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev
sudo apt-get install libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
wget https://www.python.org/ftp/python/${RELEASE}/Python-${RELEASE}.tgz
tar -zxvf Python-${RELEASE}.tgz
cd Python-${RELEASE}
./configure --prefix=/usr/local/opt/python-${RELEASE}
# NOTE: builds fail randomly when using -j option, so we have to build one
# thing at a time
make
sudo make install

Install packages without requiring user feedback

#!/usr/bin/env bash

# Referenced the following URLs:
#	https://stackoverflow.com/questions/39089698/how-to-install-python-3-5-on-raspbian-jessie#40187307
# 	https://liudr.wordpress.com/2016/02/04/install-python-on-raspberry-pi-or-debian/
# 	http://wyre-it.co.uk/blog/latestpython/

set -e

RELEASE=3.6.2

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y \
    build-essential \
    tk-dev \
    libc6-dev \
    libncurses5-dev \
    libncursesw5-dev \
    libreadline6-dev \
    libdb5.3-dev \
    libgdbm-dev \
    libsqlite3-dev \
    libssl-dev \
    libbz2-dev \
    libexpat1-dev \
    liblzma-dev \
    zlib1g-dev
wget https://www.python.org/ftp/python/${RELEASE}/Python-${RELEASE}.tgz
tar -zxvf Python-${RELEASE}.tgz
cd Python-${RELEASE}
./configure --prefix=/usr/local/opt/python-${RELEASE}
# NOTE: builds fail randomly when using -j option, so we have to build one
# thing at a time
make
sudo make install


<VirtualHost *:80>
   ServerAdmin foo@bar.org
   DocumentRoot WEB_ROOT
   php_admin_value upload_tmp_dir /tmp

  <Directory WEB_ROOT>
      DirectoryIndex index.php
      AllowOverride all
      Order allow,deny
      Allow from all

      Require all granted
  </Directory>
</VirtualHost>

Add modrewrite conditions to apache 2.4 vhost template

<VirtualHost *:80>
   ServerAdmin foo@bar.org
   DocumentRoot WEB_ROOT
   php_admin_value upload_tmp_dir /tmp
   php_value post_max_size 500M
   php_value upload_max_filesize 500M
   php_value request_order "GPC"
   php_value session.gc_probability 0
   php_value session.auto_start 0

   AddOutputFilterByType DEFLATE text/plain
   AddOutputFilterByType DEFLATE text/html
   AddOutputFilterByType DEFLATE text/xml
   AddOutputFilterByType DEFLATE text/css
   AddOutputFilterByType DEFLATE application/xml
   AddOutputFilterByType DEFLATE application/xhtml+xml
   AddOutputFilterByType DEFLATE application/rss+xml
   AddOutputFilterByType DEFLATE application/javascript
   AddOutputFilterByType DEFLATE application/x-javascript
   AddOutputFilterByType DEFLATE application/json

  <Directory WEB_ROOT>
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} -s [OR]
      RewriteCond %{REQUEST_FILENAME} -l [OR]
      RewriteCond %{REQUEST_FILENAME} -d
      RewriteRule ^.*$ - [NC,L]
      RewriteRule ^.*$ index.php [NC,L]

      DirectoryIndex index.php
      AllowOverride all
      Order allow,deny
      Allow from all

      Require all granted
  </Directory>
</VirtualHost>


SHOW STOPPERS
====================
- Windows Segfaults [needs windows developer owner, ]
- MANIFEST verifications [needs detail, ]
- rt.cpan.org PRs [pgollucci, phred, ]
    - ModPerl::Bootstrap to handle the unknown mp generation PRS?
- Ship Apache::Test 1.31 official [phred, ]

NICE TO HAVE
=============
- Smolder, https://issues.apache.org/jira/browse/INFRA-1612 [pgollucci, ]

Mark off one item from the todo list (Apache::Bootstrap)

SHOW STOPPERS
====================
- Ship Apache::Test 1.31 official [phred, ]
- Windows Segfaults [needs windows developer owner, ]
- MANIFEST verifications [needs detail, ]
- rt.cpan.org PRs [pgollucci, phred, ]

NICE TO HAVE
=============
- Smolder, https://issues.apache.org/jira/browse/INFRA-1612 [pgollucci, ]


.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Op Fl w Ar delay
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.It Fl w Ar delay
Wait
.Ar delay
seconds between updates.
The default is 1.
.El
.Pp
The columns in the main display are, from left to right:
.Bl -enum
.It
Total since startup
.It
Delta since last update
.It
Average over process lifetime
.It
Descriptive text
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.

Correct the description of the second and third fields.

.\"
.\" $Id$
.\"
.Dd September 16, 2006
.Dt VARNISHSTAT 1
.Os
.Sh NAME
.Nm varnishstat
.Nd HTTP accelerator statistics
.Sh SYNOPSIS
.Nm
.Op Fl 1
.Op Fl V
.Op Fl w Ar delay
.Sh DESCRIPTION
The
.Nm
utility displays statistics from a running
.Xr varnishd 1
instance.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 1
Instead of presenting of a continuously updated display, print the
statistics once and exit.
.It Fl V
Display the version number and exit.
.It Fl w Ar delay
Wait
.Ar delay
seconds between updates.
The default is 1.
.El
.Pp
The columns in the main display are, from left to right:
.Bl -enum
.It
Total since startup
.It
Per-second average in the period since last update
.It
Per-second average over process lifetime
.It
Descriptive text
.El
.Sh SEE ALSO
.Xr varnishd 1 ,
.Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishncsa 1 ,
.Xr varnishtop 1 ,
.Xr curses 3
.Sh HISTORY
The
.Nm
utility was developed by
.An Poul-Henning Kamp Aq phk@freebsd.dk
in cooperation with Verdens Gang AS and Linpro AS.


.\"Usage: watermark [OPTION]... WIDTHxHEIGHT [FILE]
.\"Generate bitmask from input text to be used as a watermark.
.\"
.\"Options:
.\"  -o, --output FILE             write output to FILE instead of stdout
.\"  -l, --log FILE                send log output to FILE
.\"  -v, --verbose                 increase verbosity
.\"  -q, --quiet                   silence all log messages
.\"  -h, --help                    display this message and exit
.\"  -v, --version                 display version information and exit
.\"
.\"Report bugs to: chris@rorvick.com
.\"
.TH WATERMARK 1
.SH NAME
watermark \- generate a watermark bitmask from input text
.SH SYNOPSIS
.B watermark [-o
.I output-file
.B ] [-l
.I log-file
.B ]
.I geometry
.B [
.I input-file
.B ]
.SH DESCRIPTION
Read text from stdin and render it to a PNG image of the specified
geometry.  The font size can be specified per line, either explicitly or
by specifying a target width.  Finally, the text is centered both
vertically and horizontally.  The final image is intended to be used
with ImageMagick's
.BR composite(1)
to produce a watermark.
.OPTIONS
.IP "-o, --output FILE"
write output to FILE instead of stdout
.IP "-l, --log FILE"
send log output to FILE
.IP "-v, --verbose"
increase verbosity
.IP "-q, --quiet"
silence all log messages
.IP "-h, --help"
display this message and exit
.IP "-V, --version"
display version information and exit
.SH AUTHOR
Chris Rorvick <chris@rorvick.com>
.SH "SEE ALSO"
.BR composite(1)

Remove usage message from man page


.\"
.\" Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd March 21, 2020
.Dt Y86_MACHINE 7
.Os
.Sh NAME
.Nm Y86 Machine Reference
.Sh DESCRIPTION
The Y86
.Pq Dq YES
machine is a theoretical processor based on a subset of x86 concepts.
Being a teaching processor, Y86 embodies elements of both RISC and CISC architectures.
The Y86 machine is a little endian machine consisting of three main components:
memory, program registers, and processor registers.
.Ss Memory
The Y86 memory consists of 1024, 32-bit words.
.Sh SEE ALSO
.Xr yess 1 ,
.Xr y86_obj_code 7

Make a table of address relationships

.\"
.\" Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd March 21, 2020
.Dt Y86_MACHINE 7
.Os
.Sh NAME
.Nm Y86 Machine Reference
.Sh DESCRIPTION
The Y86
.Pq Dq YES
machine is a theoretical processor based on a subset of x86 concepts.
Being a teaching processor, Y86 embodies elements of both RISC and CISC architectures.
The Y86 machine is a little endian machine consisting of three main components:
memory, program registers, and processor registers.
.Ss Memory
The Y86 memory consists of 1024, 32-bit words.
.Pp
The relationship between word addresses and byte addresses can be seen below.
.\" Table of memory addresses
.TS
allbox;
cw14 cz s s s
r    c  c c c.
Word Address	Byte Address
0	3	2	1	0
1	7	6	5	4
2	11	10	9	8
3	15	14	13	12
4	19	18	17	16
\&.	\&.	\&.	\&.	\&.
1023	4095	4094	4093	4092
.TE
.Sh SEE ALSO
.Xr yess 1 ,
.Xr y86_obj_code 7


We are getting close to creating the 1.6.x branch.  This file lists the tasks
we want to complete before branching.  "Blocker" tasks must be done before we
branch, while "optional" tasks would be nice to have completed, but aren't
essential.

Tasks which need to happen before the 1.6.0 release, but aren't related to when
we branch should be put in the issue tracker with the 1.6 milestone.

Blocker:

 * Properly wrap BDB rep-sharing code for use in pre-1.6 FS formats, as
   noted by cmpilato here: http://svn.haxx.se/dev/archive-2008-10/0968.shtml
   [STATUS:  cmpilato is on this]

 * Add 'svnadmin --pre-1.6-compatible', or preferably something more
   generic (--compatible-with=X.Y or somesuch).

Optional:

 * Merge the sparse-directories deselection branch, as noted by kfogel:
   http://svn.haxx.se/dev/archive-2008-10/1001.shtml

 * Secure certificate passphrase caching on Windows, to bring it upto the
   same level as the other password stores. (Issue 2489)

Remove a TODO item, and add another.

We are getting close to creating the 1.6.x branch.  This file lists the tasks
we want to complete before branching.  "Blocker" tasks must be done before we
branch, while "optional" tasks would be nice to have completed, but aren't
essential.

Tasks which need to happen before the 1.6.0 release, but aren't related to when
we branch should be put in the issue tracker with the 1.6 milestone.

Blocker:

 * Lose the FSGUIDs BDB stuff, and use a unique key specific to the
   checksum-reps table.  (It was a fine idea, but cmpilato worries
   about the additional contention if we move toward a universal
   source of uniqueness.)  This also will simply some of the
   rep-sharing format-conditional logic.

 * Add 'svnadmin --pre-1.6-compatible', or preferably something more
   generic (--compatible-with=X.Y or somesuch).

Optional:

 * Merge the sparse-directories deselection branch, as noted by kfogel:
   http://svn.haxx.se/dev/archive-2008-10/1001.shtml

 * Secure certificate passphrase caching on Windows, to bring it upto the
   same level as the other password stores. (Issue 2489)


source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 4.1.0'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.5.0'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'
  end
end

Use git branch v1.8 for json gem for ruby >= 2.4 and aciverecord 4.1

source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 4.1.0'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.5.0'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'

    if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
      gem 'json', github: 'flori/json', branch: 'v1.8'
    end
  end
end


This is a minor bug-fix release. A dump/reload is not required from v6.2,
but is required from any release prior to v6.2.

In upgrading from v6.2, if you choose to dump/reload you will find that
avg(money) is now calculated correctly. All other bug fixes take effect
upon updating the executables.

Include recipe for updating pg_aggregate to fix avg(money) function.

This is a minor bug-fix release. A dump/reload is not required from v6.2,
but is required from any release prior to v6.2.

In upgrading from v6.2, if you choose to dump/reload you will find that
avg(money) is now calculated correctly. All other bug fixes take effect
upon updating the executables.

Another way to avoid dump/reload is to use the following SQL command
from psql to update the existing system table:

  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;

This will need to be done to every existing database, including template1.


.TH MDB_COPY 1 "2012/12/12" "LMDB 0.9.5"
.\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved.
.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
.SH NAME
mdb_copy \- LMDB environment copy tool
.SH SYNOPSIS
.B mdb_copy
.I srcpath\ [dstpath]
.SH DESCRIPTION
The
.B mdb_copy
utility copies an LMDB environment. The environment can
be copied regardless of whether it is currently in use.

If
.I dstpath
is specified it must be the path of an empty directory
for storing the backup. Otherwise, the backup will be
written to stdout.
.SH DIAGNOSTICS
Exit status is zero if no errors occur.
Errors result in a non-zero exit status and
a diagnostic message being written to standard error.
.SH "SEE ALSO"
.BR mdb_stat (1)
.SH AUTHOR
Howard Chu of Symas Corporation <http://www.symas.com>

Add warning about interrupting copy

.TH MDB_COPY 1 "2012/12/12" "LMDB 0.9.5"
.\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved.
.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
.SH NAME
mdb_copy \- LMDB environment copy tool
.SH SYNOPSIS
.B mdb_copy
.I srcpath\ [dstpath]
.SH DESCRIPTION
The
.B mdb_copy
utility copies an LMDB environment. The environment can
be copied regardless of whether it is currently in use.

If
.I dstpath
is specified it must be the path of an empty directory
for storing the backup. Otherwise, the backup will be
written to stdout.

Note: currently, if the copy is interrupted a stale lock
will be left in the LMDB environment. This may be fixed
in a future release, but until then you must not
interrupt the copy process.

.SH DIAGNOSTICS
Exit status is zero if no errors occur.
Errors result in a non-zero exit status and
a diagnostic message being written to standard error.
.SH "SEE ALSO"
.BR mdb_stat (1)
.SH AUTHOR
Howard Chu of Symas Corporation <http://www.symas.com>


#! /bin/sh

set -e
set -x

pod lib lint --verbose | xcpretty # use verbose to prevent travis of killing build because of no output

Allow failing fast for pod lib lint

#! /bin/sh

set -e
set -x

pod lib lint --verbose --fail-fast | xcpretty # use verbose to prevent travis of killing build because of no output


.\" /**************************************************************************
.\"    Copyright 2011 Hewlett-Packard Development Company, L.P.
.\" ***************************************************************************/
.TH HPHELPER 1m "March 1 2011"
.UC 4
.SH NAME
hpHelper - HP Agentless Management Service daemon for ProLiant.
.SH SYNOPSIS
hpHelper [-f] [-D<string>] -I<interval> -P<interval> -L
.SH DESCRIPTION
The hpHelper enables the iLO4 Agentless Management Service (AMS) to respond to
SNMP queries that it would otherwise not be able to, without hpHelper running.
.SH COMMAND LINE ARGUMENTS
.IP "-f"
Run in the foreground.
.IP "-D<string>"
Generate Debug messages.  the <string> parameter contains a series of net-snmp debug enable strings delemineted by ','.
.IP "-I<interval>"
The interval parameter indicates how often performance data will be logged to Black Box:
.PD 0
.IP
0 = do not log any performance counters (default)
.IP
1 = log performance counters every minute
.IP
2 = log performance counters every 10 minutes
.IP
3 = log performance counters every hour
.IP "-P<interval>"
The <interval> parameter specifies the number of seconds between RFC 2741 (AgentX) PING requests
.PD 0
.IP
0 = PING Request packets are not sent
.IP
15 = PING Request packets are sent every 15 seconds (default)
.IP "-L"
Do not open a log file; print all messages to stderr.
.PD 1

Put proper naming for AHS in doc

.\" /**************************************************************************
.\"    Copyright 2011 Hewlett-Packard Development Company, L.P.
.\" ***************************************************************************/
.TH HPHELPER 1m "March 1 2011"
.UC 4
.SH NAME
hpHelper - HP Agentless Management Service daemon for ProLiant.
.SH SYNOPSIS
hpHelper [-f] [-D<string>] -I<interval> -P<interval> -L
.SH DESCRIPTION
The hpHelper enables the iLO4 Agentless Management Service (AMS) to respond to
SNMP queries that it would otherwise not be able to, without hpHelper running.
.SH COMMAND LINE ARGUMENTS
.IP "-f"
Run in the foreground.
.IP "-D<string>"
Generate Debug messages.  the <string> parameter contains a series of net-snmp debug enable strings delemineted by ','.
.IP "-I<interval>"
The interval parameter indicates how often performance data will be logged to Active Health System log:
.PD 0
.IP
0 = do not log any performance counters (default)
.IP
1 = log performance counters every minute
.IP
2 = log performance counters every 10 minutes
.IP
3 = log performance counters every hour
.IP "-P<interval>"
The <interval> parameter specifies the number of seconds between RFC 2741 (AgentX) PING requests
.PD 0
.IP
0 = PING Request packets are not sent
.IP
15 = PING Request packets are sent every 15 seconds (default)
.IP "-L"
Do not open a log file; print all messages to stderr.
.PD 1


QA output created by 364
disk.dev.avg_disk.active -12357 Unknown metric name
disk.dev.bytes -12357 Unknown metric name
hinv.cputype -12357 Unknown metric name
hinv.ncell -12357 Unknown metric name
hinv.nnode -12357 Unknown metric name
hinv.nrouter -12357 Unknown metric name
hinv.nxbow -12357 Unknown metric name
network.igmp -12357 Unknown metric name

Update test qa/364 Linux output for hinv.nnode metric

QA output created by 364
disk.dev.avg_disk.active -12357 Unknown metric name
disk.dev.bytes -12357 Unknown metric name
hinv.cputype -12357 Unknown metric name
hinv.ncell -12357 Unknown metric name
hinv.nrouter -12357 Unknown metric name
hinv.nxbow -12357 Unknown metric name
network.igmp -12357 Unknown metric name


url=$mirror/ncurses.tar.gz

fetch() {
	wget -c $url -O src/ncurses.tar.gz
}

unpack() {
	pushd src
	[ -d ncurses-5.9 ] || tar xzf ncurses.tar.gz
	popd
}

build() {
	pushd src/ncurses-5.9
	CC=musl-gcc ./configure --prefix=$top/cross
	make CC=musl-gcc -j$nprocs
	popd
}

install() {
	pushd src/ncurses-5.9
	make install
	popd
}

Update ncurses with vt100 support

url=$mirror/ncurses.tar.gz

fetch() {
	wget -c $url -O src/ncurses.tar.gz
}

unpack() {
	pushd src
	[ -d ncurses-5.9 ] || tar xzf ncurses.tar.gz
	popd
}

build() {
	pushd src/ncurses-5.9
	wget -c $mirror/ncurses-fallback.c -O ncurses/fallback.c
	CC=musl-gcc ./configure --without-tests --prefix=$top/cross \
		--with-fallbacks="vt100"
	make CC=musl-gcc -j$nprocs
	popd
}

install() {
	pushd src/ncurses-5.9
	make install
	popd
}


#!/bin/bash
#
# Setup Eigen 3.2
#
. `dirname $0`/../common.sh

EIGEN_VERSION=3.2.7
EIGEN_HASH=b30b87236a1b

# Checkout Eigen
cd "$build_dir"
wget --quiet "http://bitbucket.org/eigen/eigen/get/${EIGEN_VERSION}.tar.gz"
tar xzf ${EIGEN_VERSION}.tar.gz
cd "$build_dir/eigen-eigen-${EIGEN_HASH}/"
mkdir -p "$build_dir/eigen-eigen-${EIGEN_HASH}/_build"
cd "$build_dir/eigen-eigen-${EIGEN_HASH}/_build"

# Build, make and install Eigen
cmake .. -DCMAKE_INSTALL_PREFIX:STRING="$install_dir" \
  -Dpkg_config_libdir:STRING="$install_dir/lib"
make
make install

# Check install
pkg-config --modversion "eigen3 >= ${EIGEN_VERSION}"
pkg-config --cflags "eigen3 >= ${EIGEN_VERSION}"

Fix eigen script for eigen 3.2.7

#!/bin/bash
#
# Setup Eigen 3.2
#
. `dirname $0`/../common.sh

EIGEN_VERSION=3.2.7
EIGEN_HASH=b30b87236a1b

# Checkout Eigen
cd "$build_dir"
wget --quiet "http://bitbucket.org/eigen/eigen/get/${EIGEN_VERSION}.tar.gz"
tar xzf ${EIGEN_VERSION}.tar.gz
cd "$build_dir/eigen-eigen-${EIGEN_HASH}/"
mkdir -p "$build_dir/eigen-eigen-${EIGEN_HASH}/_build"
cd "$build_dir/eigen-eigen-${EIGEN_HASH}/_build"

# Build, make and install Eigen
cmake .. -DCMAKE_INSTALL_PREFIX:STRING="$install_dir" \
  -Dpkg_config_libdir:STRING="$install_dir/lib" \
  -DEIGEN_INCLUDE_INSTALL_DIR:STRING="${install_dir}/include/eigen3"
make
make install

# Check install
pkg-config --modversion "eigen3 >= ${EIGEN_VERSION}"
pkg-config --cflags "eigen3 >= ${EIGEN_VERSION}"


.\"	$Id$
.\"
.\" Copyright (c) 2017 Scott Bennett
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: March 23 2017 $
.Dt PASSGEN 1
.Os
.Sh NAME
.Nm passgen
.Nd generate random passwords
.Sh SYNOPSIS
.Nm passgen
.Op
.\"
.Sh DESCRIPTION
The
.Nm
utility prints a number of random passwords up to 50 characters long.
.Sh EXAMPLE
.\"
.Sh EXIT STATUS
.\"
.Sh AUTHORS
The
.Nm
utility was written by
.An Scott Bennett ,
.Mt scottb@fastmail.com .
.Sh CAVEATS
.Nm
only compiles on
.Ox 5.9
or higher, because it uses
.Xr pledge 3 .

Add the optional arguments to the man page

.\"	$Id$
.\"
.\" Copyright (c) 2017 Scott Bennett
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: March 23 2017 $
.Dt PASSGEN 1
.Os
.Sh NAME
.Nm passgen
.Nd generate random passwords
.Sh SYNOPSIS
.Nm passgen
.Op Fl l Ar passlength
.Op Fl n Ar passnum
.Sh DESCRIPTION
The
.Nm
utility prints a number of random passwords up to 50 characters long.
.Sh EXAMPLE
.\"
.Sh EXIT STATUS
.\"
.Sh AUTHORS
The
.Nm
utility was written by
.An Scott Bennett ,
.Mt scottb@fastmail.com .
.Sh CAVEATS
.Nm
only compiles on
.Ox 5.9
or higher, because it uses
.Xr pledge 3 .


MKLROOT = /shared/ucl/apps/intel/2017.Update1/compilers_and_libraries_2017.1.132/linux/mkl
MAKE = make
F90 = mpiifort
F90_OPTS = -O3 -ip -qopenmp -I$(MKLROOT)/include
F77 = mpiifort
F77_OPTS = -O3 -ip -qopenmp
AR = ar
LIB_SYS =
LIB_LPK = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -qopenmp
SRC_MPI =
LIB_libxc = libxcf90.a libxc.a
SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90
SRC_FFT = zfftifc_fftw.f90

# It's not clear whether we need mkl_dfti.f90 as the instructions are contradictory
#SRC_FFT = mkl_dfti.f90 zfftifc_mkl.f90

Test fail, so force compiler to do math correctly.

MKLROOT = /shared/ucl/apps/intel/2017.Update1/compilers_and_libraries_2017.1.132/linux/mkl
MAKE = make
F90 = mpiifort
F90_OPTS = -O3 -ip -qopenmp -fp-model strict -I$(MKLROOT)/include
F77 = mpiifort
F77_OPTS = -O3 -ip -qopenmp -fp-model strict
AR = ar
LIB_SYS =
LIB_LPK = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -qopenmp -fp-model strict
SRC_MPI =
LIB_libxc = libxcf90.a libxc.a
SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90
SRC_FFT = zfftifc_fftw.f90

# It's not clear whether we need mkl_dfti.f90 as the instructions are contradictory
#SRC_FFT = mkl_dfti.f90 zfftifc_mkl.f90


.TH "geoc-geometry-plot" "1" "29 July 2014" "version 0.1"
.SH NAME
geoc geometry plot
.SH DESCRIPTION
Draw a geometry to a plot
.SH OPTIONS
-i --input: The input geometry
.PP
-f --file: The output file
.PP
-w --width: The image width
.PP
-h --height: The image height
.PP
-l --legend: Whether to show the legend
.PP
-r --fill-coords: Whether to fill coordinates
.PP
-p --fill-polys: Whether to fill polygons
.PP
-d --draw-coords: Whether to draw coordinates
.PP
--help : Print the help message
.PP

Fix geoc geometry plot command line example

.TH "geoc-geometry-plot" "1" "6 December 2014" "version 0.1"
.SH NAME
geoc geometry plot
.SH DESCRIPTION
Draw a geometry to a plot
.SH USAGE
geoc geometry plot -d -i "POLYGON ((80 80, 80 120, 120 120, 120 80, 80 80))"
.SH OPTIONS
-i --input: The input geometry
.PP
-f --file: The output file
.PP
-w --width: The image width
.PP
-h --height: The image height
.PP
-l --legend: Whether to show the legend
.PP
-r --fill-coords: Whether to fill coordinates
.PP
-p --fill-polys: Whether to fill polygons
.PP
-d --draw-coords: Whether to draw coordinates
.PP
--help : Print the help message
.PP


.Dd December 1, 2012
.Os
.Dt NULLTTY 1
.Sh NAME
.Nm nulltty
.Nd Simple Unix pseudoterminal relay
.Sh SYNOPSIS
.Nm Ar ptyA ptyB
.Sh DESCRIPTION
The
.Nm
command creates two pseoduterminal slaves (as symlinks) at the given paths,
and then continuously relays data between the two until terminated with
SIGTERM or SIGINT.
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr socat 1
.Sh AUTHORS
.An "Mark Shroyer" Aq code@markshroyer.com

Update man page with new options

.Dd December 1, 2012
.Os
.Dt NULLTTY 1
.Sh NAME
.Nm nulltty
.Nd Simple Unix pseudoterminal relay
.Sh SYNOPSIS
.Nm
.Op Fl vd
.Op Fl p Ar pidfile
.Op Fl s Ar signal
.Ar ptyA ptyB
.Nm
.Fl h
.Sh DESCRIPTION
The
.Nm
command creates two pseoduterminal slaves (as symlinks) at the given paths
.Ar ptyA
and
.Ar ptyB
, and then continuously relays data between the two until terminated with
SIGTERM or SIGINT.
.Sh OPTIONS
.Bl -tag -width indent
.It Fl v
Enable verbose (debugging) output
.It Fl d
Daemonize the relay
.It Fl p Ar pidfile
Write the relay's PID to
.Ar pidfile
.It Fl s Ar signal
Alert nulltty's parent process with
.Ar signal
when the requested PTYs are ready to be opened.
.Ar signal
can be specified either as a signal number, or with a signal name such as
"INT", "INFO", "USR1", etc.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr socat 1
.Sh AUTHORS
.An "Mark Shroyer" Aq code@markshroyer.com


.TH WATERMARK 1
.SH NAME
watermark \- generate a watermark bitmask from input text
.SH SYNOPSIS
.B watermark [-o
.I output-file
.B ] [-l
.I log-file
.B ]
.I geometry
.B [
.I input-file
.B ]
.SH DESCRIPTION
Read text from stdin and render it to a PNG image of the specified
geometry.  The font size can be specified per line, either explicitly or
by specifying a target width.  Finally, the text is centered both
vertically and horizontally.  The final image is intended to be used
with ImageMagick's
.BR composite(1)
to produce a watermark.
.SH OPTIONS
.IP "-o, --output FILE"
write output to FILE instead of stdout
.IP "-l, --log FILE"
send log output to FILE
.IP "-v, --verbose"
increase verbosity
.IP "-q, --quiet"
silence all log messages
.IP "-h, --help"
display this message and exit
.IP "-V, --version"
display version information and exit
.SH AUTHOR
Chris Rorvick <chris@rorvick.com>
.SH "SEE ALSO"
.BR composite(1)

Clean up man page description

.TH WATERMARK 1
.SH NAME
watermark \- generate a watermark bitmask from input text
.SH SYNOPSIS
.B watermark [-o
.I output-file
.B ] [-l
.I log-file
.B ]
.I geometry
.B [
.I input-file
.B ]
.SH DESCRIPTION
Read text from
.I input-file
(or standard input if not specified) and render it to a PNG image with
.I geometry
dimensions.
The font size can be specified per line, either explicitly or
by specifying a target width.  Finally, the text is centered both
vertically and horizontally.  The final image is intended to be used
with ImageMagick's
.BR composite(1)
to produce a watermark.
.SH OPTIONS
.IP "-o, --output FILE"
write output to FILE instead of stdout
.IP "-l, --log FILE"
send log output to FILE
.IP "-v, --verbose"
increase verbosity
.IP "-q, --quiet"
silence all log messages
.IP "-h, --help"
display this message and exit
.IP "-V, --version"
display version information and exit
.SH AUTHOR
Chris Rorvick <chris@rorvick.com>
.SH "SEE ALSO"
.BR composite(1)


FROM node:8.9.4-alpine
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="autoconf git file automake build-base python curl"
RUN apk add --update $build_deps libtool sqlite-dev && \
  curl -sSL http://www.sqlite.org/2018/sqlite-autoconf-3220000.tar.gz | tar xzf - && \
  cd sqlite-autoconf-3220000 && ./configure --prefix=/usr && \
  make && make install && cd ../ && rm -fr /sqlite-autoconf-3220000 && \
  curl -sSL https://github.com/jedisct1/libsodium/releases/download/1.0.15/libsodium-1.0.15.tar.gz | tar -xzf - && \
  cd libsodium-1.0.15 && ./configure --prefix=/usr && \
  make && make install && cd .. && rm -fr libsodium-1.0.15 && \
  git clone https://github.com/BTWhite/BTWChain.git && \
  mv BTWChain src && cd /src && \
  git checkout fe88a78a625095ccd914571f10981c2beedfe241 && \
  npm install && \
  apk del $build_deps && rm -fr /var/cache/apk
WORKDIR /src
ENTRYPOINT ["node"]
CMD ["index.js"]

Rebuild bitwhite node due to consensus error. BTW codes in production :/

FROM node:8.9.4-alpine
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>

ENV build_deps="autoconf git file automake build-base python curl"
RUN apk add --update $build_deps libtool sqlite-dev && \
  curl -sSL http://www.sqlite.org/2018/sqlite-autoconf-3220000.tar.gz | tar xzf - && \
  cd sqlite-autoconf-3220000 && ./configure --prefix=/usr && \
  make && make install && cd ../ && rm -fr /sqlite-autoconf-3220000 && \
  curl -sSL https://github.com/jedisct1/libsodium/releases/download/1.0.15/libsodium-1.0.15.tar.gz | tar -xzf - && \
  cd libsodium-1.0.15 && ./configure --prefix=/usr && \
  make && make install && cd .. && rm -fr libsodium-1.0.15 && \
  git clone https://github.com/BTWhite/BTWChain.git && \
  mv BTWChain src && cd /src && \
  git checkout 88b96a7367b6cf451ea9523b0788a0f6fc5cfe03 && \
  npm install && \
  apk del $build_deps && rm -fr /var/cache/apk
WORKDIR /src
ENTRYPOINT ["node"]
CMD ["index.js"]


.TH ZNC\-BUILDMOD 1 2008\-06\-01 ZNC
.SH NAME
znc\-buildmod \- compile ZNC modules
.SH SYNOPSIS
.B znc\-buildmod
FILE...
.SH DESCRIPTION
.BR znc\-buildmod
compiles a ZNC module for you.
You just give it a list of source files and every single file is compiled
into a module.
.SH EXIT STATUS
Normally, exit status is 0 if everything went fine.
In case the compiler errors when compiling some module, the exit status is 1.
.SH ENVIRONMENT
.TP
.B PATH
.br
.I sed
must be in PATH.
.I znc-config
should be found automatically.
If not, you must add it to PATH yourself.

Update man page: znc-config doesn't exist anymore

.TH ZNC\-BUILDMOD 1 2013\-06\-12 ZNC
.SH NAME
znc\-buildmod \- compile ZNC modules
.SH SYNOPSIS
.B znc\-buildmod
FILE...
.SH DESCRIPTION
.BR znc\-buildmod
compiles a ZNC module for you.
You just give it a list of source files and every single file is compiled
into a module.
.SH EXIT STATUS
Normally, exit status is 0 if everything went fine.
In case the compiler errors when compiling some module, the exit status is 1.
.SH ENVIRONMENT
Variables
.SS CXXFLAGS
.SS LDFLAGS
.SS MODLINK
.SS INCLUDES
.SS LIBS
may be used.


set platform = `uname`

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux" || $platform == "NetBSD" || $platform == "FreeBSD") then
   make linux
else if ($platform == "OSF1") then
   make tru64
else if ($platform == "IRIX" || $platform == "IRIX64") then
   make irix
else if ($platform == "Darwin") then
   make macosx
endif

if "$?" != "0" exit

cd ..

Make sure boostrap does not build dmake if it is already built.

set platform = `uname`

if ( ! -f $SRC_ROOT/dmake/dmake ) then

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux" || $platform == "NetBSD" || $platform == "FreeBSD") then
   make linux
else if ($platform == "OSF1") then
   make tru64
else if ($platform == "IRIX" || $platform == "IRIX64") then
   make irix
else if ($platform == "Darwin") then
   make macosx
endif

if "$?" != "0" exit

cd ..

endif


.TH twat 1 "September 2011" "" ""
.SH NAME
twat \- a cli/ruby interface to twitter.
.SH SYNOPSIS
.B twat [-n account] <-a|-d|tweet>
.SH DESCRIPTION
.B twat
gives a simple interface to twitter from the command line.
.SH USAGE
generally, twat -an accountname will prompt you to authenticate via a given
URL, and from that point on twat -n accountname "tweet" will post "tweet" to
your twitter account.
.SH OPTIONS
.IP -n account
Specify which account to connect with. If not specified, twat searches your
config for an account named default.
.IP -a
Tell twat to execute the routines for authenticating itself with OAuth for your
account.
.IP -d
Delete speficied account.
.SH FILES
.IP ~/.twatrc
yaml file containing a mapping of account nicknames to oauth credentials.
Should always be readable only to you.

Update manpage to represent current state of affairs

.TH twat 1 "September 2011" "" ""
.SH NAME
twat \- a cli/ruby interface to twitter.
.SH SYNOPSIS
.B twat [-n account] <-a|-d|-l|-u [user]>
.B twat [-n account] tweet goes here
.SH DESCRIPTION
.B twat
gives a simple interface to twitter from the command line.
.SH USAGE
generally, twat -an accountname will prompt you to authenticate via a given
URL, and from that point on twat -n accountname "tweet" will post "tweet" to
your twitter account.
.SH OPTIONS
.IP -n account
Specify which account to connect with. If not specified, twat searches your
config for an account named default.
.IP -a
Tell twat to execute the routines for authenticating itself with OAuth for your
account.
.IP -d
Delete speficied account.
.IP -h
Display a short summary of twat's options.
.IP -u USER
Retrieve a list of USER's recent tweets. Note this will retrieve all of their
tweets as opposed to just what would have appeared in your feed.
.IP --set
Options are configured with --set. At time of writing the only configurable
options is default, the account to use if none is specified with -n
.IP --update-config
Twat is a rolling release and as such, sometimes it is necessary to change the
format of it's internal config file. Rather than making changes without user
consent, twat instead allows a user to use --update-config to migrate their
config to the latest version.
.SH FILES
.IP ~/.twatrc
yaml file containing a mapping of account nicknames to oauth credentials.
Should always be readable only to you.