adicione o codigo abaixo dentro do teu ~/.bash_profile
function novohost() {
if [[ "$1" ]]
then
sudo bash -c 'echo -e "192.168.10.10\t'$1'\n" >> /etc/hosts'
echo $1" direcionado para 192.168.10.10 (vagrant homestead)"
Chrome, Firefox | |
Dash | |
Skype | |
OmniDiskSweeper | |
SmartGit | |
PhotoShop | |
GitBook | |
Eudb | |
github | |
ClientMyMac |
To install packages from this channel, just add it to Package Control. Enable the command palette and type 'Add Repository'. Then paste the following URL: https://gist.githubusercontent.com/fnando/56393d3900af55bf9e94/raw/repositories.json
//SearchController.php | |
public function autocomplete(){ | |
$term = Input::get('term'); | |
$results = array(); | |
$queries = DB::table('users') | |
->where('first_name', 'LIKE', '%'.$term.'%') | |
->orWhere('last_name', 'LIKE', '%'.$term.'%') | |
->take(5)->get(); |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# ... | |
config.vm.provision 'shell', inline: <<-SCRIPT | |
curl -s -L -O https://github.com/brodock/apt-select/releases/download/0.1.0/apt-select_0.1.0-0_all.deb && sudo dpkg -i apt-select_0.1.0-0_all.deb | |
apt-select && sudo apt-select-update | |
SCRIPT | |
#... | |
end |