This howto is valid for Betanet on Ubuntu or Debian
You have to install some dependencies. In debian / ubuntu run:
| upstream docker-mirror-upstream { | |
| server upstream.example.com; | |
| } | |
| proxy_cache_path /var/lib/docker-mirror/cache levels=1:2 max_size=10g inactive=48h keys_zone=cache:10m; | |
| server { | |
| listen 80 default_server; | |
| listen 443 ssl default_server; |
| # RS256 | |
| # private key | |
| openssl genrsa -out rs256-4096-private.rsa 4096 | |
| # public key | |
| openssl rsa -in rs256-4096-private.rsa -pubout > rs256-4096-public.pem | |
| # ES512 | |
| # private key | |
| openssl ecparam -genkey -name secp521r1 -noout -out ecdsa-p521-private.pem | |
| # public key |
| <key>CFBundleURLTypes</key> | |
| <array> | |
| <dict> | |
| <key>CFBundleURLName</key> | |
| <string>Dat Link</string> | |
| <key>CFBundleURLSchemes</key> | |
| <array> | |
| <string>dat</string> | |
| </array> | |
| </dict> |
| import React from 'react' | |
| import assign from 'react/lib/Object.assign' | |
| import Route from 'route-parser' | |
| export default class Router extends React.Component { | |
| constructor(props) { | |
| super(props) | |
| let routes = Object.keys(this.props.routes).map((route) => { | |
| return { route : new Route(route), handler : this.props.routes[route] } | |
| }) |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
Disclaimer: This is an unofficial post by a random person from the community. I am not an official representative of io.js. Want to ask a question? open an issue on the node-forward discussions repo
| var React = require('react') | |
| var ReactAddons = require('react/addons') | |
| var ReactTestUtils = React.addons.TestUtils | |
| var reactTestQueryUtil = function (tree) { | |
| this.tree = tree | |
| } | |
| reactTestQueryUtil.prototype.class = function (cls) { | |
| this.class = cls | |
| return this |
| #include "fibs.h" | |
| long fib(int n) | |
| { | |
| if (n == 0) | |
| return 1; | |
| else if (n == 1) | |
| return 1; | |
| else | |
| return fib(n-1) + fib(n-2); |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var sass = require('gulp-sass'); | |
| var lr = require('tiny-lr'); | |
| var http = require('http'); | |
| var path = require('path'); | |
| var ecstatic = require('ecstatic'); | |
| var tlr = lr(); | |
| var livereload = function (evt, filepath) { | |
| tlr.changed({ |