19 Jan, 17

My patch adding Vimeo support to vue-video-player has been merged into master (https://github.com/surmon-china/vue-video-player), update to v2.5.0 #vue #javascript

18 Jan, 17

Note on installing Comodo Positive SSL on Nginx

Usualy, Comodo sends you an archive containing two files: example.crt and example.ca-bundle. In order to install your certificate on Nginx, you need to concatenate these two files at first:

  1. cat example.crt example.ca-bundle >> example.ssl-bundle.crt

Now, in Nginx config, link ssl_certificate property to resulting example ...

Read now
18 Jan, 17

Override Field Widget Attributes in a Django Form or How To Add Placeholder Attribute to Django Form Input

Let's say we have a contact form and we want to add placeholders to this form inputs so our rendered form has these cool input labels. How do we do that?

My form is a child of ContactForm class provided by the django_contact_form module (https://github.com/ubernostrum/django-contact-form). The ...

Read now
18 Jan, 17

Set Required and Optional Address Inputs for Address Field in Drupal 8

This one is dedicated to all my fellow Drupalers. There’s no better exercise for a brain than reading ancient chinese poetry taming Drupal 8. When I’m bored, I turn to Drupal!

Recently I got my Drupal 8 Address module updated and it turned out that from now on street address ...

Read now
17 Jan, 17

Top 10 #Python libraries of 2016 https://tryolabs.com/blog/2016/12/20/top-10-python-libraries-of-2016/

17 Jan, 17

🌐 Do you like to cheat and react? This basic #reactjs cheatsheet may be helpful: https://ihatetomatoes.net/wp-content/uploads/2017/01/react-cheat-sheet.pdf https://ihatetomatoes.net/wp-content/uploads/2017/01/react-cheat-sheet.pdf

17 Jan, 17

In case you didn't know, there’s #Wagtail CMS (🐧) admin styleguide available: http://timonweb.com/posts/theres-wagtail-cms-admin-styleguide-available/ #django

17 Jan, 17

🐍 django_managepy_anywhere package on PyPI: https://pypi.python.org/pypi/django_managepy_anywhere/ - it lets to run #django manage.py commands from any dir of your project

12 Jan, 17

There's Wagtail CMS Admin Styleguide Available

In case you didn't know and always been wondering about the next wagtail admin icon class, there's Wagtail CMS admin styleguide which comes with core packages. To enable it just update your INSTALLED_APPS config:

  2. ...
  3. 'wagtail.contrib.wagtailstyleguide',
  4. ...
  5. ]

And you're ready to access the guide ...

Read now
25 Oct, 16

Add reCaptcha to your Drupal 7 forms programatically

If you want to add Google's reCaptcha (https://www.google.com/recaptcha/intro/index.html) to your Drupal 7 forms programmatically you need to follow these two steps:

1) Install and enable captcha (https://www.drupal.org/project/captcha) and recaptcha (https://www.drupal.org/project/recaptcha) modules. The best ...

Read now