A documentação do PUPHPet (Vagrant + Puppet + VirtualBox) está disponível e em inglês.
- instale o VirtualBox
- instale o Vagrant
| 1. AutoFileName - Você vai utilizar uma imagem/arquivo e não sabe o nome dele e/ou o caminho é muito grande? Este plugin vai te ajudar quando você utilizar o ctrl/cmd + espaço te dizendo o nome das coisas dentro da pasta; | |
| 2. BracketHighlighter - Aplica um highlight no início e no fim de uma tag, e é bastante útil para você saber onde fecha e onde abre determinada tag. Só utilizando pra ver o quanto é útil; | |
| 3. CSSComb - Se você é ‘neurótico’ por organização extrema modefucker e queria que todas as propriedades no seu css estivessem ordenadas, este plugin vai ser o seu irmão. Com ele você pode determinar a ordem de suas declarações css; | |
| 4. DevDocs - Ótimo para estudos! Se você está codando e não se lembra ou tem alguma dúvida para que serve determinada tag seja ela de qual linguagem for, selecione a tag - botão direito nela - search DevDocs e irá abrir no navegador informações sobre a mesma; | |
| 4. Emmet - Provavelmente o mais conhecido de todos, utilizado principalmente no css mas com muita coisa boa a se util |
A documentação do PUPHPet (Vagrant + Puppet + VirtualBox) está disponível e em inglês.
| <VirtualHost *:80> | |
| ServerName 192.168.33.10.xip.io | |
| DocumentRoot /vagrant | |
| <Directory /vagrant> | |
| Options -Indexes +FollowSymLinks | |
| AllowOverride All | |
| Require all granted | |
| </Directory> |
| #!/usr/bin/env bash | |
| echo ">>> Starting Install Script" | |
| # Update | |
| sudo apt-get update | |
| echo ">>> Installing Base Items" | |
| # Install base items |
| [alias] | |
| #Basic | |
| st = status -sb | |
| co = checkout | |
| #Flow | |
| fs = flow feature start | |
| ff = flow feature finish | |
| #Infoz |
| { | |
| "name": "jfranciscos4/<nomeapp>", | |
| "description": "", | |
| "license": "", | |
| "authors": [ | |
| { | |
| "name": "José Francisco da Silva IV", | |
| "email": "" | |
| } | |
| ], |
| if (!function_exists('http_response_code')) { | |
| function http_response_code($code = NULL) { | |
| if ($code !== NULL) { | |
| switch ($code) { | |
| case 100: $text = 'Continue'; break; | |
| case 101: $text = 'Switching Protocols'; break; | |
| case 200: $text = 'OK'; break; | |
| case 201: $text = 'Created'; break; |
| #!/bin/bash | |
| # works with a file called VERSION in the current directory, | |
| # the contents of which should be a semantic version number | |
| # such as "1.2.3" | |
| # this script will display the current version, automatically | |
| # suggest a "minor" version update, and ask for input to use | |
| # the suggestion, or a newly entered value. |
| #Inslatar Xdebug | |
| sudo apt-get install xdebug | |
| #Instalar o pear | |
| sudo apt-get install php-pear | |
| sudo pear channel-discover pear.phpunit.de | |
| sudo pear channel-discover components.ez.no | |
| sudo pear channel-discover pear.symfony-project.com | |
| sudo pear channel-discover pear.cakephp.org |
| #Download Elementary OS from here: | |
| #http://sourceforge.net/projects/elementaryos/files/stable/ | |
| #First you update your system | |
| sudo apt-get update && sudo apt-get dist-upgrade | |
| #Install Google Chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |