Crop your images with CSS!

Instead of tracking down your language’s fancy image libraries, you can crop images very quickly with css. Simply use negative absolute positioning! HTML: CSS: If you don’t know the size of the image beforehand, you can use some javascript to compute the height and width:

Setting up iOS Push Notifications (APNS) with Python/Django through pyapns

Working with iOS for the first time can be a bit frustrating. For me, the most frustrating part was working with developer.apple.com. Here I hope to help make push notifications with Python as painless as possible. Step 1: Enable for Apple Push Notification service and generate a certificate To get started, log in to you developer […]