Skip to content

Instantly share code, notes, and snippets.

View zewa666's full-sized avatar

Vildan Softic zewa666

View GitHub Profile
@zewa666
zewa666 / app.html
Last active March 16, 2022 06:37 — forked from mar9000/app.html
Aurelia Store gist
<template>
<h1>Frameworks</h1>
<ul>
<li repeat.for="framework of state.frameworks">${framework}</li>
</ul>
</template>
@zewa666
zewa666 / pysample.py
Last active September 26, 2019 05:49
samples
def test_check_credentials(self):
driver = self.get_driver()
username = (By.CSS_SELECTOR, "#username")
password = (By.CSS_SELECTOR, "#password")
login = (By.CSS_SELECTOR, "[class=\'fa fa-2x fa-sign-in\']")
result_message = (By.CSS_SELECTOR, "#flash")
wait = WebDriverWait(driver, 10)
@zewa666
zewa666 / app.html
Created August 3, 2018 05:35 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@zewa666
zewa666 / readme.md
Last active December 19, 2017 07:13 — forked from davismj/readme.md

aurelia-store

CircleCI

Aurelia single state store based on RxJS

THIS IS WORK IN PROGRESS, DO NOT USE YET FOR PRODUCTION

Install

Install the npm dependency via

@zewa666
zewa666 / app.html
Created December 17, 2017 13:45 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@zewa666
zewa666 / app.js
Created December 28, 2016 07:10
Running Aurelia-CLI with Node ExpressJS
'use strict';
// simple express server
var express = require('express');
var path = require('path');
var app = express();
var router = express.Router();
app.use("/scripts", express.static(path.join(__dirname, 'scripts')));
app.get('/', function(req, res) {
@zewa666
zewa666 / App.js
Last active August 29, 2015 14:18
import {Router} from 'aurelia-router';
import bootstrap from 'bootstrap';
import {EventAggregator} from 'aurelia-event-aggregator';
export class App {
static inject() { return [ Router, EventAggregator ];}
constructor(router, ea) {
this.router = router;
this.isLoggedIn = false;
@zewa666
zewa666 / view
Created July 28, 2014 12:37
Durandal/Knockout TreeView
<style>
.treeList { list-style: none; }
</style>
<div>Hello</div>
<ul class="treeList" data-bind="template: { name: 'itemTmpl', foreach: hierarchy }"></ul>
<script id="itemTmpl" type="text/html">