Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 81
  1. Connected Insight

    A SAAS platform for a financial transformation consultancy with Fortune 500 clients.

  2. 'Route variable' pattern with Ember

    There are a couple of different libraries for Ember that add the ability to set the page title for each page in your application by simply creating a `title` property on each route.

  3. A simple pagination component with Ember

    Ember's ethos of 'components everywhere' makes it really quick and easy to make reuseable widgets.

  4. Making a draggable Ember component

    HTML5 makes it really easy to create elements that can be both dragged and dropped.

  5. Using off-the-shelf parts with a Raspberry Pi, you can make a remote controlled power switch to turn appliances on/off.

  6. Making USB Push Buttons

    Using a microcontroller/USB HID you can easily create physical push buttons for your project that, when pressed, will appear as key strokes in your application.

  7. Adding labels to Ember Leaflet markers

    This post shows you how to create a custom marker component that integrates the Leaflet.label add-on to get nice pop-up labels on your ember-leaflet maps.

  8. As of Django 1.9, there are a number of new permission mixins you can use with your views to make access control easier.

  9. Feral

    An irreverent web design and development agency I ran with my friend Sterling for over 10 years.

  10. Pubs With A Fire

    An app I built to find your nearest cosy pub with a fireplace.

  11. Fastmail recently updated their SSL certificate, breaking my offlineimap email backups.

  12. Save yourself writing the same queries time and time again by creating a simple model manager with common queries for your generic foreign keys

  13. When you are using phpMyadmin on MAMP or MAMP Pro out of the box, you might run into trouble trying to import large databases due to PHP's default upload and timeout settings.

  14. This post outlines a simple Django app that allows the user to upload an image via an URL while making sure the image file is valid.

  15. One of my most popular Stackoverflow answers is to a question regarding the confusion between static and media files in Django.

  16. In a previous post I outlined a sane folder structure for a new Django project.

  17. A very nice and clean way to deploy a Jekyll (or any other static generated site) is to setup a very small application on your sites webserver to listen for post commit hooks from Bitbucket.

  18. I was recently getting this error while trying to deploy a new project to production.

  19. Sorl-thumbnail has a sensible crop function in the default engine, but sometimes you need a little more control over the results.

  20. It's very easy to generate URLs to your django models using get_absolute_url(), but you can also use this pattern to just as easily create URLs to the admin page for your django models too.

  21. If you update `request.POST` or `request.GET` in a view (or else where), any subsequent calls to `request.REQUEST` will still return values from the old, outdated `GET` and `POST` dictionaries.

  22. When using GenericRelations with Django to create unique generic foreign keys between objects, it can become tiresome having to navigate the RelatedManager every time you need to retrieve the single instance of the one-to-one relationship.

  23. Filtering on annotations in Django

    Django's annotate method can be useful for counting particular attributes on every member of a queryset (i.e. count the number of books an author has).

  24. Fandjango is a great application for getting a Facebook Canvas application up and running.

  25. When beginning with Django I always found it difficult to decide on basic project layouts.

  26. Using a virtualenv with CodeRunner.app

    I'm a big fan of using Virtualenv (and virtualenvwrapper) where possible.

  27. At times you need to use both sorl.thumbnail and easy_thumbnails in the same template.

  28. Django's select_related QuerySet method is a great way to reduce the query count when joining tables but it should come with small print in the documentation.

  29. If you are checking your settings.py into Git, make sure you aren't including any potentially sensitive information such as database passwords, secret keys and so on.

  30. When the generated URLs of your objects depends on a field in your model that could potentially change (for example a slug field that is generated from a title which your editor just changed), you can get yourself into trouble with Google as your old URL…

  31. Django CMS Urls not reversing properly

    I encountered a strange problem when making use of a custom AppHook with [django-cms](https://www.django-cms.org/en/).