http://stackoverflow.com/q/14327676/130638
- Install express into your project
npm install --save express
http://stackoverflow.com/q/14327676/130638
npm install --save express
/*jslint browser: true, regexp: true */ | |
/*global casper, require */ | |
var LOGIN_URL, LOGIN_USERNAME, LOGIN_PASSWORD, casp; | |
casp = require('casper').create({ | |
viewportSize: { | |
width: 1024, | |
height: 768 | |
}, |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>STL File Viewer</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js" | |
></script> | |
<script src="https://rawgit.com/mrdoob/three.js/master/examples/js/controls/TrackballControls.js" | |
></script> | |
<script src="loader.js"></script> |
# Motion export script | |
rad2deg = 180/3.14159265 | |
import bpy | |
import math | |
from math import sqrt | |
sce = bpy.context.scene | |
saveFile = open("/Users/h/Documents/BlenderPlayback.csv","w") |
// get Data from a URI and then run whatever function we want using that data
function getData(dataURI, thingToRun) {
var myData = getSomeData();
thingToRun(myData);
}
// the function we're passing as a callback
[user] | |
name = Eddie Naff | |
email = eddienaff@gmail.com | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
There are two main modes to run the Let's Encrypt client (called Certbot
):
Webroot is better because it doesn't need to replace Nginx (to bind to port 80).
In the following, we're setting up mydomain.com
.
HTML is served from /var/www/mydomain
, and challenges are served from /var/www/letsencrypt
.