Skip to content

Instantly share code, notes, and snippets.

View kemitchell's full-sized avatar

Kyle E. Mitchell kemitchell

View GitHub Profile
#!/bin/bash
set -e
if [ "$#" -ne 2 ]; then
echo "Usage: phaxit <number> <file>"
exit 1
fi
curl https://api.phaxio.com/v1/send \
-F "to=$1" \
#!/bin/bash
set -e
if [ "$#" -ne 2 ]; then
echo "Usage: phaxit <number> <file>"
exit 1
fi
curl https://api.phaxio.com/v1/send \
-F "to=$1" \
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDI/CaiwyeNe7qYtYrspJBSFtP/i1Y3rIN0lTiNKpf+lK/+pld4GOGLJXxdRrFj45vWvlk/SYO9IpPWHNWnALk8ZK6nBUZJUKiiEWxVc2rDJsM0sXeJw29PSq6OPEEnkO+lePBqT+WsQmufRDQ6kNohrDsKZ39Wfvel3ZTBkWNBBV9trol5yu9dN7wruIPKFb4U5I7m1pENrgsPI14H4v2pTl4k2q5ff89GNLQNFIEbPK7xAVqCDLHZ7Sa+SrKSThhYa/f/Yo5gJw16Y8dQ2vizRHkMLwMvFbm/PXvHj6Rs/6s6/BOJHymNZr11bFbgpT25M9QNuU5EcOlWlEb9Ir+9GBsm6qElS0RIviYb3rbJ4CYwpo4xKjXxZY8vC/2FOoMTpH7ZeGZyJSYGeTqYWjb3aH+L8V5Syrxx24uYYBqM95+i/IhkNOKjDZfRrlT2a/Qf02suCxL6TRTL4umQLQ18T8FNtKryA25k6+i8lGkhpl/ACZEiIGjljpOiAAUrHe2P7ebyl5S/SX8saSn7OXAonSdHxLOYu0Za1QewKmx68fziMGnDBWvivlTHT6ikqLQ43X0mkhoPOiHFEvPwkTqC7MLKHeE0d5Qh14PtJydbwl9IoM60Dh0cg2da1jP7PgOsS+1ScehwETUlhov86THIqjJ6JguZQi80+KnCq9FNvQ== [email protected]
  1. Example

    First, some text.

    1. First

      Alpha

      1. Still Deeper
bona fide
hereafter
hereby
herein
hereof
hereto
heretofore
hereunder
set forth
setting forth
§ 145 Indemnification of officers, directors, employees and agents; insurance.
;; 145(a)
( A corporation
( shall have power
( to indemnify
( any person
( who
( ( ( ( was or is ) a party )
@kemitchell
kemitchell / Makefile
Last active December 3, 2015 01:33
Blanks with new commonform-cli
COMMONFORM=./node_modules/.bin/commonform
TARGETS=terms.txt
SOURCE=terms.commonform
all: $(TARGETS)
$(COMMONFORM):
npm i [email protected]
%.directions: %.commonform

cftemplate allows contract drafters to build Common Forms out of other Common Forms shared via npm. With Node.js and npm installed, install with npm install --global cftemplate. Just be aware that cftemplate is in early stages, and changing rapidly.

@kemitchell/cform-example contains a simplistic example Common Form that can be installed with npm: npm install --save "@kemitchell/cform-example.

To package a Common Form for npm, write a Node module that exports an object like:

{ "commonform": "0.6.0",
  "form": {
    "content": [
\ Stockholders \ ...
\ Annual Meeting \ ...
\ Advance Notice of Nominations and Proposals of Business \ ...
\ Special Meetings; Notice \ ...
\ Notice of Meetings \ ...
\ Quorum \ ...
\ Organization \ ...
\ Conduct of Business \ ...
\ Proxies; Inspectors \ ...
\ Voting \ ...