Getting started with repo contributions
I'd like to get started helping out with this repo. It's bee a while since I've done C++ coding, but I'm up for getting back into it. Please look for opportunities for initial contributions: refactoring, etc.
Getting started with repo contributions
I'd like to get started helping out with this repo. It's bee a while since I've done C++ coding, but I'm up for getting back into it. Please look for opportunities for initial contributions: refactoring, etc.
| /* My best attempt at GitHub Gist CSS */ | |
| /* for the Wordpress Syntax Highlighter. */ | |
| div.line > code { | |
| font-family: | |
| ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, | |
| "Liberation Mono", monospace !important; | |
| font-size: 0.7em !important; | |
| font-weight: 400 !important; | |
| line-height: 1.8em !important; |
| # Convert objects to XML | |
| root = ET.Element("toc") | |
| for title in toc.titles: | |
| title_elem = ET.SubElement(root, "title") | |
| title_elem.set("number", str(title.number)) | |
| title_elem.set("id", title.id) | |
| title_elem.set("urn", title.urn) | |
| title_elem.text = title.name |
This is the prompt I gave Claude Code.
This is related to the Reddit post: https://www.reddit.com/r/ClaudeAI/comments/1n2djja/claude_code_with_mcp_is_all_you_need/
Please create a document for me, CODE_QUALITY.md. I'd like you to analyze the code you just read for:
| elsif ors? | |
| case param_id | |
| when 'or', 'ors', 'ors_', 'ors_about' | |
| return ORS_ROOT | |
| when /^nrs_/ | |
| return NRS_ROOT + '/' + param_id | |
| when /^tex\._/ | |
| return TEXAS_STATUTES_ROOT + '/' + param_id |
| board = ["R", "N", "B", "Q", "K", "B", "N", "R","P", "P", "P", "P", "P", "P", "P", "P"," ", " ", " ", " ", " ", " ", " ", " "," ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "," ", " ", " ", " ", " ", " ", " ", " ","p", "p", "p", "p", "p", "p", "p", "p","r", "n", "b", "q", "k", "b", "n", "r"] | |
| def Print_board(): | |
| x = 0 | |
| y = 0 | |
| while y < 8: | |
| print("\n") | |
| while x < 8: | |
| print(board[x] + " ", end="") |
| def parse_title(dom: XmlResponse) -> Title: | |
| name = pipe( | |
| dom | |
| , html.xpath("//TITLE-TEXT") | |
| , text.titleize | |
| ) | |
| number = pipe( | |
| dom | |
| , html.xpath("//TITLE-NUM") | |
| , text.split(" ") |
| async function handleRequest(request) { | |
| // Is the visitor in the VIP list? | |
| let data = request.cf | |
| let visitor_asn = data.asn | |
| // Query the KV database | |
| let network_name = await VIP_API_ASN.get(visitor_asn) | |
| // Create the HTTP header value | |
| let is_vip = (network_name !== null) |
| def css(selector) | |
| html.css(selector).text | |
| end | |
| def html | |
| Nokogiri::HTML(response.body) | |
| end |
| # | |
| # Original | |
| # | |
| dl_lists: list[Any] = html.css("main dl") | |
| if len(dl_lists) > 0 and isinstance(dl_lists[0], Selector): | |
| first_dl_list = dl_lists[0] | |
| else: | |
| raise ParseException("Expected a <dl>") |