Fasw - fasw.ws - FASW
General Information:
Latest News:
Yii: Retrieve data with any DataProvider 4 Aug 2012 | 12:51 am
In yii, Widgets (data components) like GridView (CGridView) needs a DataProvider (CDataProvider) to show data. Once a Widget receives a DataProvider it calls internally getData() function to get all t...
W: Failed to fetch 404 Not Found 14 May 2012 | 11:50 am
One day when trying to update some packages on my Linux PC I got this message: “W: Failed to fetch http:someurl 404 Not Found” I was confused, nothing had changed, I considered re-installing my Linu...
How to backup and restore mysql database by terminal 28 Mar 2012 | 01:38 am
I needed to create a backup of a mysql database and restore it in another computer, doing it using terminal is faster, so, the commands are: 1. Open terminal. 2. To create a Backup type: mysqldump ...
Non-Jquery Page Transitions lightweight 14 Dec 2011 | 06:49 am
I am an active developer of mobile websites, and I’m always looking for the most lightweight solutions to any problem, as load times in web apps are so crucial. I always try to avoid jquery mobile for...
Change AJAX url like facebook does 6 Dec 2011 | 12:28 pm
I used to wonder how facebook change pictures with its ajax features and change the url at the same time, finally I came to it. One of the great features that came with html5 is the ability to change...
Implement 301 redirect for your non www site 6 Dec 2011 | 11:35 am
A few days ago, I was working on improving SEO rank of a web site. The selected analisys tool indicated that I was having double content, so I needed to redirect traffic from non-www domain to my “www...
WordPress Widgets not drag and drop 29 Nov 2011 | 12:53 pm
Hello, if you have been trying to drag and drop your wpuser123 widgets without success, maybe your problem is with the jquery libraries loading process. If you had spending hours and hours of your tim...
How to disable the zoom function of the iphone, ipod and ipad browser 19 Nov 2011 | 05:55 am
Hello, I’m writing again about mobile devices, this time is specific for Apple’s mobile browsers, they detect if your site has an special meta tag that indicates it to don’t show the zoom, it is below...
How to hide the address bar in mobile devices 19 Nov 2011 | 05:50 am
Hello, to hide the address bar and save screen space in little screen devices, like mobile devices, is easier than you think, only needs to add a javascript function to the onload of the body tag of y...
Update my Ubuntu – Firefox 15 Nov 2011 | 03:30 am
Hello, are you trying to update your old, slow and ugly Firefox and you dont know how to do it? You are always checking the lastest update manually? Forget to do that, type in your terminal the comma...