All entries of my technical and business blog.

chaining methods in PHP

I rarely find myself needing to chain methods in PHP - but its not an altogether bad idea. The only caveat that is necessary is that your code must be written in such a way that a method can fail, but other methods can still continue. For example, you couldn’t have one method return false… that would break the chain. You also couldn’t have a method depending on the actions of the previous method to... (more…)

Email to SMS/TXT address list

The website http://www.emailtextmessages.com/ keeps a database of most of the email addresses that correlate directly to a txt for mobile phones. However, their version is in HTML - and I see no feed. I’ve compiled the list into a CSV file so that its easier to use in programming. Do visit their website and click on an ad to support their hard work. (more…)

Photoshop Touchup

So I tried my very first photoshop touch up of a girl I found online. Turns out she was used for a photoshop tutorial about the same concept. I used my own process however. (more…)

Unknown function _popupControl()

In my Javascript Error Handler post, I discussed how I track user and client side errors. Recently, my error logs became inundated with tons of javascript errors. The function _popupControl() is undefined. After a little googling, I found out that the CA Personal Firewall is responsible for inserting the following code into every page: (more…)

Javascript error handler

A while ago, I saw a website that provided a javascript error reporting service. You implemented some code and then they would send you reports on javascript errors on your site. I thought, this can’t be that hard. So I went to work to create my own. (It’s now used on this website as well as some political website I’ve worked on recently.) (more…)

⬅ Newer | Older ➡
Page 40 of 57
or use RSS