##Web App Tools ###Server Provisioning Solutions: Vagrant
###Virtualization Solutions: VirtualBox, Docker, Parallels, VMWare
###Continuous Integration Solutions: Jenkins, Travis, Codeship
| ## Making a 32 bit version of Homestead | |
| # Clone the settler repository to a directory | |
| git clone https://github.com/laravel/settler.git Ubuntu32 | |
| # In that directory edit the file called "Vagrantfile" to use a ubuntu 32 box instead of the 64 bit one | |
| change this line: | |
| config.vm.box = "ubuntu/trusty64" |
| // Created by Max Luster (@maxluster) | |
| // Usage instructions at https://bugsnag.com/blog/responsive-typography-with-chained-media-queries | |
| // Requires SASS >= 3.3 | |
| // Enhanced by Breakpoint 2.4.x and Compass 1.0 (alpha) | |
| // For SASS 3.2.x support, use https://gist.github.com/maxluster/c9ecc6e4a6770e507c2c | |
| // Provides a simplified syntax for chaining media queries across named or numeric breakpoints | |
| @mixin responsive($properties, $default-value, $responsive-values){ | |
| // No named breakpoints by default |
| #!/usr/bin/env python | |
| import subprocess | |
| import optparse | |
| import re | |
| #Create variables out of shell commands | |
| #Note triple quotes can embed Bash | |
| #You could add another bash command here | |
| #HOLDING_SPOT="""fake_command""" |
| #! /usr/bin/env bash | |
| ### | |
| # | |
| # install_mysql.sh | |
| # | |
| # This script assumes your Vagrantfile has been configured to map the root of | |
| # your application to /vagrant and that your web root is the "public" folder | |
| # (Laravel standard). Standard and error output is sent to | |
| # /vagrant/vm_build.log during provisioning. |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |
| #!/bin/bash | |
| # grab vim plugins and write .vimrc | |
| # this will probably overwrite current vim setup | |
| # curl https://gist.githubusercontent.com/nicholasserra/4999143/raw/6e2fab00a9f39f659e3cfc39e26d997e3299eaeb/vim.sh | bash | |
| echo "Make .vim dir structure" | |
| mkdir -p ~/.vim/autoload ~/.vim/bundle; | |
| echo "Grab vim-pathogen" | |
| curl -Sso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim |