#Node.js https & Express (SSL) Server
A simple https server using node.js (v0.10.0):
var https = require("https");
var fs = require("fs");
var options = {
key: fs.readFileSync('privatekey.pem'),| {% load humanize %} | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.5/jquery.bxslider.css" media="all"> | |
| <style> | |
| body { | |
| font-family: Helvetica, Arial, sans-serif; | |
| } | |
| .widget-title { |
| 'use strict' | |
| var React = require('react'); | |
| /** | |
| * Backbone React Component | |
| * | |
| * Override getBackboneState to tell the mixin | |
| * HOW to transform Backbone props into JSON state | |
| * |
| // Center vertical | |
| .center-vertical { | |
| position: relative; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| } | |
| // Center horizontal | |
| .center-horizontal { | |
| position: relative; |
| /* | |
| * Ghost Blog: Next & Previous Posts Workaround | |
| */ | |
| // Step 1: Insert at end of default.hbs. Requires jQuery. | |
| $(function(){ | |
| var NextPrevLinksModule = function(){ | |
| var curr, | |
| $prevLink, | |
| $nextLink; |
| # PATH | |
| export PATH=$PATH:usr/local/mysql/bin | |
| # export PATH=/Users/justinyek/.local/bin:$PATH | |
| # RVM | |
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
| # Z | |
| . /usr/bin/z.sh |
#Node.js https & Express (SSL) Server
A simple https server using node.js (v0.10.0):
var https = require("https");
var fs = require("fs");
var options = {
key: fs.readFileSync('privatekey.pem'),| anx | |
| bitfinex |
| user www-data; | |
| worker_processes 4; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 768; | |
| # multi_accept on; | |
| } | |
| http { |
| http://expressjs-book.com/forums/topic/express-js-sessions-a-detailed-tutorial/ |
| <a href="http://www.agchou.com" target="_blank">Aaron Chou</a> | |
| <a href="http://latifs.github.io" target="_blank">Abdelatif Sebbane</a> | |
| <a href="http://ardeibert.com" target="_blank">Adam Deibert</a> | |
| <a href="http://www.addisonlee.io/" target="_blank">Addison Lee</a> | |
| <a href="http://about.me/adriankim/" target="_blank">Adrian Kim</a> | |
| <a href="http://0ptima.com/" target="_blank">Alejandro Sanchez</a> | |
| <a href="http://www.lexjacobs.com" target="_blank">Alex Jacobs</a> | |
| <a href="http://athompson.io" target="_blank">Allegra Thompson</a> | |
| <a href="http://ariabennett.meteor.com" target="_blank">Aria Bennett</a> | |
| <a href="http://charlesthehuman.com" target="_blank">Charles Tai</a> |