Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # NOTE: This code was extracted from a larger class and has not been | |
| # tested in this form. Caveat emptor. | |
| import django.conf | |
| import django.contrib.auth | |
| import django.core.handlers.wsgi | |
| import django.db | |
| import django.utils.importlib | |
| import httplib | |
| import json | |
| import logging |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture0-v3-logistics.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture1-v2-introduction.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture2-interactive-start.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture3-linux-ssjs-v2.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture4a-linux-command-line.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture4b-developer-environment.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture5-market-wireframing-design.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture6-html-css-js.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture7-deployment-dns-custom-domains.pdf | |
| https://d396qusza40orc.cloudfront.net/startup/lecture_slides%2Flecture8-mobile-v2.pdf |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| id | name | population | |
|---|---|---|---|
| 21217 | Taylor County | 24512 | |
| 21121 | Knox County | 31883 | |
| 21071 | Floyd County | 39451 | |
| 21125 | Laurel County | 58849 | |
| 21035 | Calloway County | 37191 | |
| 21107 | Hopkins County | 46920 | |
| 21005 | Anderson County | 21421 | |
| 21097 | Harrison County | 18846 | |
| 21103 | Henry County | 15416 |
| 21217 | Taylor County | 24512 | |
|---|---|---|---|
| 21121 | Knox County | 31883 | |
| 21071 | Floyd County | 39451 | |
| 21125 | Laurel County | 58849 | |
| 21035 | Calloway County | 37191 | |
| 21107 | Hopkins County | 46920 | |
| 21005 | Anderson County | 21421 | |
| 21097 | Harrison County | 18846 | |
| 21103 | Henry County | 15416 |
| 21217 | Taylor County | 24512 | |
|---|---|---|---|
| 21121 | Knox County | 31883 | |
| 21071 | Floyd County | 39451 | |
| 21125 | Laurel County | 58849 | |
| 21035 | Calloway County | 37191 | |
| 21107 | Hopkins County | 46920 | |
| 21005 | Anderson County | 21421 | |
| 21097 | Harrison County | 18846 | |
| 21103 | Henry County | 15416 |
| def customized(default=None, template=None): | |
| def decorator(method): | |
| @functools.wraps(method) | |
| def wrapper(self, *args, **kargs): | |
| self.template = default | |
| if self.current_user: | |
| self.template = template | |
| return method(self, *args, **kargs) | |
| return wrapper | |
| return decorator |
| mysql> select a.* | |
| from acciones a | |
| inner join ( | |
| select symbol, max(price) as high | |
| from acciones | |
| group by symbol | |
| ) b on a.price = b.high and a.symbol = b.symbol; | |
| +------------+------------+----------+------------+ | |
| | symbol | price | volume | date | | |
| +------------+------------+----------+------------+ |
| mysql> select * from acciones where symbol = 'VAPORES' and date > '2010-05-31'; | |
| +---------+----------+----------+------------+ | |
| | symbol | price | volume | date | | |
| +---------+----------+----------+------------+ | |
| | VAPORES | 461.4900 | 1456466 | 2010-06-01 | | |
| | VAPORES | 469.5200 | 2751787 | 2010-06-02 | | |
| | VAPORES | 473.7700 | 2242733 | 2010-06-03 | | |
| | VAPORES | 469.9500 | 1761573 | 2010-06-04 | | |
| | VAPORES | 470.3400 | 2037112 | 2010-06-07 | |