This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Joi from 'joi'; | |
import Events from '../events'; | |
const route = { | |
handler: ({params: {props}}, reply) => { | |
let parsedData; | |
try { | |
parsedData = JSON.parse(decodeURIComponent(props)); | |
} catch (err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Observable, Subscription } from 'rxjs' | |
import { | |
Request, | |
Response, | |
Next | |
} from 'restify' | |
export interface RequestContext { | |
req: Request, | |
res: Response, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this to your VSCode snippets | |
"import": { | |
"prefix": "imm", | |
"description": "ES module import", | |
"body": [ | |
"import ${2:scope} from '${1:moduleName}'", | |
"${3}" | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm i -g lana-cli | |
# or | |
$ yarn global add lana-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
var a = 'foo'; | |
function foo() { | |
console.log(a); | |
var a = 'bar'; | |
console.log(a); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", | |
"*.tga", | |
"*.dds", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App = -> | |
$debug = $ '#debug' | |
log = (t)-> $debug.html t | |
W = 400 | |
H = 300 | |
VIEW_ANGLE = 45 | |
ASPECT = W / H | |
NEAR = .1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |