Here's how I set up a tiny Nginx/Rails server that uses HTTPS via a Let's Encrypt issued certificate.
I use the smallest DigitalOcean droplet (512 MB) here, which is built from the "Ubuntu Ruby on Rails on 14.04" image provided by them.
Here's how I set up a tiny Nginx/Rails server that uses HTTPS via a Let's Encrypt issued certificate.
I use the smallest DigitalOcean droplet (512 MB) here, which is built from the "Ubuntu Ruby on Rails on 14.04" image provided by them.
<svg style="display:none;"> | |
<symbol id="test"> | |
<rect x="10" y="10" width="100" height="100" /> | |
<rect x="100" y="10" width="100" height="100" fill="currentColor" /> | |
</symbol> | |
</svg> | |
<svg class="icon icon--BlueBlack"><use xlink:href="#test" /> | |
<use class="icon icon--BlueGreen" xlink:href="#test" x='100' y='50'/></svg> | |
<!--<svg class="icon icon--BlueGreen"><use xlink:href="#test" /></svg>--> |
<template name="SignIn"> | |
<form action="/signin" id="signInForm" method="post"> | |
<input id="signInEmail" type="text" name="email" placeholder="Email Address"> | |
<input id="signInPassword" type="password" name="password" placeholder="Password"> | |
<input class="btn-submit" type="submit" value="Sign In"> | |
</form> | |
<!-- end #sign-in-form --> | |
</template> |
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
//configurable variables | |
boolean | |
exportMode = true; //set to true when exporting, false when designing | |
String | |
folderPrefix = "b"; | |
int | |
fps = 24, | |
outputScale = 2, //set to 2 or 4 when exporting, 1 when designing | |
windowSize = 480 * outputScale, |
# http://www.mblondel.org/journal/2010/09/19/support-vector-machines-in-python/ | |
# Mathieu Blondel, September 2010 | |
# License: BSD 3 clause | |
import numpy as np | |
from numpy import linalg | |
import cvxopt | |
import cvxopt.solvers | |
def linear_kernel(x1, x2): |
# View list of connections and their states | |
netstat -tan | grep ':80 ' | awk '{print $6}' | sort | uniq -c | |
# List all connections and timers | |
ss -rota | less |
<!-- Prompt IE6 users to install Chrome Frame --> | |
<!--[if lt IE 7 ]> | |
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script> | |
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> | |
<![endif]--> |