Get a VPS that offers 2 or more IP addresses.
From the WHM cPanel, find the menu item Service Configuration
, select Apache Configuration
and then click on Reserved IPs Editor
.
<?php | |
/** | |
* @Author Anonymous | |
* @link http://www.redrokk.com | |
* @Package Wordpress | |
* @SubPackage RedRokk Library | |
* @copyright Copyright (C) 2011+ Redrokk Interactive Media | |
* | |
* @version 0.1 | |
*/ |
#!/usr/bin/env python | |
# coding: utf-8 | |
from optparse import OptionParser | |
import sys | |
usage = """%prog infile [options] | |
Reads an ICO file and writes a CUR file. The ICO file should contain a single | |
image. If no outfile name is provided, the infile name is used to create an |
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
#You should do all your LAMP development in a Virtual Machine
##Here's Why:
Many of us develop on Macintoshes. There are many reasons for this, but one of them is that it's based on a Unix platform of some sort. This allows us to run common server software such as Apache, Ruby, Python and Nodejs on our Macs.
Our computers become powerful develoment machines similar to the servers our apps will eventually live on.
Sometime we start our computer only to find Apache won't start, or MySQL can't create a PID file, or we've updated to Mountain Lion and Apache needs to be reconfigured. Death!
<?php | |
if(!r::is_ajax()) notFound(); | |
header('Content-type: application/json; charset=utf-8'); | |
$data = $pages->find('blog')->children()->visible()->paginate(10); | |
$json = array(); |
$ wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--domains website.org \ | |
--no-parent \ | |
www.website.org/tutorials/html/ |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
Install jQuery 1.9.1 and Browserify-shim
npm install [email protected] --save
npm install browserify-shim --save-dev
Add the following entries in your package.json
<!doctype html> | |
<html> | |
<head> | |
<title>Scroll Test</title> | |
<style> | |
html, body { | |
overflow: hidden; | |
width: 100%; | |
height: 100%; |