Description: Symfony expert,magento expert, Laravel expert, Abdullah Bin Salam, ZCE, Zend Certified Engineer, PHP, MySQL, jQuery, Javascript, Python, Django, Angularjs, Software Engineer, Unit Testing, Linux Geek, Tech Support Blogger, Bootstrapper, Technology Consultant,Serial CODER... more
php (15759) mysql (4294) jquery (3414) oracle (1349) magento expert (5) zend certified engineer (3) zce (2) codeigniter expert (1) zend framework expert (1) abdullah bin salam (1)
Playing with PHP and Python
watchdog is a python package uses to notify linux kernel subsystem to watch for any changes to the filesystem. This is very handy package Lets create a watcher using watchdog and save information to DB when any event occur. 1. Firstly I will write watcher class which look like import time import psycopg2 from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class Watcher: DIRECTORY_TO_WATCH =...
Directives are most important components in angularjs application. Although Angularjs ships wide range of directives. But sometimes you will need to create your custom directives. So, Lets started a very important directive ‘Date-Range-Selector’ directives. we will use bootstrap daterangepicker, momentjs So, lets start custom directives angular.module(‘app’). .directive(‘dateRange’, function() { return {...