Skip to content

Instantly share code, notes, and snippets.

@carloshpdoc
Last active February 21, 2023 20:10
Show Gist options
  • Select an option

  • Save carloshpdoc/77e785287f7d2451ca57e3d5795779df to your computer and use it in GitHub Desktop.

Select an option

Save carloshpdoc/77e785287f7d2451ca57e3d5795779df to your computer and use it in GitHub Desktop.

Revisions

  1. carloshpdoc revised this gist Feb 21, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,7 @@ brew install tig
    pip install xUnique
    gem install xcode-install
    brew install --cask rectangle
    brew install swiftlint

    # remove outdated versions
    brew cleanup
  2. carloshpdoc revised this gist Feb 20, 2023. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -71,4 +71,7 @@ sudo sh -c "echo $(which zsh) >> /etc/shells"
    chsh -s $(which zsh)

    # p10k configure theme
    p10k configure
    p10k configure

    # tuist
    curl -Ls https://install.tuist.io | bash
  3. carloshpdoc revised this gist Feb 19, 2023. 1 changed file with 16 additions and 2 deletions.
    18 changes: 16 additions & 2 deletions dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,14 @@
    # homebrew
    if test ! $(which brew); then
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    fi

    # update homebrew and package
    brew update & brew upgrade

    # install all packages
    brew install git
    brew install rbenv ruby-build
    brew install go
    brew install glide
    brew install dep
    @@ -55,6 +56,19 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/mas
    cp .zshrc ~/.zshrc
    cp zsh_history ~/.zsh_history

    # zsh-autosuggestions install. See https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
    git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
    source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

    # Install zsh-syntax-highlighting. See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

    # theme powerlevel10k
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

    # set zsh as default shell
    sudo sh -c "echo $(which zsh) >> /etc/shells"
    chsh -s $(which zsh)
    chsh -s $(which zsh)

    # p10k configure theme
    p10k configure
  4. carloshpdoc revised this gist Jul 26, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ brew cask install keycastr
    brew install tig
    pip install xUnique
    gem install xcode-install
    brew install --cask rectanglebrew install --cask rectangle
    brew install --cask rectangle

    # remove outdated versions
    brew cleanup
  5. carloshpdoc revised this gist Jul 21, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -53,6 +53,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/mas

    # setup zsh
    cp .zshrc ~/.zshrc
    cp zsh_history ~/.zsh_history

    # set zsh as default shell
    sudo sh -c "echo $(which zsh) >> /etc/shells"
  6. carloshpdoc revised this gist Jul 21, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ brew install glide
    brew install dep
    brew install node
    brew install yarn
    brew install python
    brew install python3
    brew install cocoapods
    brew install carthage
    brew install opencv
    @@ -29,6 +29,7 @@ brew cask install keycastr
    brew install tig
    pip install xUnique
    gem install xcode-install
    brew install --cask rectanglebrew install --cask rectangle

    # remove outdated versions
    brew cleanup
  7. carloshpdoc revised this gist Nov 4, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dotFiles.sh
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,8 @@ brew install serverless
    brew install cf-cli
    brew install ripgrep
    brew cask install keycastr
    brew install tig
    pip install xUnique
    xunique -h
    gem install xcode-install

    # remove outdated versions
  8. carloshpdoc renamed this gist Nov 3, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. carloshpdoc revised this gist Apr 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dotFiles
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,7 @@ gem install xcode-install
    # remove outdated versions
    brew cleanup

    # run git setup
    # run git setup // download here: https://gist.github.com/carloshpdoc/4c76483e163998a49aebd77cbb032ad6
    chmod +x ./git_setup.sh
    ./git_setup.sh

  10. carloshpdoc revised this gist Feb 26, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions dotFiles
    Original file line number Diff line number Diff line change
    @@ -26,6 +26,9 @@ brew install serverless
    brew install cf-cli
    brew install ripgrep
    brew cask install keycastr
    pip install xUnique
    xunique -h
    gem install xcode-install

    # remove outdated versions
    brew cleanup
  11. carloshpdoc revised this gist Feb 26, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dotFiles
    Original file line number Diff line number Diff line change
    @@ -25,6 +25,7 @@ brew install youtube-dl
    brew install serverless
    brew install cf-cli
    brew install ripgrep
    brew cask install keycastr

    # remove outdated versions
    brew cleanup
  12. carloshpdoc revised this gist Sep 6, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dotFiles
    Original file line number Diff line number Diff line change
    @@ -21,10 +21,10 @@ brew install mongodb
    brew install mysql
    brew install docker
    brew install docker-compose
    brew install kubernetes-cli
    brew install youtube-dl
    brew install serverless
    brew install cf-cli
    brew install ripgrep

    # remove outdated versions
    brew cleanup
  13. carloshpdoc created this gist Aug 27, 2019.
    54 changes: 54 additions & 0 deletions dotFiles
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,54 @@
    # homebrew
    if test ! $(which brew); then
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    fi

    # update homebrew and package
    brew update & brew upgrade

    # install all packages
    brew install git
    brew install go
    brew install glide
    brew install dep
    brew install node
    brew install yarn
    brew install python
    brew install cocoapods
    brew install carthage
    brew install opencv
    brew install mongodb
    brew install mysql
    brew install docker
    brew install docker-compose
    brew install kubernetes-cli
    brew install youtube-dl
    brew install serverless
    brew install cf-cli

    # remove outdated versions
    brew cleanup

    # run git setup
    chmod +x ./git_setup.sh
    ./git_setup.sh

    # install all npm packages
    npm i -g nodemon
    npm i -g create-react-app
    npm i -g gatsby-cli

    # install nvm
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
    export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

    # install oh-my-zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    # setup zsh
    cp .zshrc ~/.zshrc

    # set zsh as default shell
    sudo sh -c "echo $(which zsh) >> /etc/shells"
    chsh -s $(which zsh)