I hereby claim:
- I am camtheman256 on github.
- I am ckleiman15 (https://keybase.io/ckleiman15) on keybase.
- I have a public key whose fingerprint is 57D9 DE58 510C 30EA 3FAD 1153 DE5A 16EA 7FE6 CEA9
To claim this, I am signing this object:
| import json | |
| import sys | |
| import re | |
| # intended usage: cat rooms.json | python rooms.py | |
| # ...or: pbpaste | python rooms.py | pbcopy | |
| if __name__ == "__main__": | |
| # detects string ##FL in the room title, if present | |
| fl = r"(\d+)FL" | |
| with sys.stdin as inp: |
| # Place me in ~/.config/fish/functions | |
| # Then add me to `fish_vcs_prompt`: `funced fish_vcs_prompt` and save it to | |
| # your personal config: `funcsave fish_vcs_prompt;` | |
| function fish_jj_prompt --description 'Write out the jj prompt' | |
| # Is jj installed? | |
| if not command -sq jj | |
| return 1 | |
| end |
| def parens(s: str): | |
| def parser_paren(i: int) -> tuple[bool, int]: | |
| i += 1 | |
| result = True | |
| while i < len(s) and result and s[i] != ")": | |
| if s[i] == "(": | |
| result, i = parser_paren(i) | |
| elif s[i] == "[": | |
| result, i = parser_bracket(i) | |
| else: |
| function exportData() { | |
| const peopleMap = {}; | |
| for(let i = 0; i < PeopleIDs.length; i++) { | |
| peopleMap[PeopleIDs[i]] = PeopleNames[i]; | |
| } | |
| nameAtSlot = AvailableAtSlot.map(e => e.map(i => peopleMap[i])); | |
| timedNames = TimeOfSlot.map((e, i) => [e, nameAtSlot[i]]); | |
| return JSON.stringify(timedNames); | |
| } |
| // @ts-check | |
| // NAME: Change Color to Music | |
| // AUTHOR: camtheman256 | |
| // DESCRIPTION: Changes accent color to album art | |
| /// <reference path="../globals.d.ts" /> | |
| (function ChangeColorToMusic() { | |
| function applyStyles(styleMap, documentEl) { | |
| for(style of Object.keys(styleMap)) { |
| #!/usr/bin/python3 | |
| # ================================================ | |
| # Tips: pip3 install tweepy before you get started | |
| # You'll also need to set up a developer account | |
| # and application on developer.twitter.com in | |
| # order to get the necessary keys/secrets | |
| # | |
| # Enjoy! Cameron Kleiman, 2019 | |
| # ================================================ |
I hereby claim:
To claim this, I am signing this object:
| public class Pencil { | |
| private int pencilSharp; | |
| private String pencilColor; | |
| public Pencil(){ | |
| pencilSharp = 3; | |
| pencilColor = "yellow"; | |
| } | |
| public Pencil(int sharp, String color) { |