I hereby claim:
- I am shindig7 on github.
- I am shindig_ (https://keybase.io/shindig_) on keybase.
- I have a public key ASCOT0QvC-YP5cRZlsmcsIdyZxlfS8HCvwggXG4LaxyB7Qo
To claim this, I am signing this object:
| .cm-s-default .cm-meta { | |
| color: #66D9EF; | |
| } | |
| .cm-s-default .cm-variable { | |
| color: #FD971F; | |
| } | |
| .cm-s-default .cm-variable-2 { | |
| color: #FD971F; |
| from datetime import datetime, timedelta | |
| def get_reps(subject): | |
| check = r"{{[[TODO]]}}" | |
| suffix = ( | |
| lambda d: "th" if 10 < d < 14 else {1: "st", 2: "nd", 3: "rd"}.get(d % 10, "th") | |
| ) | |
| today = datetime.now() | |
| rep1 = today + timedelta(days=1) | |
| rep2 = today + timedelta(weeks=1) |
| from pathlib import Path | |
| def search(term): | |
| pys = Path(".").rglob("*.py") | |
| for fp in pys: | |
| with open(fp, "r") as F: | |
| if term in F.read(): | |
| print(str(fp).split("\\")[-1]) |
| printf "Guess the number!: " | |
| let mutable input = System.Console.ReadLine() |> System.Int32.Parse | |
| let secret = System.Random().Next(1,101) | |
| while input <> secret do | |
| let diff = input - secret | |
| if diff > 0 then | |
| printfn "Try again! The secret number is LOWER than %d" input | |
| printf "Next guess?: " | |
| input <- System.Console.ReadLine() |> System.Int32.Parse |
I hereby claim:
To claim this, I am signing this object: