Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

U.S. v. Faiella, 39 F. Supp. 3d 544 (SDNY 2014)
SEC v. Shavers, 2013 U.S. Dist. LEXIS 110018 (E.D. Tx)
U.S. v. Budovsky, 2015 U.S. Dist. LEXIS 127717 (SDNY 2015)
@sdpalley
sdpalley / new matter script
Last active August 29, 2015 14:03
law-firm automation: bash script to create new client folder with sub-directories and template engagement letter
A time-consuming but necessary task in law-firm management is creating new file folders and standard forms (that can be modified) when a new matter is opened. I wanted to find a way to do this faster. This bash script works nicely. Rather than create multipe folders using the Mac user interface, and then copying a template into a new folder, thiscreates all of the new folders in one step and also copies a template (or multiple templates) into a new file and new folders for the new matter. Rocket science? No. Useful time-saver? Works for me.
mkdir -p path_to/client_files/newclient/{correspondence,bills,pleadings,documents,misc} && cat path_to/client_files/Forms/eng_letter.doc > path_to/client_files/newclient/engagement_letter
This creates the following directory structure:
newclient [directory]
- correspondence [sub-directory]
- bills [sub-directory]
- pleadings [sub-directory]
@sdpalley
sdpalley / opp_indemnity.feature
Last active August 23, 2016 12:44
OPPI indemnity
# This is an imperfect paraphrase of a small part of a very long insurance policy
Feature: OPPI Indemnity Obligation
Scenario: Payment of Premium
Given an insured has paid the premium
When the insured has truthfully completed the Application
Then the Insurer agrees to the contents of the Policy form
Scenario: Coverage A Claims
Given the Named Insured has suffered Damages
@sdpalley
sdpalley / duty_to_defend.feature
Last active February 29, 2016 22:14
Duty to Defend -- ISO CG 00 01 10 01
Given I am an insured under a CG 00 01 10 01 ISO policy form # insured is a defined term
When I am sued by a third party # someone other than the insured
When I have satisfied required policy conditions
Then the insurance policy should pay for lawyers to defend me
If the suit alleges that I am legally liable for "property damage" # physical injury to tangible property, etc ...
Or if the suit alleges that I am legally liable for "bodily injury" # also a defined term ...
When the suit contains allegations to which the insurance applies
And if none of the policy's exclusions apply
# Note -- Does not cover personal/advertising injury or medpay coverage.