Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| $("[data-provide='select2']").each(function () { | |
| var $element = $(this); | |
| $element.select2({ | |
| placeholder: $element.data("placeholder"), | |
| minimumInputLength: 0, | |
| allowClear: true, | |
| initSelection: function (element, callback) { | |
| callback({ | |
| id: $(element).val(), |
| #!/usr/bin/python | |
| #search evernote notes keywords in title | |
| import sqlite3 | |
| def main(endbfile, keywords): | |
| conn = sqlite3.connect(endbfile) | |
| cursor = conn.cursor() | |
| sql = """SELECT title, date_created, date_updated, source_url, uid |