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
| class Memento | |
| attr_accessor :state | |
| def initialize(state) | |
| @state = state | |
| end | |
| end | |
| class Caretaker | |
| attr_reader :memento |
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
| const keyboard_pic = document.querySelector('div#home-card img') | |
| const keyCode = "ASDFU" | |
| let keyStack = "" | |
| function sleep(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } | |
| async function rgbKeyboard() { | |
| keyboard_pic.src = "images/keyboard-lit.jpg" |
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
| : ${omg_ungit_prompt:=$PS1} | |
| : ${omg_second_line:="%B%F{6}%~%f%b 🔮%B%F{235}❯%F{55}❯%F{27}❯%f%b "} | |
| : ${omg_is_a_git_repo_symbol:=''} | |
| : ${omg_has_untracked_files_symbol:=''} | |
| : ${omg_has_adds_symbol:=''} | |
| : ${omg_has_deletions_symbol:=''} | |
| : ${omg_has_cached_deletions_symbol:=''} | |
| : ${omg_has_modifications_symbol:=''} | |
| : ${omg_has_cached_modifications_symbol:=''} | |
| : ${omg_ready_to_commit_symbol:=''} |
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
| Copy the contents of the raw json file into the Complex Modification window. | |
| The two "product_id" identifiers allow the modifications to work with Bluetooth or 2.4 GHz wireless. | |
| Optionally set a simple modification for the mouse wheel: | |
| `button3 => left_control` | |
| Here is a simple key of the mapping: | |
| # 0, -, and = are 10, 11, 12 on the mouse | |
| naga_v2: | |
| 1: 'cmd+c' # copy |