I hereby claim:
- I am martelogan on github.
- I am loganmartel (https://keybase.io/loganmartel) on keybase.
- I have a public key ASAe-cppPEjVtXz-vPo1mNVGr0m5z_CWBnSsU53dHqCbRgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Recently, I wished to refactor a module (hosting common code: including class
and instance
methods) into submodules, splitting custom (say "submodule") logic from the shared (say "template") logic.
Problem: the submodules need both class
and instance
methods from the shared template module.
Yet, they'll define their own custom class
and instance
methods. All of which should be mixed in
when a particular submodule (concern) is included on a concrete class (say "controller").
Below you is my build instructions for GnuPG 2.1.20 released on 03-Apr-2017. These instructions are built for a headless Ubuntu 16.04 LTS server.
Or if you wish, you may use the install script to install GnuPG 2.1.20 by entring the following:
curl -sL "https://gist.githubusercontent.com/martelogan/553f26220b45ac5f21b2e264732dd60c/raw/6486e95e3cb07af77efbf32216f40256103ae877/install-gnupg2.sh" |sh
apt-get -y install libgnutls-dev bzip2 make gettext texinfo gnutls-bin \
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
sudo git clone https://github.com/ingydotnet/git-subrepo /opt/git-subrepo
GIT_SUBREPO_ROOT
git clone https://github.com/ingydotnet/git-subrepo /opt/git-subrepo
GIT_SUBREPO_ROOT
GIT_AUTHOR_NAME="Logan Martel" | |
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" | |
git config --global user.name "$GIT_AUTHOR_NAME" | |
GIT_AUTHOR_EMAIL="logan.martel@outlook.com" | |
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" | |
git config --global user.email "$GIT_AUTHOR_EMAIL" | |
# Pip should only run if there is a virtualenv currently activated | |
export PIP_REQUIRE_VIRTUALENV=true |
. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Convert OpenAPI/Swagger v2.0(JSON) to tapioca resource mapping. | |
Usage is: swagger2tapioca -i <path/to/input> -o <path/to/output> ... | |
Options: | |
--version show program's version number and exit | |
-h, --help show this help message and exit | |
-i path/to/json, --input=path/to/json | |
Input swagger json filepath. |