I hereby claim:
- I am lig on github.
- I am lig (https://keybase.io/lig) on keybase.
- I have a public key whose fingerprint is 1F69 B222 54B1 020E 376E A124 7975 FCE7 7887 3B13
To claim this, I am signing this object:
| PS1="« \[\e[1;32m\]\u@\h \[\e[1;34m\]\w\[\e[0m\] »\n\[\e[0;37m\]$\[\e[0m\] " |
| from django.http.response import (Http404, HttpResponseNotModified, | |
| CompatibleStreamingHttpResponse) | |
| from django.utils.http import http_date | |
| from django.views.static import was_modified_since | |
| from gridfs import GridFS | |
| from mongoengine.connection import get_db | |
| from bson.objectid import ObjectId | |
| def file(request, collection_name, grid_id): |
| vertical layout > flex layout > flex autoscrolly |
| [core] | |
| editor = joe | |
| [color] | |
| ui = auto | |
| [push] | |
| default = simple | |
| [pull] | |
| rebase = true | |
| [rerere] | |
| enabled = true |
| Python 3.4.2 (default, Jul 9 2015, 17:24:30) | |
| [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> class A: | |
| ... def __init__(self): | |
| ... self.__foo = 'bar' | |
| ... | |
| >>> class B(A): | |
| ... def foo(self): | |
| ... print(self._A__foo) |
| <!doctype html> | |
| <html lang="en" ng-app="plannerApp"> | |
| <head> | |
| <title>IT talk - DataArt - Voronezh - Trip Planner</title> | |
| <link rel="stylesheet" | |
| href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
| <link rel="stylesheet" | |
| href="https://rawgit.com/kuhnza/angular-google-places-autocomplete/master/dist/autocomplete.min.css"> |
| $ python3 stdouterr.py | |
| stdout | |
| stderr | |
| $ python3 stdouterr.py 2>&1 >/dev/null | |
| stderr | |
| $ python3 stdouterr.py &>/dev/null | |
| $ python3 stdouterr.py >/dev/null 2>&1 | |
| $ python3 stdouterr.py >/dev/null | |
| stderr |
| In [1]: foo = {} | |
| In [2]: f'r u a hacker or wat? {foo.update(a=1)} {locals().update(b="ham")}' | |
| Out[2]: 'r u a hacker or wat? None None' | |
| In [3]: foo | |
| Out[3]: {'a': 1} | |
| In [4]: b | |
| Out[4]: 'ham' |
| art | structure,format | |
|---|---|---|
| zap | performance,optimization | |
| fire | burn,remove,discard | |
| bug | bug,fix | |
| ambulance | critical,hotfix | |
| sparkles | new,feature | |
| memo | memo,docs,readme,note | |
| rocket | deploy,ship | |
| lipstick | ui,style | |
| tada | initial,first,init |
I hereby claim:
To claim this, I am signing this object: