- Language (and "framework") for building web frontend applications
- Can be used in place of HTML, CSS and JavaScript
- Compiles into the above
{"help": "https://catalog.data.gov/api/3/action/help_show?name=package_search", "success": true, "result": {"count": 48, "sort": "views_recent desc", "facets": {}, "results": [{"license_title": "License not specified", "maintainer": "New Media", "relationships_as_object": [], "private": false, "maintainer_email": "[email protected]", "num_tags": 5, "id": "59694770-b6b6-4ae0-a4b9-4ae69c0be2f6", "metadata_created": "2016-07-02T10:06:26.199575", "metadata_modified": "2016-07-02T10:06:26.199575", "author": null, "author_email": null, "state": "active", "version": null, "creator_user_id": "47303a9e-1187-4290-85a3-1fc02dc49e4a", "type": "dataset", "resources": [{"cache_last_updated": null, "package_id": "59694770-b6b6-4ae0-a4b9-4ae69c0be2f6", "webstore_last_updated": null, "id": "3a8a0ad1-19e7-4153-bb2f-d70cf88aaaf8", "size": null, "state": "active", "hash": "", "description": "", "format": "CSV", "tracking_summary": {"total": 32, "recent": 1}, "last_modified": null, "url_type": null, "no_real_name": "True", |
ID | Name | OverallRating | NumberOfStudents | DropoutsCurr | DropoutsLast | AttendancePctCurr | AttendancePctPrev | MathPctCurr | MathPctPrev | SchoolType | |
---|---|---|---|---|---|---|---|---|---|---|---|
822 | Abernethy Elementary School | Outstanding | 421 | 0 | 0 | 95.5 | 95.2 | 73.0 | 88.9 | E | |
823 | Ainsworth Elementary School | Outstanding | 527 | 0 | 0 | 95.9 | 95.4 | 73.0 | 86.2 | E | |
824 | Alameda Elementary School | Outstanding | 718 | 0 | 0 | 96.0 | 95.5 | 73.0 | 89.6 | E | |
4507 | Alliance High School | In Need of Improvement | 235 | 68 | 55 | 82.1 | 80.8 | 85.1 | 27.7 | HSG | |
826 | Arleta Elementary School | Satisfactory | 405 | 0 | 0 | 94.3 | 94.2 | 71.6 | 54.7 | E | |
4162 | Arts Communication & Technology School | In Need of Improvement | 230 | 17 | 9 | 87.9 | 83.2 | 85.1 | 50.0 | HSG | |
827 | Astor Elementary School | Outstanding | 448 | 0 | 0 | 95.2 | 95.0 | 71.6 | 77.6 | E | |
828 | Atkinson Elementary School | Satisfactory | 412 | 0 | 0 | 95.3 | 94.8 | 73.0 | 62.3 | E | |
830 | Beach Elementary School | Satisfactory | 515 | 0 | 0 | 95.2 | 94.3 | 71.6 | 63.9 | E |
I keep meeting people who struggle to wrap their heads around the proper way to use Git + Github. This snippet is designed to explain Vincent Driessen's git branching model, at least as well as I understand it. Speacial thanks to Stephen Koch for being the true master here.
This tutorial is for Linux or OSX. Feel free to use Cygwin or write a fork for windows.
from json import load, JSONEncoder | |
from optparse import OptionParser | |
from re import compile | |
float_pat = compile(r'^-?\d+\.\d+(e-?\d+)?$') | |
charfloat_pat = compile(r'^[\[,\,]-?\d+\.\d+(e-?\d+)?$') | |
parser = OptionParser(usage="""%prog [options] | |
Group multiple GeoJSON files into one output file. |
{ | |
"europe": { | |
"va": "vatican city", | |
"ch": "switzerland", | |
"ad": "andorra", | |
"ee": "estonia", | |
"is": "iceland", | |
"am": "armenia", | |
"al": "albania", | |
"cz": "czech republic", |
license: gpl-3.0 |
Article by Faruk Ateş
One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.
Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the obvious example, but it's good to realize that paginat
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/