How to run Celery as daemon?

Posted on Tue 20 September 2016 in Django • Tagged with django, python, celeryLeave a comment

celery smoothy

Install upstart script

celery

  1. Copy celeryd file from Celery official github repository.
  2. Add celeryd to /etc/init.d/celeryd
  3. Make it executable sudo chmod +x celeryd
  4. Make it run on startup
sudo update-rc.d celeryd defaults
sudo update-rc.d celeryd enable
  1. make it owned by root and give it the ...
Continue reading

DjangoCon Europe 2016, me, and Django Sprints

Posted on Wed 07 September 2016 in Community • Tagged with community, Django, DjangoConLeave a comment

djangocon logo

djangocon name tag

Late in 2014 I decided to shift my development stack from Microsoft .NET Framework to Django/Python stack. It's been almost 2 years now and I'm really enjoying and learning many things. I'm so happy that I've done this leap. In 2016 I had the change ...

Continue reading

PACKT publishing ebooks and videos 50% discount offer

Posted on Wed 17 February 2016 in Python • Tagged with django, python, ebooksLeave a comment

Generously PACKT publishing is offering 50% discount on Python and Django ebook and videos. PACKT has many Python ebooks and videos from novice to advanced level, it one of the most publishing company that releases books and videos for Python and Django, If you tried to Google a book for ...

Continue reading

Send Emails Asynchronously from Django

Posted on Sun 24 January 2016 in Django • Tagged with django, python, celery, emailsLeave a comment

In this article you will learn:

  1. How to send emails from Django.
  2. How to use Celery and Django-Celery-Email to send email asynchronously.

Last week I had the chance to get my hand dirty with Celery, I used it to send emails from Django project asynchronously using Django app call djnago-celery-email ...

Continue reading

My Experience with Fitbit Customer Service

Posted on Wed 06 January 2016 in Review • Tagged with reviewLeave a comment

fitbit-logo

The start

I received Fitbit Flex as my birthday gift from my wife and I joined Fitbit community since 2013, I love the device and I love the sleep tracking feature, and with this feature now I can know why I'm feeling sleepy by data.

First Issue

Less than ...

Continue reading

DotPen review

Posted on Mon 28 December 2015 in Review • Tagged with reviewLeave a comment

I bought an iPad Mini 2 to write paper-less/eletronic notes instead of having notebook and a pen always inside my pockets, I blogged about it before, but I upgraded my stylus from Moshi Stanza Duo to DotPen, and I want to share my experince with you.

My Experience

TL ...

Continue reading

Extend Django User Model and Generic Class Based View "GCBV"

Posted on Fri 18 December 2015 in Django • Tagged with Django, PythonLeave a comment

1450356512_full.png When I started to learn Django, I used to use the function based view aka FBV and in my current project I decided to learn class based view CBV, I watched one DjangoCon videos by Andrew Pinkham to make this easier on me, and if you tried or planning to ...

Continue reading

My journey from paper note to paperless note

Posted on Sun 13 December 2015 in Developer • Tagged with notes, paprelessLeave a comment

paperless note on iPad

I really love to take notes wherever and wheneve. I like to keep my notes with me, but after buying iPad mini I decide to change my note tool from paper notes to paperless notes (e-notes), but I like to hand writing my notes I want something that feels like ...

Continue reading

Solution for psycopg2 installation error with Mac OSX El Capitan

Posted on Sun 11 October 2015 in Development • Tagged with developement, macosxLeave a comment

The Issue

If you tried to install to install psycopg2 package after upgrading to Mac OSX El Capitan and got an error like this:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), 
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

pip.log

The Soltuion:

Simplly install Command-Line Tools:

sudo ...

Continue reading

CodeWars.com Can Improve Your Problem Solving Skill

Posted on Mon 05 October 2015 in Developer • Tagged with codeing, skills, problem solvingLeave a comment

Codewars logo

Recently I posted that your daily job can kill your skills, and I mentioned specifically the problem solving skill, as a software developer problem solving skill is one of the most important and key skill you need to master to be a good developer, in the post I mentioned that ...

Continue reading