Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| #!/bin/bash | |
| # Source: https://github.com/technicalpickles/pickled-vim/blob/master/script/setup | |
| set -e | |
| cd "$(dirname "$0")/.." | |
| if [ "$(uname -s)" = "Darwin" ]; then | |
| brew bundle check >/dev/null 2>&1 || { | |
| echo "==> Installing Homebrew dependencies…" | |
| brew bundle | |
| } |
| <?php | |
| SessionHandler implements SessionHandlerInterface , SessionIdInterface { | |
| /* Methods */ | |
| public close ( ) : bool | |
| public create_sid ( ) : string | |
| public destroy ( string $id ) : bool | |
| public gc ( int $max_lifetime ) : int|bool | |
| public open ( string $path , string $name ) : bool | |
| public read ( string $id ) : string | |
| public write ( string $id , string $data ) : bool |
| #### | |
| # ZSH function to auto-switch to correct Node version | |
| # https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5 | |
| # | |
| # - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does. | |
| # | |
| # - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING. | |
| # | |
| # - Works correctly if your .nvmrc file contains something relaxed/generic, | |
| # like "4" or "v12.0" or "stable". |
| alias nw="npm run watch" | |
| alias gitpersonal="git config --global user.name 'My Name' && git config --global user.email someone@email.xyz" | |
| PATH_TO_REPOS=/Users/me/somerepos | |
| alias zz="cd $HOME" | |
| alias zdev="cd $HOME/devnotes" | |
| alias cz="cd ../" | |
| alias goup="cd ../" | |
| alias goback="cd -" | |
| alias zdev="cd ~/devnotes" | |
| alias lll="ls -lhatr" |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"In your command-line run the following commands:
brew doctorbrew update| const getDB = require('../../bbdd/db'); | |
| const { formatDate, validate } = require('../../helpers'); | |
| const { | |
| newSchemaEditExperience, | |
| } = require('../../validations/newSchemaEditExperience'); | |
| const editExperience = async (req, res, next) => { | |
| let connection; | |
| let sqlExperience = 'SELECT * FROM experiences'; | |
| try { |