Skip to content

Instantly share code, notes, and snippets.

@skippednote
Last active June 21, 2018 18:39
Show Gist options
  • Save skippednote/7b85d4876053f1712eedde8ce6114362 to your computer and use it in GitHub Desktop.
Save skippednote/7b85d4876053f1712eedde8ce6114362 to your computer and use it in GitHub Desktop.
  • mkdir -p ~/r/{personal,work}
  • sudo apt install git curl zsh nfs-server bsdtar
  • echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
  • cd ~/r/personal && git clone https://github.com/skippednote/dotfiles.git
  • cd ~/r/personal/dotfiles
  • sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • ln -sfn $PWD/zshrc $HOME/.zshrc
  • ln -sfn $PWD/gitconfig $HOME/.gitconfig
  • ln -sfn $PWD/gitignore_global $HOME/.gitignore_global
  • ln -sfn $PWD/gitmessage $HOME/.gitmessage
  • rm -rf ~/examples.desktop
  • genkeys
  • cat ~/.ssh/id_rsa.pub
  • dock settings
  • sudo add-apt-repository ppa:ondrej/php
  • sudo apt-get install php7.1 php7.1-curl php7.1-bz2 php7.1-xml php7.1-mbstring php7.1-gd php7.1-zip php7.1-sqlite3
  • curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
  • sudo chown -R skippednote /home/skippednote/.composer
  • remove software | solitaire, amazon, Mahjogg, Mines, Suduko, Thunderbird
  • install software | slack, vscode, zoom, mailspring, virtualbox, vagrant, vlc, tweak tools, chrome-gnome-shell, chrome, docker
  • gnome extensions via firefox | caffeine, clipboard indicator, dash to dock, hide activities button, No title bar, OpenWeather, Status area horizontal spacing, User themes, Sound Input & Output Device Chooser, AlternateTab
  • apt install arc-theme (gnome theme)
  • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
  • nvm install stable
  • npm i -g npm yarn
  • yarn global add gulp-cli
  • gpg --gen-key
  • gpg --list-secret-keys --keyid-format LONG
  • gpg --armor --export 6B4FA0A2B53ACA0B
  • sudo add-apt-repository
    "deb [arch=amd64] https://download.docker.com/linux/ubuntu
    $(lsb_release -cs)
    edge"
  • sudo apt install docker-ce
  • sudo usermod -aG docker $USER

Extensions

  • aaron-bond.better-comments
  • Angular.ng-template
  • christian-kohler.npm-intellisense
  • christian-kohler.path-intellisense
  • dbaeumer.vscode-eslint
  • donjayamanne.githistory
  • eamodio.gitlens
  • EditorConfig.EditorConfig
  • esbenp.prettier-vscode
  • felixfbecker.php-debug
  • jpoissonnier.vscode-styled-components
  • kenhowardpdx.vscode-gist
  • lixquid.calculator
  • marcostazi.VS-code-drupal
  • Mikael.Angular-BeastCode
  • msjsdiag.debugger-for-chrome
  • Prisma.vscode-graphql
  • sdras.night-owl
  • shardulm94.trailing-spaces
  • shinnn.stylelint
  • whatwedo.twig

PHP xdebug config

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000,
            "pathMappings": {
              "/var/www/newell/": "${workspaceRoot}/"
            },
            "xdebugSettings": {
              "max_data": -1,
              "max_children": -1
            }
        },
        {
            "name": "Launch currently open script",
            "type": "php",
            "request": "launch",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9000
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment