Go to your public_html directory.
cd ~/public_html
Download WordPress.
wget http://wordpress.org/latest.tar.gz
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.1"></script> | |
<style type="text/css"> | |
body { | |
background: #000; | |
} |
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
cd /tmp | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz | |
tar -xvzf ruby-1.9.3-p286.tar.gz | |
cd ruby-1.9.3-p286/ | |
./configure --prefix=/usr/local | |
make | |
make install |
diff --git a/.gitignore b/.gitignore | |
index eb3489a..a6c2a9c 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,15 +1,77 @@ | |
+#---------------------------------------------------------------------------- | |
+# Ignore these files when commiting to a git repository. | |
+# | |
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# |
Go to your public_html directory.
cd ~/public_html
Download WordPress.
wget http://wordpress.org/latest.tar.gz
First things first, you want to make sure that all of your iptables chains are set to ACCEPT
, otherwise, you might lock yourself out of the system by blocking the SSH port.
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
Next, you can flush your chains to start from scratch.
// Run this in the JavaScript console to remove the SOPA message. | |
// | |
// Also, slap yourself for waiting 'til the last minute to finish the report. | |
// | |
// I mean, come on. | |
// | |
// Seriously. | |
$('div#mw-sopaOverlay').remove(); | |
$('body').children().show(); |
# Required: | |
access_key_id: | |
secret_access_key: | |
bucket_name: | |
# Optional: | |
server: s3.amazonaws.com | |
port: 80 | |
use_ssl: false | |
persistent: false |
# See http://ruby-doc.org/stdlib-1.9.2/libdoc/digest/rdoc/Digest/Class.html#method-c-digest | |
# See http://ruby-doc.org/stdlib-1.9.2/libdoc/openssl/rdoc/OpenSSL/Cipher.html | |
# See http://ruby.about.com/od/rubyfeatures/a/argv.htm | |
require 'openssl' | |
# Use this section to encrypt a file | |
input_file = 'abc.txt' | |
output_file = 'abc.encrypted' |
# Option 1: | |
# Use content to separate the helper from the spec | |
it "should have something" do | |
content = helper.some_helper_method | |
content.should have_tag('a', :text => 'foo') | |
end | |
# Option 2: | |
# Combine helper call and spec |