This is meant as a more detailed guide to setting up SmartOS as a VirtualBox VM. This is the original guide:
https://wiki.smartos.org/display/DOC/SmartOS+as+a+Sandboxed+VirtualBox+Guest
Download and install:
| - Tune /etc/ssh/sshd_config | |
| UseDNS no # Disable DNS lookups | |
| GSSAPIAuthentication no # Disable negotation of slow GSSAPI | |
| don't forget to restart it, use a script provider to set it , or create it with veewee or snapshot it | |
| - Tune Vagrantfile | |
| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] |
| var gulp = require('gulp'); | |
| var browserify = require('browserify'); | |
| var notify = require('gulp-notify'); | |
| var source = require('vinyl-source-stream'); | |
| var watchify = require('watchify'); | |
| var plumber = require('gulp-plumber'); | |
| var less = require('gulp-less'); | |
| var csso = require('gulp-csso'); | |
| var watch = require('gulp-watch'); | |
| var envify = require('envify'); |
| var AppConstants = require('../constants/AppConstants.js'); | |
| var AppDispatcher = require('../dispatchers/AppDispatcher.js'); | |
| var api = require('../utils/api'); | |
| var ActionTypes = AppConstants.ActionTypes; | |
| module.exports = { | |
| create_customer: function(data){ | |
| api.customer.create(data); | |
| } |
| #!/usr/bin/env bash | |
| # Fix network routing issues caused by Cisco AnyConnect VPN when using | |
| # VirtualBox and boot2docker on Mac OS X. | |
| # | |
| # Environment: | |
| # Mac OS X 10.9.5 | |
| # VirtualBox 4.3.20 | |
| # Cisco AnyConnect 3.1.04074 | |
| # boot2docker v1.4.1 (Git commit: 43241cb) |
This is meant as a more detailed guide to setting up SmartOS as a VirtualBox VM. This is the original guide:
https://wiki.smartos.org/display/DOC/SmartOS+as+a+Sandboxed+VirtualBox+Guest
Download and install:
A little while ago I started using Typescript with the Angular 1.5 app I'm working on, to help ease the migration path to Angular 2. Here's how I did it. We'll go example by example through migrating real world code living in a large, mostly non-Typescript codebase.
Let's start with a few of the basic angular building blocks, then we'll go through some of the higher level patterns we derived.