- Connect to your raspberry Pi with SSH
- Install zsh :
sudo apt-get update && sudo apt-get install zsh - Edit your passwd configuration file to tell which shell to use for user
pi:sudo vim /etc/passwdand change/bin/bashand/bin/zsh - Reconnect to your raspberry, and check that zsh is the shell with
echo $0. - Switch to root :
sudo su - Install OhMyZsh :
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" - Disconnect from your instance and reconnect it.
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
| /** | |
| * in tackling this problem, I simply sorted the array, putting the larger sizes first. | |
| * Once I had the array sorted, I started with the biggest size and worked my way through it. | |
| * basically just sor tthe array and subtract from the length needed (k) | |
| * | |
| * I'm not sure if this passes the Big O notation requirement, I assume so with it being | |
| * super simple and only having one for loop. That should help keep complexity down. | |
| * | |
| * | |
| */ |
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
| /** | |
| so essentially you've a 2 dimensional array that you need to find a path from top to bottom and you can go left or right. | |
| a couple practice examples are below. | |
| if you can pass all the way through, return true, if you can't return false. you can only go on 0s, 1s are blocked. | |
| **/ | |
| // passes | |
| const potA = [ | |
| [1,1,1,0,1], | |
| [1,1,0,0,1], |
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
| tap "homebrew/bundle" | |
| tap "homebrew/cask" | |
| tap "homebrew/cask-drivers" | |
| tap "homebrew/cask-fonts" | |
| tap "homebrew/cask-versions" | |
| tap "homebrew/core" | |
| tap "homebrew/services" | |
| tap "keith/formulae" | |
| tap "mas-cli/tap" | |
| tap "teamookla/speedtest" |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |
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
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| ignorecase = true | |
| precomposeunicode = true | |
| editor = vscodium | |
| [user] | |
| name = skip |
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
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name angerbunny.com; | |
| return 301 https://$server_name$request_uri; | |
| } | |
| server { | |
| listen 443 ssl http2 default_server; |
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
| "*": | |
| "apathy-theme": | |
| altStyle: "Color Pop" | |
| enableTreeViewBorder: true | |
| enableTreeViewStyles: true | |
| syntaxSaturation: "100%" | |
| "atom-beautify": | |
| general: | |
| _analyticsUserId: "" | |
| "atom-ide-ui": |
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
| { | |
| "Use Non-ASCII Font" : false, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Red Component" : 0.40937519073486328, | |
| "Color Space" : "sRGB", | |
| "Blue Component" : 1, | |
| "Alpha Component" : 1, |
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
| ## Don't wrap text at all. | |
| set nowrap | |
| ## Fix Backspace/Delete confusion problem. | |
| # set rebinddelete | |
| ## Allow nano to be suspended. | |
| set suspend | |
| ## Convert typed tabs to spaces. |
NewerOlder