I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Building a router</title> | |
<script> | |
// Put John's template engine code here... | |
(function () { | |
// A hash to store our routes: |
Server { | |
SourceRoot = /var/www | |
} |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
#!/bin/bash | |
## Email Variables | |
EMAILDATE=`date --date="today" +%y-%m-%d` | |
EMAIL="[email protected]" | |
SUBJECT="[servername] Backup Script Started! - "$EMAILDATE | |
EMAILMESSAGE="/tmp/emailmessage1.txt" | |
echo "Just to let you know that the backup script has started."> $EMAILMESSAGE | |
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE |
#import <UIKit/UIKit.h> | |
@interface UIView (Recursion) | |
/** | |
Return YES from the block to recurse into the subview. | |
Set stop to YES to return the subview. | |
*/ | |
- (UIView*)findViewRecursively:(BOOL(^)(UIView* subview, BOOL* stop))recurse; |
guard 'sprockets', :destination => 'public', | |
:asset_paths => ['app/assets/javascripts', 'vendor/assets/javascripts'], | |
:root_file => 'app/assets/javascripts/application.js', :minify => true do | |
watch(%r{^app/assets/javascripts/(.+)\.(js|js\.coffee)}) | |
end |
namespace :assets do | |
ROOT = Pathname.new(File.dirname(__FILE__)) | |
LOGGER = Logger.new(STDOUT) | |
APP_ASSETS_DIR = ROOT.join("app/assets") | |
PUBLIC_ASSETS_DIR = ROOT.join("vendor/assets") | |
OUTPUT_DIR = ROOT.join("public") | |
desc 'Compile assets' | |
task :compile => :compile_js |
#!/usr/bin/env bash | |
# repository | |
cd /tmp | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -Uvh epel-release-6-8.noarch.rpm | |
# system update | |
yum -y update | |
yum -y groupinstall "Development Tools" | |
yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick |
ruby -e "$(curl -fsSkL https://gist.githubusercontent.com/saetia/2369908/raw/4bf9a6d36060582e69f02c314f66449971a7bb11/parse.rb)" /Users/Joel/site.db.121010.dump | |
ruby parse.rb site.120411.dump |