(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Step 1. Preparation | |
-------------------- | |
First take care of the dependencies for Android Application Development. | |
Dependencies are - | |
1. Java | |
2. ant | |
3. Eclipse and Android Development tools (IDE) | |
4. Android SDK and NDK | |
5. adb |
var CONSUMER_KEY = "<< YOUR KEY HERE >>"; | |
var CONSUMER_SECRET = "<< YOUR SECRET HERE >>"; | |
function getConsumerKey() { | |
return CONSUMER_KEY; | |
} | |
function getConsumerSecret() { | |
return CONSUMER_SECRET; | |
} |
from django.http import HttpResponseServerError | |
import json | |
import traceback | |
import sys | |
class JSONException(object): | |
''' | |
Return all exceptions as a JSON object. | |
''' |
#!/bin/bash -e | |
#======================================= | |
# | |
# :Usage: /etc/init.d/celeryd {start|stop|force-reload|restart|try-restart|status} | |
# | |
# :Configuration file: /etc/default/celeryd | |
# | |
# To configure celeryd you probably need to tell it where to chdir. | |
# | |
# EXAMPLE CONFIGURATION |
As configured in my dotfiles.
start new:
tmux
start new with session name:
""" | |
Intercept class attributes, and more aboute the discriptors. | |
Discriptors - Assign a class object to an attribute of another class. | |
""" | |
class MetaClass(type): | |
#This attribute interceptor works when we call the class attributes. | |
def __getattribute__(self,attr): | |
print 'Inside Metaclass - class of a class : ' | |
print "class: {}, attribute: {}".format(self,attr) |
* Routing tasks, and how to set up broadcast exchanges | |
* Kombu | |
* How to publish/consume messages | |
* Handling errors, and connection pools | |
* How virtual transports works and creating new transports. | |
* Monitoring and events | |
* celeryev and djcelerymon | |
* Create custom event consumer | |
* Logging (sentry, syslog, error e-mails) | |
* Debugging tasks |