Posts

How to fix 500 internal privoxy error

I keep getting a 500 Internal Privoxy Error when I open a particular URL. I t ried several websites that promise a fix but only want to sell me some bullshit software for $29.95 that doesn't do anything.   The actual message is as follows 500 Internal Privoxy Error Privoxy encountered an error while processing your request: Could not load template file connect-failed or one of its included components. Please contact your proxy administrator. If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It's typically the Privoxy install directory). After spending so much of time and putting lots of effort at internet, finally I fixed it. The solutions is -- Disable proxy settings and check. Press “Windows Logo” + “R” keys on the keyboard, type “inetcpl.cpl” and press “Enter”. Click the “Connections” tab, and then click “LAN settings

How can you make 10 dollars per day with google Adsense?

If you are reading my post, I think that you want to  increase your adsense income $0 to $10   per day . Most beginning bloggers might earn about one dollar a year. When you have several hundred posts and are starting to attract hundred or more visitors every day, you might see as much as ten dollars per month. But if you have a popular blog, with thousands  high ranking search engine posts , and probably at least a thousand visitors each day, it will be able to earn $10 per day with a single blog. That means it’s totally depend on your  quality traffic and search engine ranking . Once you learn how to consistently make $10 a day from the Internet you can change your goal to $20 a day and continue to increase your goal until you begin to earn a full-time income working from home. 1. How To Make $1 Per Day From Adsense: Your blog requires minimum 100 search engine visits and 250 Page views totally per day to reach one dollars daily. 2. How To Make $5 Per Day From Adsense: Your blog

Modern Business: The Secret to Success

Image
Running a successful modern business demands a number of different skills and you, as the business owner, must be ready to organize your time and be prepared to take any shift necessary because in these troubled economic times you are the most responsible figure for the success of your business. Teamwork skills are especially important, and managing the duties of every employee is something you should worry about, but the end line here is that you need to be able to quickly adapt. In this economic climate, ups and downs are a natural part of every major business, and some things can move increasingly fast, while others can require a tremendous amount of time to be fully implemented, especially new technologies that are important for your area of work. However, what are the most important aspects you need to work on? Well, there is no magical solution, but we have created a list of things you need to keep your eye on. The importance of market research Doing proper market rese

Why your business should go Social

Image
Word of mouth marketing is as old as business itself. Consumers have always relied on conversations over the back fence and around the water cooler when making a decision about the products and services they need, social media is about that conversation, it may change the fence but the idea remains. Social media marketing gets your name in the minds of your friends and your friend's friends, easier and for less cost than traditional means. Social Media marketing is about using the tools provided by social sites to build a repuation and create a buzz for you and your business, it is about establishing yourself as an expert so people will recommend you in conversations over backyard fences and in online interactions. Same Old Word-of-Mouth Marketing Social Media has changed the way people connect, discover, and share information. Here’s what you need to know:  Social media is the technology that connects people—whether it’s to share content or just to chat. Social n

create filter in controller symfony2

Sometimes you need to make changes to the Response object, after it is returned by your controller, but before it is rendered as output to the client (e.g. the browser). You may want to set some extra response headers, or " completely mess up the content " of the response. You can accomplish this by creating an event listener that listens to the kernel.response event. I give you a sample event listener which changes the Content-Type header in case the requested format is json and the browser’s accepted response format contains "text/html" in that case, at least in my experience, the browser doesn’t render the JSON string as plain text when the status code is 4xx or 5xx. So in these situations, the event listener changes the “ Content-Type ” to “ text/plain ”, to be sure you always get decent output in the browser. Put the event listener in, for example /src/Acme/DemoBundle/EventListener/ResponseListener.php : namespace Acme\DemoBundle\EventListener;

remove non ASCII characters from a String

Hi guys I had a problem with removing non-utf8 characters from string, which are not displaying properly. Characters are like this 0x97 0x61 0x6C 0x6F (hex representation). I am getting some encoded value from url. Let assume it's encoded email and value is ankitchauhan22@gmail.com When I tried to find out the length of this string as $email = somefunction($encodedStringFromUrl); $length = strlen($email); print $length; I was shocked. It's printing 37 instead of 24. Than I printed each index of this string on the string but after 24 character, nothing printed. I used trim() to remove whitespace but didn't work. Then I tried something which worked for me. This is a little snippet that will remove any non-ASCII characters from a string. $string = "ankitchauhan22@gmail.com äó"; $string = preg_replace('/[^(\x20-\x7F)]*/','', $string); Now It's printing 24.

jQuery & JavaScript PDF Viewer plugin

Image
Hi guys In this Post I'm providing best jQuery PDF viewer plugin & tutorial with examples. Due to popularity of online document viewer like Google Docs some javascript developers develop a good and useful plugins to view pdf file on online pdf viewer.Here is some good list of online pdf viewers. JavaScript PDF Reader : pdf.js It's an HTML5 experiment that explores building a faithful and efficient PDF renderer without native code assistance. Read More Demo jQuery Media Plugin The jQuery Media Plugin supports unobtrusive conversion of standard markup into rich media content. It can be used to embed virtually any media type, including Flash, Quicktime, Windows Media Player, Real Player, MP3, Silverlight, PDF and more, into a web page and is compatible with all web hosting services The plugin converts an element which holds the object, embed iframe tags neccessary to render the media content. Demo PDFObject : Embeds PDF files into HTML documents A JavaScript