sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| /** | |
| * Without calling Array.prototype.map(), Array.prototype.filter(), Array.prototype.reduce(), or | |
| * Array.prototype.forEach(), implement the following three similar functions on the Array prototype: | |
| */ | |
| /* | |
| * myMap(callback) | |
| * Without mutating the original array, this function should call the passed callback function on every | |
| * element of the array and return a new array containing the result of all these calls, in the corresponding order. | |
| * The callback function can take up to three parameters: |
| :root { | |
| --head-bg: #a4d9eb; | |
| --head-bdr-clr: #9bbcc2; | |
| --bulb-bg: #ffa500; | |
| --stick-bg: #808080; | |
| --ear-bg: #c90a0a; | |
| --eye-bg: #fff; | |
| --eye-bdr-clr: #00b3ff; | |
| --nose-bg: #c90a0a; | |
| --mouth-bg: #dedede; |
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb <A-S-G> | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
| // Variable to store the previous bounds | |
| let previousBounds = null; | |
| // Event listener for the 'moveend' event of the map | |
| map.on('moveend', () => { | |
| const currentBounds = map.getBounds(); | |
| // Check if there are previous bounds | |
| if (previousBounds) { | |
| const distance = getDistance(previousBounds, currentBounds); |
| <a id="back-to-top" | |
| class="scroll-top scroll-top-link"> | |
| <i class="fa fa-arrow-circle-up"></i> | |
| </a> |
We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run: mysql -uroot
To restart mysql after an upgrade: brew services restart mysql
| # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
| # Initialization code that may require console input (password prompts, [y/n] | |
| # confirmations, etc.) must go above this block; everything else may go below. | |
| if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
| source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
| fi | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH |
| { | |
| "Ansi 3 Color" : { | |
| "Green Component" : 0.71372549019607845, | |
| "Blue Component" : 0.48627450980392156, | |
| "Red Component" : 0.82352941176470584 | |
| }, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { |