Skip to content

Instantly share code, notes, and snippets.

View igidas's full-sized avatar

Kasparas Pochyla igidas

View GitHub Profile
@igidas
igidas / readme.md
Last active July 13, 2016 14:59
Usable Git commands

Show changed files betweeen commits git diff --name-only SHA1 SHA2

@igidas
igidas / ._local-development-automation.md
Last active February 20, 2019 14:03
Easy multiple local projects development with Vagrant and Homestead. Automatic folder mapping and virtual domains ".dev". No touching of nginx and hosts configuration files.

http://www.sitepoint.com/set-automatic-virtual-hosts-nginx-apache/ http://laravel.com/docs/5.0/homestead http://passingcuriosity.com/2013/dnsmasq-dev-osx/

  1. Create folder "Development" and inside it create "Projects" and "Resources"
  2. Put contents of "nginx-dev" to "Developments/Resources/nginx-dev"
  3. Put contents of "nginx-projects" to "Developments/Resources/nginx-projects"
  4. Install laravel/Homstead
  5. Copy contents of "Homestead.yaml" to "~/.homestead/Homestead.yaml"
  6. Copy contents of "after.sh" to "~/.homestead/after.sh"