Skip to content

Instantly share code, notes, and snippets.

View gunlawsguy1's full-sized avatar

Logan Hayes gunlawsguy1

  • San Francisco
View GitHub Profile
@gunlawsguy1
gunlawsguy1 / Arizona Concealed Carry Laws.md
Created August 24, 2024 13:48
Arizona Concealed Carry Laws
title
Arizona Concealed Carry Laws

Arizona Concealed Carry Laws

Summary of Arizona Gun Laws

@gunlawsguy1
gunlawsguy1 / Connecticut Concealed Carry Laws.md
Created August 24, 2024 13:45
Connecticut Concealed Carry Laws
title
Connecticut Concealed Carry Laws

Connecticut Concealed Carry Laws

Summary of Connecticut Gun Laws

import os import re

def keep_relevant_content(content): print("Original content length:", len(content))

# Keep only the content up to the first occurrence of either phrase
pattern = r'(?:###\s*Gun Permit Laws by State|###\s*Search \[USA CCW Law)'
match = re.search(pattern, content, re.IGNORECASE)
@gunlawsguy1
gunlawsguy1 / Rhode-Island-Constitutional-Carry-Laws.md
Created August 22, 2024 20:34
Rhode Island Constitutional Carry Laws
title
Rhode Island Constitutional Carry Laws

Rhode Island Constitutional Carry Laws

Legal information provided is for reference and not legal advice. Consult an attorney for specific legal concerns.

@gunlawsguy1
gunlawsguy1 / Kansas-Constitutional-Carry-Laws.md
Created August 22, 2024 20:31
Kansas Constitutional Carry Laws
title
Kansas Constitutional Carry Laws

Kansas Constitutional Carry Laws

Legal information provided is for reference and not legal advice. Consult an attorney for specific legal concerns.

@gunlawsguy1
gunlawsguy1 / Ohio-Constitutional-Carry-Laws.md
Created August 22, 2024 20:28
Ohio Constitutional Carry Laws
title
Ohio Constitutional Carry Laws

Ohio Constitutional Carry Laws

Legal information provided is for reference and not legal advice. Consult an attorney for specific legal concerns.

@gunlawsguy1
gunlawsguy1 / Nebraska-Constitutional-Carry-Laws.md
Created August 22, 2024 20:24
Nebraska Constitutional Carry Laws
title
Nebraska Constitutional Carry Laws

Nebraska Constitutional Carry Laws

Legal information provided is for reference and not legal advice. Consult an attorney for specific legal concerns.