Skip to content

Instantly share code, notes, and snippets.

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active April 20, 2025 23:00
A badass list of frontend development resources I collected over time.
@techniq
techniq / select2_ajax.js
Created January 23, 2013 16:24
Select2 ajax example with custom query call to append data to the request. Note: Providing ajax settings is not needed (and not used) when query is provided. Left here as a full example.
$("[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(),
@bamanzi
bamanzi / evernote-search.py
Created November 21, 2012 06:03
search evernote notes by keywords in title
#!/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