Problems I've spent much time to solve:
- Web servers. More exactly, API servers that communicate through HTTP.
- Choosing the right status codes for the situations.
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<!-- <title>Words</title> --> | |
<title>글</title> | |
<style type="text/css"> | |
body { font-size:18px; } | |
.wrapper { max-width: 600px; margin:0 auto; } | |
</style> |
from wand.color import Color | |
from wand.display import display | |
from wand.image import Image | |
with Image(filename='/Users/dahlia/Downloads/CS1255030-02A-BIG.jpg') as i: | |
with Image(background=Color('#00000099'), width=i.width, height=i.height) as black_60: | |
i.composite_channel('all_channels', black_60, 'darken', 0, 0) | |
display(i) |
from wand.color import Color | |
from wand.image import Image | |
with Image(filename='tests/assets/trimtest.png') as png: | |
with Image(width=png.width, | |
height=png.height, | |
background=Color('white')) as jpeg: | |
jpeg.composite(png, 0, 0) | |
jpeg.save(filename='result.jpg') |
.*.swp |
I hereby claim:
To claim this, I am signing this object:
*.pyc | |
.*.swp | |
.env |
import emails.utils | |
from ..compat import string_type | |
from ..feed import Entry, Feed, Person, Text | |
from .base import parser | |
parse_rss = parser() | |
#!/usr/bin/env python3 | |
from __future__ import print_function | |
import pprint | |
import sys | |
import urllib.parse | |
import urllib.request | |
from sphinx.ext.intersphinx import read_inventory_v1, read_inventory_v2 |