3 Joomla sites uploaded in 10 mins

31 12 2007

It has been long since I have written something. Recently have been going through some interesting experience. Thought why not add this up. At least it would help me to remember :P

Today we had a situation that we needed to upload 3 Joomla sites. Now, as you know Joomla has around 1800 files. So, it’s around 5400 files. Yesterday we tried to upload and it didn’t for while day!

So, today thought why not try some zip/unzip. So, I just zipped to tgz and then uploaded (around 7 mins) and unzipped using shell command.

gzip -d ar_ny.tgz
made it ar_ny.tar

tar -xf ar_ny.tar
made it extract to ar_ny. I believe there is more short methods, I’m totally new to shell. But, at least now it does in 10 mins :-)

Happy shelling everybody!





They Write the Right Stuff – interesting article about software writing for shuttle

25 01 2007

http://www.fastcompany.com/online/06/writestuff.html

Today I found this interesting old article about software writing. How people write software for shuttle and how seriously bug free it has to be. Here Charles Fishman shortlisted some healthy habits of software writing as well.





Some icons collections

21 01 2007

I needed some icons and I found that I forgot some sites that I liked earlier. So, for me (and anybody if needed) I recollected some list of icons from my friends at Pageflakes.

http://tango.freedesktop.org/Tango_Desktop_Project

http://www.famfamfam.com/

http://www.yellowicon.com/

I hope it will help some of my friends here.





53 Css Techniques

19 01 2007

Today morning I got a great link from Omar Al Zabir of Pageflakes

http://www.smashingmagazine.com/2007/01/19/53-css-techniques-you-couldn’t-live-without/

Amazing, isn’t it! I hope it will help many of you.





Amazing multitouch screen in you tube

16 01 2007

I wish I had something like this sometime :)





Lightning Fast Browsing Trick – hmm, that is why my IE7 was lot faster than FF2

18 12 2006

Today Great Amit bhai from Pageflakes gave a link http://www.metacafe.com/watch/333720/lightning_fast_browsing_trick_for_internet_explorer_and_firefox/ (Thanks bhaiya). So I went to visit the link and found, in FF the default maximum connection to a server is given as 4 and same in IE. But, for me, I found it is for IE7 set to 10 already. I noticed earlier that IE7 is faster than FF2 and I was little bit worried because I’m used to FF. Now I found the reason. IE7 probably configures it self seeing that the PC has a better connection.





Firebug 1.0 beta released

13 12 2006

I have been using different kind of JavaScript and CSS debugging tool for some months while working in Pageflakes. Have tried many namely DevToolBar, DebugBar, WebDevToolBar, Firebug etc. Yesterday I downloaded Firebug 1.0 beta from http://www.getfirebug.com/. This is awesome, you wouldn’t believe what they did. I would ask you to just check it once. Shortcut for debugging, CSS editing, which element is modified by which CSS classes and everything. Just use it once and you will feel you don’t need anything else.

 

Though DevToolBar is very good, I couldn’t find the keyboard shortcuts for doing everything, which is a bit of pain. The color picking of DebugBar is more comfortable though the default shortcut of DebugBar (Alt + D) is very annoying (you can change it). These are for IE. For resizing to a fixed width Web Developer Toolbar is needed in FF. But, now, debugging is like heaven, be it JavaScript or CSS, using Firebug 1.0. Firebug team, tomader salam.





Popup blocked

13 12 2006

I was making search while I found that, popup blocker blocked the new window. I used window.open(). Many body said it is because popup blockers notice window.open(), but I thought there is no reason for that, because I have used window.open several times before and never faced this! Then Arafat bhai said me, popup blocker will block if I use onkeydown, if I use onkeypress, it will not block!!! Thanks Arafat bhai

I found there are other interesting solutions though, one is if you create a form with method get and target _blank, later in the JavaScript, set the action to the desired URL. Another way I found others using is, since after clicking a button a window.open is allowed, button clicking is provoked.

But, safest is I think the get form method, since there may be some dumb popup blocker which will disallow all window.open()





Pageflakes again won against Microsoft’s live.com, Google’s IG and Yahoo’s My Yahoo

24 08 2006

Again our Pageflakes won over Microsoft, Google and Yahoo.

“I enjoy pageflakes as it is simple, convenient and it has number of applications to choose.”

http://www.oreillynet.com/xml/blog/2006/08/who_is_the_leader_in_ajax_appl.html

As you know, this is not the first time, Pageflakes won web 2.0 award (in “Start Pages” category) also over Google and Microsoft. Cheers!





innerHTML and appendChild

24 08 2006

Today I noticed an interesting characteristic of appendChild and innerHTML. InnerHTML removes the functions of the element created by javascript. See the code below

var chk = document.createElement(‘input’);

chk.type = “checkbox”;

chk.onclick = function()

                {

                    _categorySelectionChanged = true;

                }

               

chk.value = CATEGORY_NAMES[i];

cTd.appendChild(chk);

 

 

I need to add a name after the check box. So, I did this

cTd.innerHTML = cTd.innerHTML + “ ” + CATEGORY_NAMES[i];

It was working perfect, except the function, onclick was not firing. Everything else was just perfect. Now, when I replaced innerHTML with this

var cName = $$(“div”);

cName.innerHTML = “ ” + CATEGORY_NAMES[i];

cTd.appendChild(cName);

The function was working perfect!!! Both in IE and FF!