Paypal alternative in India: Oxigen wallet

Oxigen Wallet

Every freelancer in the world live with a Paypal account. For them it’s a mean to pay their bills.

Still 4.4% deduction charge was never a great experience. Especially when I am doing Indian transactions. This is hard earned money and it’s difficult to come by.

I see Oxigen Wallet as a game changer for freelancer/SME’s in Indian payment services. With an easy payment method, where every mobile number becomes a merchant account.

The service works pretty simple. Anyone can register themselves using their mobile number, after a simple verification SMS you’re ready to send/receive money along with using OxigenWallet as an alternate payment mechanism.

Paypal alternative in India

Let’s assume you’ve just completed a nice logo design or Web app for which you need to receive payments. Just ask your client to send money on your mobile number via oxigenwallet.com. They can use their Credit/Debit cards to send payments via OxigenWallet. As soon as you get the money on your mobile number, you can transfer money instantly (via IMPS) in your bank account. All in the matter of minutes.

And it’s getting supported by BookMyShow and other service providers soon. No more multiple step-transactions to book that movie, or pay that bill.

Go install it via Android Play Store. As @NikhilChawla mentioned Oxigen team is looking for feedback and perfect the service for consumers.

Filters in Yii

Yii FiltersFilter is a piece of code that is configured to be executed before and/or after a controller action executes. For example, an access control filter may be executed to ensure that the user is authenticated before executing the requested action; a performance filter may be used to measure the time spent executing the action.
An action can have multiple filters. The filters are executed in the order that they appear in the filter list. A filter can prevent the execution of the action and the rest of the unexecuted filters.
There are two types of filter

Continue reading

How to read files in PHP

There are many options are available when it comes to file processing with PHP. Each option has its own importance. We will discuss some of the functions related to file processing, such as fopen, fclose, feof, file, file_get_contents etc. We will also discuss, when we should use which function, because it always depends on the goal of parsing the file.

Continue reading

Codeigniter Linkedin library

Linkedin is a much ignored API with a lot of potential. I was always looking for a good implementation of Codeigniter Linkedin library but never found one, with the help of Linkedin PHP library (Please someone point out to correct source). I have created a basic implementation of Linkedin library on Linkedin, documentation and more functions are in roadmap. Do check out at https://github.com/gauravtechie/Codeigniter-linkedin .

Pinterest API

Everyone’s waiting to see a launch of Pinterest API. Pinterest had a working API which they took down for some unclaimed reasons. Some users have managed to take a cached version of Pinterest API docs online and can be found at http://tijn.bo.lt/pinterest-api .

You are not able to use the oAuth calls from these API docs, but you can successfully read data via these API docs, even for that you need to send correct headers to emulate calls such that they are coming from Pinterest iPhone app.

Correct headers are:-


Host: api.pinterest.com
User-Agent: Pinterest For iPhone / 1.4.3
Accept-Encoding: gzip
Connection: keep-alive
Proxy-Connection:...

There are news going around that Pinterest is scared of having a problem like twitter, where spammers used API very intelligently to bombard twitter with a lot of crap data. Twitter still having a hard time to tackle these spam accounts big time http://articles.businessinsider.com/2012-03-26/tech/31238519_1_mobile-apps-twitterrific-hootsuite . We hope that these fears don’t put Pinterest people off track of developing a full fledged API.

Want more of updated development. Join Pinterest unofficial API developer Group here on facebook https://www.facebook.com/groups/pinterestapi/

Update:
One implementation of Pinterest API at Github. Still to test it though by me. https://github.com/kellan/pinterest.api.php

&nbsp

How to make svn ignore file and folders on update and commit

When we work on Production and Development environment separately on subversion, many times we need to keep a file outside of the SVN versioning. Usually conf files come under this category.

A simple method of this is to navigate to the repositry and simply issue command so that svn ignore file in that folder.

 

svn propset svn:ignore -F filename .

Don’t forget to include the last “.” it tells the svn client to set this property in the current folder you are working on.

For exluding multiple files of the same

Revert files to older svn version

A lot of times developers do one or other mistakes and you need to revert the files to older version. Which basically mean that you need to merge backwards with a older version of files. So let’s say if you want to go back from version 100 to 99, you’ve to


svn update
svn merge -r 100:99 .
svn commit -m "Rolling back to version 99"

Notice the . at end of svn merge command, this tells that current directory needs to be merged if you need a particular file to be merged you need to issue


svn merge -r 100:99 conf.php
svn commit -m "Rolling back conf.php to version 99"

Hope this helps someone.

Restricting folders for svn access

While working with several developers at the same time, you really need a method to make sure that each team doesn’t mess up with someone else module. Splitting directories of each user is a nice idea when your developers are not that diciplined or when you are running multiple sites of same repository.

I faced a similar problem when i wanted to restrict access to 2 of my developers from editing anything above directories i allocated. For this

Go to your conf directory this would be located inside your main configuration directory.

#cd conf

Fire up your favorite editor, mine is nano

#nano authz

And put a access control to directory

[/repo/project/folder]
usera = rw
userb = r

Say if you have multiple repositry in svn server, restrict access to a particular repositry by

[repo1:/repo/project/folder]
usera = rw
userb = r

I think this should help.