Skip to content

Instantly share code, notes, and snippets.

Vildan Softic zewa666

Block or report user

Report or block zewa666

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pysample.py
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
Last active Oct 3, 2018 — forked from mar9000/app.html
Aurelia Store gist
View app.html
<template>
<h1>Frameworks</h1>
<ul>
<li repeat.for="framework of state.frameworks">${framework}</li>
</ul>
</template>
@zewa666
zewa666 / app.html
Created Aug 3, 2018 — forked from jdanyow/app.html
Aurelia Gist
View app.html
<template>
<h1>${message}</h1>
</template>
View 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 Dec 17, 2017 — forked from jdanyow/app.html
Aurelia Gist
View app.html
<template>
<h1>${message}</h1>
</template>
@zewa666
zewa666 / app.js
Created Dec 28, 2016
Running Aurelia-CLI with Node ExpressJS
View app.js
'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) {
View App.js
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 Jul 28, 2014
Durandal/Knockout TreeView
View view
<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">
You can’t perform that action at this time.