Skip to content

Instantly share code, notes, and snippets.

View ascott1's full-sized avatar

Adam Scott ascott1

View GitHub Profile
<RULE>
<PREAMB>
<PRTPAGE P="65300"/>
<AGENCY TYPE="S">BUREAU OF CONSUMER FINANCIAL PROTECTION</AGENCY>
<CFR>12 CFR Part 1026</CFR>
<DEPDOC>[Docket No. CFPB-2014-0009]</DEPDOC>
<RIN>RIN 3170-AA43</RIN>
<SUBJECT>Truth in Lending (Regulation Z)</SUBJECT>
<AGY>
<HD SOURCE="HED">AGENCY:</HD>
WARNING: This will irreparably remove EVERYTHING from your search index in connection 'default'.
Your choices after this are to restore from backups or rebuild via the `rebuild_index` command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
Failed to clear Solr index: Failed to connect to server at 'http://localhost:8983/solr/update/?commit=true', are you sure that URL is correct? Checking it in a browser might help: [Errno 111] Connection refused
All documents removed.
Indexing 242951 regulations
ERROR:root:Error updating regcore using default
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/haystack/management/commands/update_index.py", line 221, in handle_label
for ident in ('ER27DE11.000-1', 'ER27DE11.000-1', 'ER22DE11.003-1',
'ER22DE11.004-1', 'ER22DE11.005-1', 'ER22DE11.006-1',
'ER22DE11.007-1', 'ER22DE11.008-1', 'ER22DE11.009-1',
'ER22DE11.010-1', 'ER22DE11.011-1', 'ER22DE11.011-2',
'ER22DE11.012-1', 'ER22DE11.014-1', 'ER22DE11.017-1',
'ER22DE11.020-1', 'ER22DE11.021-1', 'ER22DE11.022-1',
'ER22DE11.023-1', 'ER22DE11.024-1', 'ER22DE11.025-1',
'ER22DE11.025-2', 'ER22DE11.026-1', 'ER22DE11.026-2',
'ER22DE11.027-1', 'ER22DE11.028-1', 'ER22DE11.029-1',
'ER22DE11.031-1', 'ER22DE11.031-2', 'ER22DE11.032-1',
<REGTEXT PART="1005" TITLE="12">
<AMDPAR>4. Appendix A to part 1005 is amended by revising Model Forms A-31 and A-40 to read as follows:</AMDPAR>
<HD SOURCE="HD1">Appendix A to Part 1005&#x2014;Model Disclosures and Forms</HD>
<EXTRACT>
<FP SOURCE="FP-1">A-31&#x2014;Model Form for Receipts for Remittance Transfers Exchanged into Local Currency (&#xA7; 1005.31(b)(2))</FP>
<GPH DEEP="626" SPAN="3">
<PRTPAGE P="55992"/>
<GID>ER18SE14.015</GID>
</GPH>
{
"abstract": "The Bureau of Consumer Financial Protection (Bureau) is amending subpart B of Regulation E, which implements the Electronic Fund Transfer Act, and the official interpretation to the regulation (Remittance Rule). This final rule extends a temporary provision that permits insured institutions to estimate certain pricing disclosures pursuant to section 1073 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. Absent further action by the Bureau, that exception would have expired on July 21, 2015. Based on a determination that the termination of the exception would negatively affect the ability of insured institutions to send remittance transfers, the Bureau is extending the temporary exception by five years from July 21, 2015, to July 21, 2020. The Bureau is also making several clarifications and technical corrections to the regulation and commentary.",
"action": "Final rule; official interpretation.",
"agency_names": [
"Consumer Financial Protection Bureau"
{
"abstract": "The Bureau of Consumer Financial Protection (Bureau) is issuing this final rule amending the regulatory text and official interpretations for Regulation Z, which implements the Truth in Lending Act (TILA). The Bureau is required to calculate annually the dollar amounts for several provisions in Regulation Z; this final rule reviews the dollar amounts for provisions implementing amendments to TILA under the Credit Card Accountability Responsibility and Disclosure Act of 2009 (CARD Act), the Home Ownership and Equity Protection Act of 1994 (HOEPA), and the Dodd-Frank Wall Street Reform and Consumer Protection Act (Dodd-Frank Act). These amounts are adjusted, where appropriate, based on the annual percentage change reflected in the Consumer Price Index in effect on June 1, 2014. The minimum interest charge disclosure thresholds will remain unchanged in 2015. The adjusted dollar amount for the penalty fees safe harbor in 2015 is $27 for a first late payment and $38 for each subsequent violation
This file has been truncated, but you can view the full file.
{
"children": [
{
"children": [
{
"children": [
{
"children": [],
"label": [
"1005",
Traceback (most recent call last):
File "build_from.py", line 48, in <module>
builder.write_notices()
File "/Users/scotta/Projects/reg-parsing/scratch/regulations-parser/regparser/builder.py", line 39, in write_notices
self.writer.notice(notice['document_number']).write(notice)
File "/Users/scotta/Projects/reg-parsing/scratch/regulations-parser/regparser/api_writer.py", line 50, in write
headers={'content-type': 'application/json'})
File "/Users/scotta/.virtualenvs/scratch/lib/python2.7/site-packages/requests/api.py", line 88, in post
return request('post', url, data=data, **kwargs)
File "/Users/scotta/.virtualenvs/scratch/lib/python2.7/site-packages/requests/api.py", line 44, in request
@ascott1
ascott1 / app.js
Created August 21, 2014 11:38
OAH Backbone Simple
$(function(){
// create a loan model
var Loan = Backbone.Model.extend({
defaults: {
title: 'Loan A',
amount: 200000,
downpayment: 20000,
credit: 720,
term: 30
@ascott1
ascott1 / gist:78b0ef9d2bcab79057ac
Last active August 29, 2015 14:04
fff: framework free front-end

Project Outline

Core Concepts

  • why?(aka "do one thing well" / Unix Philosophy)
  • npm (creating a package/consuming a package) / modular.js
  • browserify
  • modular CSS (using SASS or Less)
  • application structure
  • build tools