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
| <!-- MIT License | |
| Copyright (c) 2016 Derrick Rono | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
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
| //needs jquery and jquery-ui | |
| // auto complete | |
| $( "#autocomplete-cities" ).autocomplete({ | |
| source: function(request, response) { | |
| //console.info(request, 'request'); | |
| //console.info(response, 'response'); | |
| $.ajax({ | |
| //q: request.term, |
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
| ionViewLoaded() { | |
| let loader = this.loading.create({ | |
| content: 'Getting latest entries...', | |
| }); | |
| loader.present().then(() => { | |
| this.someService.getLatestEntries() | |
| .subscribe(res => { | |
| this.latestEntries = res; | |
| }); |
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 uuid | |
| import wtforms_json | |
| from sqlalchemy import not_ | |
| from sqlalchemy.dialects.postgresql import UUID | |
| from wtforms import Form | |
| from wtforms.fields import FormField, FieldList | |
| from wtforms.validators import Length | |
| from flask import current_app as app | |
| from flask import request, json, jsonify, abort |
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
| /** | |
| * | |
| * Simple jQuery Script to parse credit card data | |
| * that was collected via a USB Magnetic Stripe | |
| * Credit Card Reader. | |
| * | |
| * To get this to work, focus your cursor (either | |
| * programmatically or via a click, it's your choice) on an input field #credit-card-number | |
| * and then with the card reader plugged in, swipe | |
| * the card and it will take over from there |
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'; | |
| // Generated on 2014-04-14 using generator-leaflet 0.0.14 | |
| var gulp = require('gulp'); | |
| var open = require('open'); | |
| var wiredep = require('wiredep').stream; | |
| // Load plugins | |
| var $ = require('gulp-load-plugins')(); |
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
| /* | |
| ████████╗██╗ ██╗███████╗███╗ ███╗███████╗███████╗ | |
| ╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝██╔════╝ | |
| ██║ ███████║█████╗ ██╔████╔██║█████╗ ███████╗ | |
| ██║ ██╔══██║██╔══╝ ██║╚██╔╝██║██╔══╝ ╚════██║ | |
| ██║ ██║ ██║███████╗██║ ╚═╝ ██║███████╗███████║ | |
| ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ | |
| */ |