Archive for June, 2005

speed up firefox

saw this on my board and i tried it out. you can really tell a difference in the loading speed of firefox! not sure what the drawback is. if you do, please share.

1.Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining
network.http.proxy.pipelining
network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:
Set “network.http.pipelining” to “true”
Set “network.http.proxy.pipelining” to “true”
Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.

*info from forevergeek.com

On the Other Hand

There is a wider range of hosting service providers which are well-recognized for the best web hosting plans within the limits of affordability. The web hosting service providers are well-equipped with the latest equipments and technology to handle any problematic issue in the case of system failure with the application of backup software. To have access to internet connectivity, you have to install wireless internet card in your PC. Some hosting service providers introduce the business hosting plans with the implementation of e-commerce tools. The hosting companies of good repute offer free of charge web domain registration.

quickly fill an array

i’ve been wondering what’s the quickest way to fill an array with a constant value? sometimes the code is necessary. for example, i have X number of items in an array and i wish to put them evenly into an table. to call another function, i need to pass in an array of values and an array of table width. well in my case, i just need to fill an array for table width with something like

$table_width = array('50%', '50%');

here’s my code to fill an array assuming $num_cols contains the number X.
$dummy = range(0, $num_cols - 1); foreach($dummy as $val) { $width_per[$val] = round(100/$num_cols)."%"; }
Is there a faster way to do this?

i made a font

i made a pixel dingbat font using this page.

pixelstarheart
- you should use it with 10px as the font size in photoshop for graphic purpose only!

a taste of shanghai

OMG i can’t look at this any more. i want to go to SHANGHAI RIGHT NOW!!