https://www.nngroup.com/articles/ten-usability-heuristics/
http://www.usabilitybok.org/principles-for-usable-design
https://medium.com/@nirbenita/the-10-design-heuristics-for-developers-1e70a9dc58a7
https://blog.prototypr.io/10-usability-heuristics-with-examples-4a81ada920c
https://speakerdeck.com/pybay/2016-alex-martelli-the-tower-of-abstraction
http://www.usabilitybok.org/principles-for-usable-design
https://www.slideshare.net/choult/your-api-is-a-ui
http://queue.acm.org/detail.cfm?id=1071731
https://www.reddit.com/r/Python/comments/48q804/whats_the_worst_package_youve_ever_worked_with/
http://www.aleax.it/europ11_adap.pdf
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
my_app/ | |
management/ | |
migrations/ | |
templates/ | |
templatetags/ | |
__init__.py | |
admin.py | |
apps.py | |
context_processors.py | |
exceptions.py |
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
/* Start of monkey patch to fix iOS photo orientation bug. | |
See: https://github.com/enyo/dropzone/issues/46 | |
Diff here: https://github.com/enyo/dropzone/issues/46#issuecomment-181849181 */ | |
Dropzone.prototype.createThumbnailFromUrl = function(file, imageUrl, callback, crossOrigin) { | |
var img; | |
img = document.createElement("img"); | |
if (crossOrigin) { | |
img.crossOrigin = crossOrigin; | |
} | |
img.onload = (function(_this) { |
test gist
I hereby claim:
- I am fjsj on github.
- I am fjsj (https://keybase.io/fjsj) on keybase.
- I have a public key whose fingerprint is F171 C0BF 34E3 858D 39A1 0A5B AC1C 200C F672 6AE0
To claim this, I am signing this object:
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 sys | |
from django.apps import apps | |
from django.conf import settings | |
from django.core.management.base import BaseCommand | |
from django.db import connections | |
from django.db.migrations.autodetector import MigrationAutodetector | |
from django.db.migrations.executor import MigrationExecutor | |
from django.db.migrations.state import ProjectState | |
from django.db.utils import OperationalError |
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
function query() { | |
var | |
total = 0, shown = 0, | |
// HN is done with very unsemantic classes. | |
job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')), | |
query_list = Array.prototype.slice.call(arguments); | |
// This traverses up the dom stack trying to find a match of a specific class | |
function up_to(node, klass) { | |
if (node.className === klass) { |
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
python -c 'import random; print "".join([random.SystemRandom().choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)])' |
NewerOlder