View sharedRouter.js
// usage:
// 1. import in your page/component/layout
// 2. subscribe in componentDidMount
// 3. make sure you unsubscribe in componentWillUnmount
import Router from 'next/router'
import { Observable } from 'rxjs'
console.log('route: initialising router')
export const routeChangeStart$ = Observable.create(
View import.json
// Add this to your VSCode snippets
"import": {
"prefix": "imm",
"description": "ES module import",
"body": [
"import ${2:scope} from '${1:moduleName}'",
"${3}"
]
},
View lana.sh
$ npm i -g lana-cli
# or
$ yarn global add lana-cli
View preloadGUI.cs
public class GUIScreenLoader
{
private Transform container;
private MainNavGUIConfig config; // a ScriptableObject with a list of easily editable components
// it also contains a GUI Scene reference, for more control over
// resource loading.
public GUIScreenLoader(MainNavGUIConfig config, Transform container)
{
this.config = config;
View let.js
"use strict"
var a = 'foo';
function foo() {
console.log(a);
var a = 'bar';
console.log(a);
};
View Preferences.sublime-settings
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
View jsbin.iyabax.coffee
App = ->
$debug = $ '#debug'
log = (t)-> $debug.html t
W = 400
H = 300
VIEW_ANGLE = 45
ASPECT = W / H
NEAR = .1
View err.sh
vampy_000@RAFAL /d/developer/angular-brunch-seed (master)
$ brunch w -s
06 May 14:58:15 - info: application started on http://localhost:3333/
06 May 14:58:16 - error: Compiling of 'app\styles\app.less' failed. '/vendor/bootstrap-less-themes/themes/sapling/sticky-footer.less' wasn't found.
06 May 14:58:16 - error: Compiling of 'vendor\bootstrap\less\alerts.less' failed. NameError:variable @baseBorderRadius is undefined in 'vendor\bootstrap\less\alerts.less:15:17'
06 May 14:58:16 - error: Compiling of 'vendor\bootstrap\less\accordion.less' failed. NameError:variable @baseLineHeight is undefined in 'vendor\bootstrap\less\accordion.less:8:17'
06 May 14:58:16 - error: Compiling of 'vendor\bootstrap\less\button-groups.less' failed. NameError:.ie7-inline-block is undefined in 'vendor\bootstrap\less\button-groups.less:10:2'
06 May 14:58:16 - error: Compiling of 'vendor\bootstrap\less\breadcrumbs.less' failed. NameError:variable @baseBorderRadius is undefined in 'vendor\bootstrap\less\breadcrumbs.less:11:17'
View Preferences.sublime-settings
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",