Category Archives: Web

Web

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

Astronaut Tweets From Space!

Here’s astronaut who is tweeting from space.(@Astro_TJ)  Cool.  I’ve been twittering a lot too, perhaps why some blog posts are missing.  I’ve been forcing myself to blog more though so watch out for that.  🙂

Expedition 22 Flight Engineer T.J. Creamer made first use of the new system Friday, when he posted the first unassisted update to his Twitt

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

Germany Warns Against Use of Internet Explorer!

Recently, I’ve been hearing a ton of tweets on Twitter about Google’s accounts being hacked by Chinese hackers. I guess it turns out security flaws in IE has been at fault. My suggestion? Use Firefox or Google Chrome, I find these new browser are faster and better than IE.

Germany’s Federal Office for Information Security is urging people to stop using Internet Explorer because it isn’t safe and to find another web browser instead.

The warning comes after Microsoft admitted that it was a flaw in Internet Explorer that allowed Chinese hackers to get into Goog

Click Here to Read Full Article

Leave a comment

CoolPreviews 3.0 Brings In-page Previews! [Firefox Plugin]

CoolIris, a Firefox plugin that lets you view media faster while browsing with Firefox, has just released CoolPreviews 3.0, which allows you to “preview” sites before clicking through them.  I just installed it, it works pretty well, we will see how well it works for the next few weeks. (Download the CoolPreview 3.0 Firefox plug-in here)

Say, you want to search the Web to see everything about Avatar, the new James Cameron movie. You query “avatar” in Google web search as usual.

Click Here to Read Full Article

Leave a comment

YouTube DIY – How to Upload YouTube Videos When Getting Errors!

Here’s a simple YouTube DIY for those of you who constantly upload videos to YouTube or simply having trouble, either timing out with the Basic Upload and whatnot.

I upload a lot of videos to my YouTube Channel at http://youtube.com/zedomax and over time I’ve found that the best way to upload videos to YouTube is to use their “Multi-upload” feature.  You will need to install Google Gadgets for this to work but it’s way mo

Click Here to Read Full Article

1 Comment

Google Refuses Chinese Censorship! [GO GOOGLE]

Well, it’s been a great day since I just received my new Google Nexus One phone, the first “official” phone that Google has started selling as of last week. Btw, this phone is freakin’ JESUS-AWESOME, I will have a bunch of videos on that soon.

The point of this blog post is the Google’s latest move on Chinese government’s censorship. Instead of obliging to Chinese government to keep Google going in China, Google has determined that they will no lo

Click Here to Read Full Article

1 Comment