defaults write com.apple.finder CreateDesktop false; killall Finder
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
| # ORDER | |
| SPACESHIP_PROMPT_ORDER=( | |
| time # | |
| vi_mode # these sections will be | |
| user # before prompt char | |
| host # | |
| line_sep | |
| battery | |
| char | |
| dir |
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
| // Find the twos | |
| // Given an integer like this: | |
| // 2468122368128146226989812 | |
| // Implement a function called `findTheTwos` that return the total number of number two in the integer | |
| // findTheTwos(246812236812) = 7 | |
| const num = 246812236812; | |
| const targetNum = 2; | |
| function findTheTwos(int, target) { |