- sudo apt-get install ruby1.9.1-dev
- sudo gem install nokogiri
- sudo gem install premailer
- sudo gem install getopt
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
<!DOCTYPE html> | |
<meta charset=UTF-8> | |
<title>Reverse Vertical Order</title> | |
<body> | |
<div> | |
<div class=bottom>Bottom</div> | |
<div class=top>Top</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
<!DOCTYPE html> | |
<meta charset=UTF-8> | |
<title>Reverse Vertical Order</title> | |
<body> | |
<div> | |
<div class=bottom>Bottom</div> | |
<div class=top>Top</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
<!DOCTYPE html> | |
<meta charset=UTF-8> | |
<title>Reverse Vertical Order</title> | |
<body> | |
<div> | |
<div class=bottom>Bottom</div> | |
<div class=top>Top</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
<!DOCTYPE html> | |
<meta charset=UTF-8> | |
<title>Reverse Vertical Order</title> | |
<body> | |
<div> | |
<div class=bottom>Bottom</div> | |
<div class=top>Top</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 | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* Generated with https://github.com/barryvdh/laravel-ide-helper | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
*/ | |
namespace { | |
die('Only to be used as an helper for your IDE'); | |
} |
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
$(document).ready(function(){ | |
function get_value(value) | |
{ | |
var v = new String(value.match(/[0-9.,]+/)); | |
return Number(v.replace(/[^0-9\.]+/g,"")); | |
} | |
function remove_numerics(value) | |
{ |
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 to install 4-node Openstack Icehouse with puppet master | |
# Author: Philip Cheong | |
VAGRANTFILE_API_VERSION = "2" | |
# Explicitly define all puppet module version for openstack that we want | |
$install_puppet_modules = <<SCRIPT | |
/usr/local/bin/puppet module install puppetlabs-openstack --version 4.1.0 --ignore-dependencies --modulepath '/etc/puppetlabs/puppet/modules' |