Source: http://feynmanliang.com/mathjax-integration/
Append the contents of file attached in the gist to core/server/views/default.hbs
(before the `
Source: http://feynmanliang.com/mathjax-integration/
Append the contents of file attached in the gist to core/server/views/default.hbs
(before the `
var Interval = require('interval-arithmetic') | |
var nextafter = require('nextafter') | |
var a = Interval(3, nextafter(5, -Infinity)) | |
var b = Interval(4, 6) | |
console.log(Interval.intersection(a, b)) | |
console.log(Interval.union(a, b)) | |
console.log(Interval.difference(a, b)) | |
console.log(Interval.difference(b, a)) |
t3 is a template to build three.js demos without dealing with the common set up process, this project is inspired by Jeromme’s three.js boilerplate
Website: http://maurizzzio.github.io/t3/docs/ github repo: https://github.com/maurizzzio/ twitter: https://twitter.com/iMauricio
var Remarkable = require('remarkable') | |
var md = new Remarkable() | |
console.log( | |
md.parse('# generator-babel\n\ | |
[![NPM version][npm-image]][npm-url]\n\ | |
[![Build Status][travis-image]][travis-url]\n\ | |
[![Dependency Status][depstat-image]][depstat-url]\n\ | |
> [Yeoman][yo] generator to setup [Babel][babel] effortlessly. ', {}) | |
) |
made with esnextbin
#include<iostream> | |
#include "project/Vector.hpp" | |
using namespace std; | |
int main () { | |
Vector a(1,2), b(2, 1); | |
a = a + b; | |
a.print(); |
#ifndef PROJECT_VECTOR_ | |
#define PROJECT_VECTOR_ | |
#include <string> | |
class Vector { | |
double x,y; | |
public: | |
Vector(); | |
Vector(double,double); |
#include <iostream> | |
#include "project/Vector.hpp" | |
Vector::Vector() { | |
x = y = 0.0; | |
} | |
Vector::Vector(double a, double b) { | |
x = a; |
made with esnextbin