Skip to content

Instantly share code, notes, and snippets.

View antontit's full-sized avatar

_antontit antontit

  • Ukraine
View GitHub Profile
@antontit
antontit / steps.md
Last active August 6, 2018 17:52
How to install ElasticSearch on Lubuntu 16.04

webpack.mix.js

const mix = require('laravel-mix');

mix.setPublicPath('public/build')
    .setResourceRoot('../')
    .js('resources/assets/js/app.js', 'js')
    .sass('resources/assets/sass/app.scss', 'css')
    // .options({
 // fileLoaderDirs: {

Branches

git branch -v
git checkout feature

new branch & checkout

git checkout -b fix

pretty terminal view

include in ~/.bashrc :

PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \[\033[0;36m\]\h \w\[\033[0;32m\]$(__git_ps1)\n\[\033[0;32m\]└─\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\] ▶\[\033[0m\] '