Skip to content

Instantly share code, notes, and snippets.

@istrau2
istrau2 / keybase.md
Last active September 9, 2019 19:58
Keybase Proof

Keybase proof

I hereby claim:

  • I am istrau2 on github.
  • I am istrau2 (https://keybase.io/istrau2) on keybase.
  • I have a public key ASBr8vrvw-f3tgdD3WzU_03Seei7KCdIpc1k-1ipYqpCCwo

To claim this, I am signing this object:

@istrau2
istrau2 / app.html
Last active August 30, 2017 21:28 — forked from niieani/app.html
Asyc Aurelia Bindings
<template>
<!-- Simple usage: -->
<h1>message: ${message1}</h1>
<!-- With a placeholder: -->
<h1>message: ${message1 || '...'}</h1>
<!-- With an unresolved return: -->
<h1>message: ${message2}</h1>
</template>
@istrau2
istrau2 / app.html
Created February 9, 2017 19:06 — forked from funky-jojo/app.html
Aurelia Gist
<template>
<require from="./toggle-badge"></require>
<toggle-badge text="North Carolina" checked.bind="inboundLanes"></toggle-badge>
<toggle-badge text="South Carolina" checked.bind="inboundLanes"></toggle-badge>
<div>Selected Lanes:</div>
<div repeat.for="lane of inboundLanes">${lane}</div>
<hr/>
<label><input type="checkbox" model.bind="'North Carolina'" checked.bind="outboundLanes">North Carolina</label>
@istrau2
istrau2 / app.html
Created February 9, 2017 19:06 — forked from funky-jojo/app.html
Aurelia Gist
<template>
<require from="./toggle-badge"></require>
<toggle-badge text="North Carolina" checked.bind="inboundLanes"></toggle-badge>
<toggle-badge text="South Carolina" checked.bind="inboundLanes"></toggle-badge>
<div>Selected Lanes:</div>
<div repeat.for="lane of inboundLanes">${lane}</div>
<hr/>
<label><input type="checkbox" model.bind="'North Carolina'" checked.bind="outboundLanes">North Carolina</label>
@istrau2
istrau2 / app.html
Last active January 20, 2017 13:07
BTC_XRP poloniex comparison
<template>
<require from="./relation-row"></require>
<table>
<thead>
<tr>
<th>
Underlying Pair
</th>
<th>
Correlated Pair
@istrau2
istrau2 / AccountController.js
Created October 11, 2016 14:37
Using aurelia DI in a nodejs application.
//You need to enable babel-plugin-transform-decorators-legacy in order to use @inject decorator
const {inject, Container} = require('aurelia-dependency-injection');
const BaseController = require('../bases/BaseController');
@inject(Container)
class AccountContactController extends BaseController {
constructor(container) {
super('AccountContact', container);