This file contains hidden or 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
<template> | |
<input type="file" accept="image/*" multiple files.bind="images"/> | |
</template> |
This file contains hidden or 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 {ObserverLocator, inject} from 'aurelia-framework'; | |
/** | |
* Helper class to observe multiple properties at once | |
*/ | |
@inject(ObserverLocator) | |
export class MultiObserver { | |
/** | |
* Get injected observer |
This file contains hidden or 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
var gulp = require('gulp'); | |
var bundler = require('aurelia-bundler'); | |
var vinylPaths = require('vinyl-paths'); | |
var replace = require('gulp-replace'); | |
var runSequence = require('run-sequence'); | |
var del = require('del'); | |
var paths = require('../paths'); | |
var config = { | |
force: true, |
This file contains hidden or 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
<?php | |
namespace greatshot\system\validation\validator; | |
use Phalcon\Validation; | |
use Phalcon\Validation\Message; | |
use Phalcon\Validation\Validator; | |
use Phalcon\Validation\ValidatorInterface; | |
/** | |
* This class aims to apply a validator to a list of values | |
* |
This file contains hidden or 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
// ********************************************************************************** | |
// Driver definition for HopeRF RFM69W/RFM69HW/RFM69CW/RFM69HCW, Semtech SX1231/1231H | |
// ********************************************************************************** | |
// Copyright Felix Rusu (2014), [email protected] | |
// http://lowpowerlab.com/ | |
// ********************************************************************************** | |
// License | |
// ********************************************************************************** | |
// This program is free software; you can redistribute it | |
// and/or modify it under the terms of the GNU General |
This file contains hidden or 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
// ********************************************************************************** | |
// Driver definition for HopeRF RFM69W/RFM69HW/RFM69CW/RFM69HCW, Semtech SX1231/1231H | |
// ********************************************************************************** | |
// Copyright Felix Rusu (2014), [email protected] | |
// http://lowpowerlab.com/ | |
// ********************************************************************************** | |
// License | |
// ********************************************************************************** | |
// This program is free software; you can redistribute it | |
// and/or modify it under the terms of the GNU General |
This file contains hidden or 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
// ********************************************************************************** | |
// Driver definition for HopeRF RFM69W/RFM69HW/RFM69CW/RFM69HCW, Semtech SX1231/1231H | |
// ********************************************************************************** | |
// Copyright Felix Rusu (2014), [email protected] | |
// http://lowpowerlab.com/ | |
// ********************************************************************************** | |
// License | |
// ********************************************************************************** | |
// This program is free software; you can redistribute it | |
// and/or modify it under the terms of the GNU General |
This file contains hidden or 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
// ********************************************************************************** | |
// Registers used in driver definition for HopeRF RFM69W/RFM69HW, Semtech SX1231/1231H | |
// ********************************************************************************** | |
// Copyright Felix Rusu (2015), [email protected] | |
// http://lowpowerlab.com/ | |
// ********************************************************************************** | |
// License | |
// ********************************************************************************** | |
// This program is free software; you can redistribute it | |
// and/or modify it under the terms of the GNU General |
This file contains hidden or 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
export class CharCode { | |
static KEYS = { | |
'219': 223, // ß | |
'186': 246, // ö | |
'222': 228, // ä | |
'188': 44, // , | |
'190': 46, // . | |
'189': 45, // - | |
'187': 43, // + |
This file contains hidden or 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
================== | |
Aurelia | |
================== | |
Aurelia is a next generation UI framework based on newest ECMAScript 6/7 specs. | |
With these framework you can create SPA (single page applications) which are highly maintainable, testable and extensible. | |
It follows the convention over configuration paradigm but provides the ability to customize everything to your needs. | |
Existing experience | |
------------------- | |
Because of the convention over configuration paradigm the learning curve is really good and you write less and cleaner code. |
OlderNewer