Find it here: https://github.com/bitemyapp/learnhaskell
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 |
; east asian ambiguous settings | |
(defun set-east-asian-ambiguous-width (width) | |
(cond ((= emacs-major-version 22) (set-east-asian-ambiguous-width-22 width)) | |
((> emacs-major-version 22) (set-east-asian-ambiguous-width-23 width)))) | |
; for emacs 22 | |
(defun set-east-asian-ambiguous-width-22 (width) | |
(if (= width 2) | |
(utf-translate-cjk-set-unicode-range |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
,elem.offsetTop
,elem.offsetWidth
,elem.offsetHeight
,elem.offsetParent
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.