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
.
/* | |
Converts well-formed HTML tables with class 'yui-line' or 'yui-pie' | |
to Flash charts, using YUI Loader and YUI charts. | |
Tables for pie charts look like: | |
+--------------------------------------------------+ | |
| | Total | | |
+-------------------------------------+------------+ | |
| Item 1 | 16 | |
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
PID_DIR = '/srv/myapp/shared/pids' | |
RAILS_ENV = ENV['RAILS_ENV'] = 'production' | |
RAILS_ROOT = ENV['RAILS_ROOT'] = '/srv/myapp/current' | |
BIN_PATH = "/home/rails/.rvm/gems/ree-1.8.7-2010.02/bin" | |
God.log_file = "#{RAILS_ROOT}/log/god.log" | |
God.log_level = :info | |
%w(unicorn resque).each do |config| | |
God.load "#{RAILS_ROOT}/config/god/#{config}.god" |
<?php | |
/* | |
Copyright (c) 2009 Dimas Begunoff, http://www.farinspace.com/ | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, |
desc "copy dot files for deployment" | |
task :copydot do | |
exclusions = [".", "..", ".DS_Store"] | |
Dir["#{source_dir}/**/.*"].each do |file| | |
if (!File.directory?(file) && !exclusions.include?(file)) | |
cp(file, file.gsub(/#{source_dir}/, "#{public_dir}")); | |
end | |
end | |
end |
import urlparse | |
import oauth2 as oauth | |
consumer_key = '' | |
consumer_secret = '' | |
request_token_url = 'http://www.tumblr.com/oauth/request_token' | |
access_token_url = 'http://www.tumblr.com/oauth/access_token' | |
authorize_url = 'http://www.tumblr.com/oauth/authorize' |
#!/bin/bash | |
# Assuming that Diaspora is deployed to $HOME/diaspora/master | |
HOME_FOLDER="/home/diaspora" | |
cd $HOME_FOLDER/diaspora/master | |
source "${HOME_FOLDER}/.rvm/environments/ruby-1.9.3-p0@diaspora" | |
rvm use "ruby-1.9.3-p0@diaspora" | |
# RUBY GC HEAP |
NOTE: You can check, if your config here:
http://www.sslshopper.com/ssl-checker.html
Decrypt the private key using the password you entered when you created your key:
openssl rsa -in ssl.key -out /etc/nginx/conf/ssl.key
Protect your key from prying eyes:
chmod 600 /etc/nginx/conf/ssl.key
interface br0 { | |
AdvSendAdvert on; | |
prefix 2001:55c:[WAN IP in hex form ####.####]::/64 | |
{ | |
AdvOnLink on; | |
AdvAutonomous on; | |
}; | |
}; |