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
<html><head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Gabe's Portfolio</title> | |
<link href="Main.css" rel="stylesheet" type="text/css"> | |
<meta charset="utf-8"> | |
<title>Untitled Document</title> | |
<link rel="stylesheet" type="text/css" href="Shadowbox/shadowbox-3.0.3/shadowbox.css"> |
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 : | |
Vagrant.configure("2") do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "precise32" |
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
<div class="car-block"> | |
<img src="/images/cars/Corolla.jpg" alt="Toyota Corolla" height="192" border="0" width="256"> | |
<div class="car-details"> | |
<div class="car-title">Toyota Corolla</div> | |
<div class="car-seating">Seats 5</div> | |
</div> | |
</div> |
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 | |
/** | |
* @package Jtouch for Joomla 1.5 | |
* @copyright Copyright (C) 2011 - 2012 MobileMeWs.com. All rights reserved. | |
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. | |
* @license GNU/GPL, see LICENSE.php | |
* Joomla! is free software. This version may have been modified pursuant | |
* to the GNU General Public License, and as distributed it includes or | |
* is derivative of works licensed under the GNU General Public License or | |
* other free or open source software licenses. |
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
ansible-playbook ~/Development/playbooks/apt-drupal8.yml -u vagrant -s -k |
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
NOTE: version numbers are at the time of this writing | |
1. Download and install Virtualbox (4.2.16) | |
2. Download and install Vagrant (1.2.3) | |
3. Check ruby and rubygems versions | |
4. Install berkshelf gem | |
gem install berkshelf --version '>= 1.4.0' --no-ri --no-rdoc | |
5. Install berkshelf vagrant plugin | |
vagrant plugin install vagrant-berkshelf --plugin-version '1.2.0' | |
6. Add vagrant basebox provided in Crifkin Training package (precise64_chef11.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
#!/bin/sh | |
siteResponse=`curl -s -I $1 | grep HTTP/1.1 | awk {'print $2'}` | |
if [ $siteResponse = 200 ]; then | |
echo "Looks like your site responded with a" $siteResponse "and is fine, be happy!" | |
else | |
echo "rut ro! Looks like your site responded with a" $siteResponse "and that's not right, go fix it!" | |
case $siteResponse in | |
301 ) |
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
/* video button/link styles */ | |
div.field-name-field-video-link a, | |
a.video-button-new { display: inline-block; position: relative; } | |
div.field-name-field-video-link a div.video-button-overlay, | |
a.video-button-new div.video-button-overlay { | |
background-image: url('../images/play.png'); | |
width: 93px; | |
height: 91px; | |
background-repeat: no-repeat; | |
position: absolute; |
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
<Location /server-status> | |
SetHandler server-status | |
Order deny,allow | |
Deny from all | |
## Allow from localhost | |
# Allow from 131.216.134.76 | |
Allow from all | |
</Location> |