Let’s just create python api to upload multiple images to server. I am going to upload image from the base64 string that is posted from the json data. I am using web.py to create the python multi image upload web service. #upload.py import web import json import base64 urls = ( ‘/uploads/’, ‘uploads’ ) class […]Read more..
Overview : Supervisor is the process control system. It’s help to keep running the process. If you we want to continuously run the job, we can configure it in supervisor. It will monitor the process. once process get complete supervisor will restart the process again, so it will run continuously. What is superviosr? Supervisor is […]Read more..
Apache solr date range queries may be confusing the person who handles it. I just listed few of the useful solr date range queries below. That all helps to fetch/search the published posts from certain time interval. 1) Today published post pub_date: [NOW/DAY TO NOW] 2) Last week published post pub_date:[NOW-7DAY/DAY TO NOW] 3) Previous […]Read more..
Nexmo is providing the SMS service. We can access the Nexmo service using RESTfull Webservice. To access the API we need to Api key and Api Secret as like many other services. All Services are Documented well here. But I came across the Inbound SMS. It was confusing. So, if anyone having the frustration with […]Read more..
Active navigation will have the different appearance to make user understand, where they are. Lets create the active menu like in below image. Active menu has bottom centre down arrow. Lets see how to using css3 :after pseudo create. HTML markup to create basic navigation menu! <ul> <li class=”current”>Home</li> <li>About</li> <li>Blog</li> <li>Contact</li> </ul> […]Read more..
Oh it’s nightmare! Linkedin share button is not showing up when I load the page content in Ajax. It’s not new to hear!. We always face this kind of issue on every social media buttons when we do fancy Ajax things with twitter, facebook, etc. But facebook and twitter is some what smart to handle. […]Read more..
Symfony2 has wonderful documentation about embedded forms. Embedded forms tutorial is created based on OneToMany relationship entities. I noticed everyone or even myself blindly followed the tutorial without considering what relationship we are using between entities. But OneToOne relationship embedded forms are easy to work. It’s anyway answered in many forums, still people getting confused. […]Read more..
Micromax 3g datacard MMX377G is released with three important operating system (Windows / Mac / Ubuntu) support. This Modem is coming with good and handy user guide. It has information about installation for all three different operating system. I like describe few picks of the Ubuntu installation from user guide. Micromax dongle is coming with […]Read more..
We have already seen, How to split string in MySQL query in my previous post. Now I like to expand this with more worth thinks by doing. Lets consider task to split the string between two characters in mysql. How to get split the tld from url below example will describe how to extract tld […]Read more..
Facebook announced the new design to home page on March 7, 2013. It is awesome look and user experience. we can learn more about the look in facebook official blog. I have seen my friends still using the old version of the facebook design even after few months since new launch. So I just post this […]Read more..