This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Person | |
{ | |
protected $hairColor; | |
protected $eyeColor; | |
public function run() | |
{ | |
echo 'running'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "lucid64-lamp" | |
onfig.vm.box_url = "https://dl.dropbox.com/u/14741389/vagrantboxes/lucid64-lamp.box" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.is-rotating { | |
-webkit-animation:spin 1s linear infinite; | |
-moz-animation:spin 1s linear infinite; | |
animation:spin 1s linear infinite; | |
} | |
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } | |
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } | |
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "gbarbieru/xenial" | |
config.vm.box_url = "https://atlas.hashicorp.com/gbarbieru/boxes/xenial" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "--- Updating packages list ---" | |
sudo apt-get update | |
echo "--- PHP & Apache ---" | |
sudo apt-get install -y vim curl php7.0 apache2 libapache2-mod-php7.0 php7.0-curl php7.0-gd php7.0-mcrypt php7.0-pgsql php7.0-mbstring git-core |