Skip to content

Instantly share code, notes, and snippets.

View kemitchell's full-sized avatar

Kyle E. Mitchell kemitchell

View GitHub Profile
% ltlists.dtx definitions with the list nesting depth limitation removed
\newcount\@depthcount
\@depthcount 0\relax
\def\@depthloop{%
\ifnum \@depthcount <10
\advance\@depthcount\@ne%
\@definecounter{item\romannumeral\the\@depthcount}%
\expandafter\def\csname labelitem\romannumeral\the\@depthcount\endcsname{$\bullet$}%
\expandafter\let\csname @list\romannumeral\the\@depthcount\endcsname = \@listi%
\@depthloop%
"curl "http://www.ftc.gov/system/files/documents/cases/576172.pdf" > "Complaint Counsel’s Motion to Compel Responses to Complaint Counsel’s Subpoena Duces Tecum to Richard Edward Wallace and to Postpone Resumption of the Evidentiary Hearing (11.28 MB)"
curl "http://www.ftc.gov/system/files/documents/cases/150102labmdcmpt575767.pdf" > "Complaint Counsel’s Opposition to Respondent’s Motion to Admit RX-543-RX-548 (134.36 KB)"
curl "http://www.ftc.gov/system/files/documents/cases/141229labmdorder.pdf" > "Order Granting Respondent’s Renewed Motion for Order Requiring Testimony Under Grant of Immunity Pursuant to Commission Rule 3.39(b)(2) and Providing that the Evidentiary Hearing Shall Resume on March 3, 2015 (184.09 KB)"
curl "http://www.ftc.gov/system/files/documents/cases/141223labmdmtn.pdf" > "Respondent LabMD, Inc.’s Motion to Admit RX-543 - RX-548 (3.18 MB)"
curl "http://www.ftc.gov/system/files/documents/cases/141215labmdccresponse.pdf" > "Complaint Counsel’s Response to Respondent’s Renewed Motion for
@kemitchell
kemitchell / Model Contracts.md
Last active August 29, 2015 14:18
Model Contracts

Model Contracts

International Swaps and Derivatives Association Master Agreement

North American Energy Standards Board General Terms and Conditions

American Bar Association Committee on Trust Indentures and Indenture Trustees Model Negotiated Covenants and Related Definitions

American Institute of Architects Model Documents

@kemitchell
kemitchell / package-managers.md
Created April 29, 2015 19:12
List of Source Code Package Managers
  • npm
  • PEAR
  • CPAN
  • Bower
  • Cabal
  • Fink
  • Ports
  • RubyGems
  • LuaRocks
@kemitchell
kemitchell / pr.md
Last active August 29, 2015 14:20
SPDX Identifier Pull Request Message Template

Use a Standard-Compliant License Identifier

This pull request changes the value of the license property in package.json to a standard, machine-readable SPDX license identifier.

I'll be honest: This is a semi-automated pull request. I started by using dat and dat-npm to review metadata for all packages on npm, looking for packages updated sometime in the last year that don't use a valid SPDX license identifier in package.json. I used my own npm module, spdx-correct to guess what license you were after: "{SPDX}". A quick manual check and a few shell scripts later, and this pull request was born.

npm doesn't require that you use a valid SPDX identifier, but it's strongly recommended. (Try npm help 7 package.json and search for “License”.) Other source code package managers, like Maven for Java and RubyGem

@kemitchell
kemitchell / popular.json
Created May 2, 2015 20:26
Most-depended-upon npm packages 2015-05-02
@kemitchell
kemitchell / most-depended-upon.tsv
Last active August 29, 2015 14:20
licensng of most-dependend-upon npm packages
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 10.
1 lodash git+https://github.com/lodash/lodash.git Valid "MIT" MIT
2 async https://github.com/caolan/async.git Invalid "None" None
3 underscore git://github.com/jashkenas/underscore.git Valid "MIT" MIT
4 request https://github.com/request/request.git Valid "Apache-2.0" Apache-2.0
5 commander https://github.com/tj/commander.js.git Valid "MIT" MIT
6 express https://github.com/strongloop/express Valid "MIT" MIT
7 debug git://github.com/visionmedia/debug.git Valid "MIT" MIT
8 chalk https://github.com/sindresorhus/chalk Valid "MIT" MIT
9 colors http://github.com/Marak/colors.js.git Valid "MIT" MIT
10 q git://github.com/kriskowal/q.git Invalid {"type":"MIT","url":"http://github.com/kriskowal/q/raw/master/LICENSE"} None
@kemitchell
kemitchell / most-depended-upon-without-spdx.tsv
Last active August 29, 2015 14:20
most-dependend-upon npm packages without valid SPDX identifiers
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 2.
2 async https://github.com/caolan/async.git Invalid "None" None
10 q git://github.com/kriskowal/q.git Invalid {"type":"MIT","url":"http://github.com/kriskowal/q/raw/master/LICENSE"} None
13 optimist http://github.com/substack/node-optimist.git Invalid "MIT/X11" MIT
15 yeoman-generator https://github.com/yeoman/generator Invalid "BSD" None
16 moment https://github.com/moment/moment.git Invalid "None" None
19 gulp-util https://github.com/wearefractal/gulp-util Invalid "None" None
23 redis git://github.com/mranney/node_redis.git Invalid "None" None
24 node-uuid https://github.com/broofa/node-uuid.git Invalid "None" None
25 socket.io git://github.com/Automattic/socket.io Invalid "None" None
26 uglify-js https://github.com/mishoo/UglifyJS2.git Invalid "BSD" None
@kemitchell
kemitchell / popular-packages-with-licenses-array.tsv
Created May 5, 2015 03:38
popular npm packages using an array of license objects
@kemitchell
kemitchell / licenses-no-valid.tsv
Created May 5, 2015 07:49
license metadata of 1000 popular npm packages
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
{"package":"6to5","github":"6to5/6to5","licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"JSONPath","github":"s3u/JSONPath","licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"JSONStream","github":"dominictarr/JSONStream","licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"JSV","github":null,"licenses":{"new":{"values":[],"valid":[]},"old":{"values":["FreeBSD"],"valid":[false]},"anyValid":false}}
{"package":"MD5","github":"pvorb/node-md5","licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"after","github":"Raynos/after","licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"ansi-color","github":null,"licenses":{"new":{"values":[],"valid":[]},"old":{"values":[],"valid":[]},"anyValid":false}}
{"package":"ansi","github":"TooTallNate/ansi.js","licenses":{