sudo apt-get install git-core build-essential ruby1.9.3 nginx
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 | |
/** | |
* CodeIgniter | |
* | |
* An open source application development framework for PHP 5.2.4 or newer | |
* | |
* NOTICE OF LICENSE | |
* | |
* Licensed under the Open Software License version 3.0 | |
* |
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
ServerName theprofitjourney.com | |
ServerAlias www.theprofitjourney.com theprofitjourney.sandigital.net | |
DocumentRoot /var/www/vhosts/sandigital.net/subdomains/theprofitjourney/html/public | |
<Directory "/var/www/vhosts/sandigital.net/subdomains/theprofitjourney/html/public"> | |
Options FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
Allow from all |
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
<style type="text/css"> | |
.colorcards img { | |
margin: 10px 10px 0 0; | |
width: 180px; | |
} | |
</style> | |
<p class="colorcards"> | |
<a href="http://jnzipper.com/New/gallery_big/ColorCard/A-E.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/A-E.jpg"></a> | |
<a href="http://jnzipper.com/New/gallery_big/ColorCard/F-J.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/F-J.jpg"></a> |
###Init
- Spawn Ubuntu instance.
- Update aptitude with
sudo apt-get update
- Install junk we want
sudo apt-get install nginx spawn-fcgi php5 php5-cli php5-common php5-suhosin php5-cgi php-pear php5-mysql htop git
- Set root password
sudo passwd root
###Setup PHP
- Change /etc/nginx/sites-available/default to:
server {
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
module Vermonster | |
module Lists | |
def lists | |
self.class::Lists | |
end | |
class Lists | |
def self.all | |
Vermonster::Client.connection # Use this anywhere you want the connection | |
end |
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
/** | |
* CSS3 Vimeo Nav | |
*/ | |
* { box-sizing: border-box } | |
body { | |
font-size: 65.25%; | |
font-family: Verdana; | |
} | |