Multiple Celery Beat on Same Machine

It can sound as Captain Obvious advice, but if you will find your self in situation when you need to run multiple celery beats on same machine you just need to setup different brokers for each beat and it's workers. If you are using redis as broker you could just …

read more

Old webkit not respecting overflow:hidden with border radius

Dirty fix for this bug - https://code.google.com/p/chromium/issues/detail?id=71639

.wrapper {
  border-radius: 999px;
  border: 1px solid #434a62;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(circle, white, black);
}
.child {
    background-color: #f00;
}

Express Subdomains Support

Sometimes you just need to host user generated content on their own subdomains. For now express doesn't have a built in support, so here is a simple way to add subdomain support to express.js via simple middleware class (method below true for express v3)

At first you will need …

read more