Category Archives: Featured Web

Featured Web

Twitter DIY – How to Set Up Your Twitter Social Media Marketing!

clicks

Recently, I have been twittering a LOT (spending like 10 hours a day), and learned couple tricks that can help you set up your Twitter social media marketing.

I am no social media “guru” like some people on Twitter represent themselves but I think I know whole lot more than most of these social media experts as “social media” used to be once called “social networks”.

I remember when people started using the term “social media” when Twitter came to the masses about a year ago, kinda offended that anyone could become a “socia

Click Here to Read Full Article

Leave a comment

TwitList Launched! – User Recommended Twitter Lists!

Well, finally I launched a new website.  This one is called TwitList, actually the domain is TwitLi.st to be exact.

TwitLi.st is a site for Twitter users who want to recommend their Twitter Lists to others.  For example, I have a good blogger list, I can recommend it to TwitLi.st.

What does it do?

Basically, it’s a Twitter list recommendation engine.  Whoever’s list gets most recommended, will show up higher under the categ

Click Here to Read Full Article

Leave a comment

WordPress DIY – How to Manage Your WordPress Blog on Your Nexus One!

As a recent buyer of a Nexus One phone, Matt and the WordPress team just released WordPress app for Android, which comes to be at the perfect time as I hap

Click Here to Read Full Article

Leave a comment

PHP Hack – How to Run Background Processes!

Sometimes in web programming, you might need to run (or fork as they say) processes in the background so the web user doesn’t see all of the processing time plus it can potentially “freeze” the webpage on long data processing features of the site.

For that, you can always fork more processes.

The usual line I use is: exec ("/usr/bin/php proc.php >/dev/null 2<&1");

The problem I incurred with above line was that processes were forked except there was still some delay that the visitors saw.

To fix the issue so there’s absolutely no

Click Here to Read Full Article

1 Comment

Javascript Hack – How to Hide/Show Div Elements!

I’ve been doing a lot of PHP/Javascript/AJAX programming for a new Twitter site and I have to say, there’s a REALLY easy way to hide and show your entire div elements without doing much with Javascript but using the document.getElementById(‘whateveridhere’).removeAttribute(‘id’);.

Whatever you want to hide, (for example a questionnaire that you want to show on the top of the webpage if user clicks a button), you can easily do so by putting ALL your code under a <div> element with “display:none” tag.

So, here’s an exam

Click Here to Read Full Article

Leave a comment

Mobile Browser Hack – Android, WebKit and Javascript/AJAX Trim() Functions!

Here’s a quick note on mobile browsers like Android, WebKit. Based on my testing, it seems that string trim() function is not supported.

I was trying to do something like:

if(mystring.trim()==”0″) etc…etc…

That won’t work in mobile browsers for some reason but you can do something like it using match instead: if(mystring.match(/0/)) etc…etc…

I don’t know exactly why trim() isn’t supported fully on mobile browsers but for those of you who have problems with your website that works on desktop browsers but

Click Here to Read Full Article

Leave a comment

Twitter API DIY – How to Get Started with Twitter API and PHP!

Over the last whole week, I’ve been super busy developing my new Twitter app site, I think it will be HUGE and a very useful site for Twitters.

Along the way, my coding for Twitter API has improved and I wanted to share you all the details on the resources I used.  I wrote the “Complete HOWTO Guide to Twitter API and PHP/AJAX” over at my TweetHacking blog so check it out for those of you trying your debut at a new Twitter site.

Click Here to Read Full Article

Leave a comment

Linux Hack – How to Install DNS Cache!

Yesterday, I was doing some researching on a new Twitter app site I was making.  Since I was going to be dealing with a heap of data, I needed to make sure the web server was optimized as much as it can.  One of the way to optimize your web server (or even your Linux desktop), is to install “DNS Cache”.

DNS Cache basically caches your DNS queries so if you try to access the same domain name again later, it’s retrieved from the cache in less than 1ms instead of taking another 20 to 500ms. (This depends but usually, it takes anywhere between 20 to 500ms for a DNS fe

Click Here to Read Full Article

1 Comment

DIY Web-Powered Robot!

http://hackedgadgets.com/wp-content/uploads/2010/01/io_bridge_web-robot-500x405.jpg

Thinking of building a DIY web-powered robot that you can control through your browser or smartphone?  You might want to check out ioBridge ethernet control modules and this DIY web-powered robot made using them.

The robot uses a pair of serial bluetooth adapters to form a wireless link with the ioBridge IO-204. The serial levels of the IO-204 are TTL and a circuit u

Click Here to Read Full Article

Leave a comment

Twitter API DIY – How to Use Twitter API in PHP/JSON!

Lately, I have been building a new Twitter site and it has been literally taking ALL of my time (and thus less blog posts) but let me give you TWO great sites that can help you get a head-start on making your own Twitter site too.

First, you will need to learn that Twitter API basically relies on RESTful HTTP protocol.  Don’t worry about the funky name, it’s actually rather simple.  You send a message to Twitter API and then you get a message back.

Now, there’s two ways to receive data back, one of XML and the other is JSON.  JSON is supposedly better for

Click Here to Read Full Article

1 Comment