All posts by Linux Fan

How to properly license a WordPress theme?

I’ve built a WordPress theme on an existing theme designed specifically for creating themes (like a framework but not as extensive). And after several hours of coding and testing I’m kind of wanting to sell it. However it seems to me that the original theme is GPL licensed. So I’m wondering if it is legal for me to sell it and keep it under the GPL license or not? (If not I’ll just give it away as a freebie to promote my website.)

What are the open source tools available to check C code?

I have bulk of C code and I am currently told to audit the code.
For example:
1. check the un initialized variables
2. called ‘malloc’ but not called ‘free’ to free that memory space
3. security vulnerabilities
4. common programming mistakes etc….

I might not listed all possible things here,
but helper please keep similar points that will help to audit the C code
and suggest me good open source tool.

Also they can suggest me some links describing what are to be checked while auditing the code.

Is there a 'Buy me a Beer' button for wordpress.com blogs?

I want to add the ‘buy me a beer’ button to my wordpress.com blog but it is only available for wordpress.org blogs, and I do not want a wordpress.org blog. Is there an html code for the buy me a beer button? If not, is there a donation button for Facebook (not a paypal button, because my account is personal)
I found a button code but it displays my merchant ID. Is my Paypal Merchant ID like a password and extremely sensitive?