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.
| #!/usr/bin/env ruby | |
| unless ARGV[0] | |
| puts 'Usage: newpost "the post title"' | |
| exit(-1) | |
| end | |
| date_prefix = Time.now.strftime("%Y-%m-%d") | |
| postname = ARGV[0].strip.downcase.gsub(/ /, '-') | |
| post = "/Users/al3x/src/al3x.github.com/_posts/#{date_prefix}-#{postname}.textile" |
| #!/usr/bin/ruby | |
| unless ARGV[0] | |
| puts 'Usage: np "the post title"' | |
| exit(-1) | |
| end | |
| title = ARGV.join ' ' | |
| date_prefix = Time.now.strftime("%Y-%m-%d") | |
| postname = title.strip.downcase.gsub(/ /, '-') |
| #!/bin/sh | |
| # | |
| # a simple way to parse shell script arguments | |
| # | |
| # please edit and use to your hearts content | |
| # | |
| ENVIRONMENT="dev" |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@d3/build-your-own-graph |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@mbostock/random-tree |
| %!TEX TS-program = xelatex | |
| \documentclass[12pt]{scrartcl} | |
| % The declaration of the document class: | |
| % The second line here, i.e. | |
| % \documentclass[12pt]{scrartcl} | |
| % is a standard LaTeX document class declaration: | |
| % we say what kind of document we are making in curly brackets, | |
| % and specify any options in square brackets. |
| <!DOCTYPE html> | |
| <head> | |
| <title>Stay Standalone</title> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
| <script src="stay_standalone.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href="http://google.com/">Remote Link (Google)</a></li> |
| license: gpl-3.0 |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@d3/modifying-a-force-directed-graph |