π¦
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Thomas Edison", | |
| "label": "Inventor and Businessman", | |
| "picture": "https://example.com/photo.jpg", | |
| "email": "thomas.edison@example.com", | |
| "phone": "(123) 456-7890", | |
| "website": "https://thomasedison.com", | |
| "summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
| "location": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[inline] | |
| pub fn copilot(x0: i32, y0: i32, x1: i32, y1: i32) -> Vec<(i32, i32)> { | |
| let mut points = Vec::new(); | |
| let mut x = x0; | |
| let mut y = y0; | |
| let dx = x1 - x0; | |
| let dy = y1 - y0; | |
| let mut step = if x1.abs() > x0.abs() { 1 } else { -1 }; | |
| let mut err = dx.abs() - dy.abs(); | |
| while x != x1 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SPECIES_SYLLABLES = [ | |
| 'a', 'aar', 'ab', 'ac', 'ad', 'ai', 'ak', 'al', 'am', 'an', 'ap', 'aq', | |
| 'ar', 'as', 'at', 'aun', 'aur', 'ax', 'ay', 'az', 'b', 'bal', 'ban', 'bar', | |
| 'beas', 'bes', 'bit', 'blar', 'bol', 'bot', 'boun', 'caam', 'cab', | |
| 'cal', 'car', 'cat', 'cel', 'cer', 'ch', 'chad', 'chag', 'chal', 'chi', | |
| 'chis', 'chor', 'claw', 'cod', 'con', 'cow', 'd', 'da', 'dai', 'dan', | |
| 'das', 'dat', 'def', 'dek', 'dev', 'dit', 'do', 'dor', 'dos', 'dow', | |
| 'drac', 'dres', 'droc', 'dro', 'duag', 'dug', 'dul', 'dur', 'e', 'ean', | |
| 'eb', 'ec', 'ed', 'een', 'ees', 'eg', 'ek', 'el', 'em', 'en', 'ep', 'er', | |
| 'es', 'et', 'ew', 'eyr', 'fa', 'fal', 'fan', 'far', 'feeor', 'fer', 'fir', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![warn( | |
| clippy::all, | |
| clippy::pedantic, | |
| clippy::nursery, | |
| missing_docs, | |
| clippy::missing_docs_in_private_items, | |
| clippy::mod_module_files | |
| )] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| combine_control_expr = false | |
| comment_width = 0 | |
| wrap_comments = false | |
| fn_single_line = true | |
| format_strings = true | |
| max_width = 79 | |
| merge_imports = false | |
| newline_style = "Unix" | |
| normalize_comments = true | |
| use_try_shorthand = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| STRIKEOUT = 200 | |
| HIT = 200 | |
| HOMERUN = 1000 | |
| SHUTOUT = 10_000 | |
| import requests | |
| from collections import defaultdict | |
| # saved full S6 game_events list from the datablase | |
| with open("game_events.json") as f: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| Language: Cpp | |
| # BasedOnStyle: Mozilla | |
| AccessModifierOffset: 0 | |
| AlignAfterOpenBracket: AlwaysBreak | |
| AlignConsecutiveMacros: false | |
| AlignConsecutiveAssignments: false | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Right | |
| AlignOperands: Align |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import List, Dict, Type | |
| from dataclasses import dataclass | |
| # importing separately to make clear which names come from dataclasses | |
| import dataclasses | |
| from pprint import pprint | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [38;2;135;137;192mβββββββββββββββββββββββββββββ | |
| β [38;2;228;123;102mβ‘[38;0m [38;2;254;255;255mCozette[38;0m [38;2;228;123;102mβ‘[38;2;135;137;192m β | |
| β‘ββββββββββββββββββββββββββββ© | |
| β [38;2;150;154;151mA B C D E F G H I J K L M [38;2;135;137;192mβ | |
| β [38;2;150;154;151mN O P Q R S T U V W X Y Z [38;2;135;137;192mβ | |
| βββββββββββββββββββββββββββββ‘ | |
| β 1 2 3 4 5 6 7 8 9 0 β | |
| βββββββββββββββββββββββββββββ‘ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| *.so | |
| .Python | |
| build/ | |
| develop-eggs/ | |
| dist/ | |
| downloads/ | |
| eggs/ |
NewerOlder