<?php echo $this->getUrl('mypage'); ?><?php echo $this->getSkinUrl('images/button.gif'); ?>| server { | |
| listen 80; | |
| root /vagrant; | |
| index index.php index.html index.htm; | |
| server_name veinte.dev; | |
| location / { | |
| try_files $uri /index.php; |
| #!/usr/bin/env bash | |
| #Config | |
| NAME="app" | |
| USER="asaelx" | |
| MYSQL_PASSWORD="secret" | |
| echo "=====Configuring Virtual Machine..." | |
| echo "=====Getting last updates..." |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "ubuntu/trusty32" | |
| config.vm.network "private_network", ip: "192.168.33.10" | |
| config.vm.provision "shell", path: "setup.sh" |
| server { | |
| listen 80; | |
| server_name domain.com www.domain.com; | |
| root /var/www/domain.com; | |
| location / { | |
| index index.html index.php; | |
| ## If missing pass the URI to Magento's front handler | |
| try_files $uri $uri/ @handler; |
| # Convert an animated video to gif | |
| # Works best for videos with low color palettes like Dribbble shots | |
| # | |
| # @param $1 - video file name like `animation.mov` | |
| # @param @optional $2 - resize parameter as widthxheight like `400x300` | |
| # | |
| # Example: vidtogif animation.mov 400x300 | |
| # Requirements: ffmpeg and gifsicle. Can be downloaded via homebrew | |
| # | |
| # http://chrismessina.me/b/13913393/mov-to-gif |
| #!/usr/bin/env bash | |
| # # # # # # # # # # | |
| # Developer Stuff # | |
| # # # # # # # # # # | |
| # Install Homebrew | |
| echo "Installing Homebrew..." | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| //- For use with https://github.com/CREEATION/laravel-elixir-jade | |
| mixin blade() | |
| ='\r\n' | |
| block | |
| ='\r\n' | |
| mixin phpblock() | |
| !='\r\n<?php ' |
| /* Reset */ | |
| *, *:before, *:after | |
| margin: 0 | |
| padding: 0 | |
| outline: 0 | |
| box-sizing: border-box | |
| html, | |
| body | |
| height: 100% |
| $columns: 12 | |
| $gutter: 0 | |
| $max-width: 100% | |
| =breakpoint($size) | |
| @media only screen and ($size) | |
| @content | |
| *, *:after, *:before | |
| margin: 0 |