- Found from https://gist.github.com/889297
- Customised by Luke Morton
- Customized by sivy (for debian)
yum install -y git gcc gcc-c++ zlib-devel curl curl-devel openssl
wget http://nodejs.org/dist/node-v0.4.9.tar.gz
| package Crypt::RSA::Key::Private::SIvy; | |
| use strict; | |
| use warnings; | |
| use MIME::Base64::URLSafe (); | |
| use Math::BigInt; | |
| use base 'Crypt::RSA::Key::Private'; | |
| sub from_string { | |
| my ($class, $string) = @_; | 
yum install -y git gcc gcc-c++ zlib-devel curl curl-devel openssl
wget http://nodejs.org/dist/node-v0.4.9.tar.gz
| from django.contrib.sessions.backends.base import SessionBase, CreateError | |
| from django.conf import settings | |
| from django.utils.encoding import force_unicode | |
| import redis | |
| class SessionStore(SessionBase): | |
| """ Redis store for sessions""" | |
| def __init__(self, session_key=None): | |
| self.redis = redis.Redis( | 
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Archive - {{ site.title }}</title> | |
| <meta name="author" content="{{ user.display_name }}"> | |
| <meta name="description" content="{{ site.description }}"> | |
| <meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1"> | |
| <link href="/atom.xml" rel="alternate" title="{{ site.url }} feed" type="application/atom+xml"> | 
| Proposed payload object | |
| - payload | |
| - total_score: int | |
| - relevant_questions: array | |
| - style | |
| - reading_level: int (not currently returned) | |
| - sentiment: int (not currently returned) | |
| - formality: int (not currently returned) | |
| - editorial_level: int (not currently returned) | |
| - phrase | 
| Proposed payload object | |
| - payload | |
| - total_score: int | |
| - relevant_questions: array | |
| - style | |
| - reading_level: int (not currently returned) | |
| - sentiment: int (not currently returned) | |
| - formality: int (not currently returned) | |
| - editorial_level: int (not currently returned) | |
| - phrase | 
| class Foo(object): | |
| num = 1 | |
| ary = [] | |
| class Bar(Foo): | |
| pass | |
| Bar.num = 2 | |
| Bar.ary.extend([1]) |