This file contains hidden or 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
/* | |
* Tweaks to the default Wordpress twenty fourteen theme to make it full-width. | |
*/ | |
/* Make entries full-width instead of the default 474px wide. */ | |
.site-content .entry-header, | |
.site-content .entry-content, | |
.site-content .entry-summary, | |
.site-content .entry-meta, | |
.page-content { |
This file contains hidden or 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
# | |
# Cookbook Name:: hello_app | |
# Recipe:: db_master | |
# | |
# Copyright 2012, Jason Grimes | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
This file contains hidden or 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
# | |
# Cookbook Name:: hello_app | |
# Recipe:: webserver | |
# | |
# Copyright 2012, Jason Grimes | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
This file contains hidden or 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
Vagrant::Config.run do |config| | |
config.vm.box = "precise64" | |
config.vm.forward_port 80, 8080 | |
config.vm.customize [ | |
"modifyvm", :id, | |
"--name", "LAMP VM", | |
"--memory", "2048" | |
] |
This file contains hidden or 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
{ | |
"id": "jkg", | |
"ssh_keys": "ssh-rsa ...LoNgGobBleDyGookSshPuBl1cKey... [email protected]", | |
"groups": [ "sysadmin", "dba", "devops" ], | |
"uid": 2001, | |
"shell": "\/bin\/bash" | |
} |
This file contains hidden or 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
name "db_master" | |
description "Master database server" | |
all_env = [ | |
"role[base]", | |
"recipe[mysql::server]" | |
] | |
run_list(all_env) | |
This file contains hidden or 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
name "base" | |
description "Base role applied to all nodes." | |
run_list( | |
"recipe[users::sysadmins]", | |
"recipe[sudo]", | |
"recipe[apt]", | |
"recipe[git]", | |
"recipe[build-essential]", | |
"recipe[vim]" | |
) |
This file contains hidden or 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
name "webserver" | |
description "Web server role" | |
all_env = [ | |
"role[base]", | |
"recipe[php]", | |
"recipe[php::module_mysql]", | |
"recipe[apache2]", | |
"recipe[apache2::mod_php5]", | |
"recipe[apache2::mod_rewrite]", | |
] |
This file contains hidden or 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 | |
namespace Album\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Zend\InputFilter\InputFilter; | |
use Zend\InputFilter\Factory as InputFactory; | |
use Zend\InputFilter\InputFilterAwareInterface; | |
use Zend\InputFilter\InputFilterInterface; |
This file contains hidden or 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 | |
namespace Album; | |
use PDO; | |
return array( | |
'di' => array( | |
'instance' => array( | |
'alias' => array( | |
'album' => 'Album\Controller\AlbumController', |
NewerOlder