- created an ECG GitHub account. The idea is to have all open source ECG software projects in this organizational account. If you know anyone within the ECG movement who would like to participate, please let him contact Nikolay.
- refactored and improved the quick test: http://ecogood.github.io/ecg-quicktest-app/#/
- New features: you can navigate between the questions and see at the same time a progress bar.
- New modular and decoupled software architecture
- Added automated tests for the whole quick test.
- Found an incorrect calculation in the 1.2 PDF version: the maximum points are not 126 but 128. Concretely, for a company 128 and for self-employed 122 points.
- It would be very productive, if the creators of the future quick tests communicate test cases with the software developers, because the develo
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
'use strict'; | |
module.exports = function (grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
var base = 'static'; | |
// Project configuration. |
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
headers = {'Content-type': 'application/json', 'Accept-Charset': 'UTF-8', 'Accept': 'application/json'} | |
result = requests.post(URL, data=json.dumps(payload), headers=headers, auth=(USER, PASS)) |
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
/* Modernizr 2.6.3 (Custom Build) | MIT & BSD | |
* Build: http://modernizr.com/download/#-geolocation | |
*/ | |
;window.Modernizr=function(a,b,c){function t(a){i.cssText=a}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function v(a,b){return typeof a===b}function w(a,b){return!!~(""+a).indexOf(b)}function x(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:v(f,"function")?f.bind(d||b):f}return!1}var d="2.6.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={},m={},n={},o=[],p=o.slice,q,r={}.hasOwnProperty,s;!v(r,"undefined")&&!v(r.call,"undefined")?s=function(a,b){return r.call(a,b)}:s=function(a,b){return b in a&&v(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=p.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(p.call(arguments)));return Object(g)===g?g:f}retur |
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
{% load url from future %} | |
{% block content %} | |
<p>You are logged in as {{ user.username }}!</p> | |
{% endblock %} |
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
# -*- coding: utf-8 -*- | |
from django.db import models | |
from django.utils.translation import ugettext_lazy as _ | |
class YourModel(models.Model): | |
CATEGORY_CHOICES = ( | |
('id1', _('Your Text 1')), |
Create bootstrap contact form in Django. Uses cmsplugin-contact and django-widget-tweaks.
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
{% load endless %} | |
{% get_pages %} | |
<div class="pagination-previous-next"> | |
<span class="pagination-previous-next__previous">{{ pages.previous }}</span> | |
<span class="pagination-previous-next__next">{{ pages.next }}</span> | |
</div> |
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
# -*- coding: utf-8 -*- | |
from django.contrib import admin | |
from django.contrib.auth.admin import UserAdmin | |
from django.contrib.auth.models import User | |
from django.db import models | |
from .models import UserProfile |