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.
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() | |
.*.swp | |
*.html | |
*.pyc |
if [[ "$PWD" == "$PROJECT_HOME"* ]]; then | |
for project in "$WORKON_HOME/"*/; do | |
if [[ "$(cat $project/.project)" == "$PWD" ]]; then | |
source "$project"bin/activate | |
break | |
fi | |
done | |
fi |
I've recently thought about rewriting libearth in another language. I am considering C#. Why not Python? Why C#?
import contextlib | |
import distutils.spawn | |
import functools | |
import re | |
import signal | |
import subprocess | |
from pytest import fixture, skip | |
<?php | |
class XmlBuilder { | |
function __call($tag, array $contents) { | |
$content = ''; | |
foreach ($contents as $c) { | |
if ($c instanceof XmlBuilder_Element) { | |
$content .= $c; | |
} else if (is_array($c)) { | |
$attrs = array_merge($array, $c); |