simple mind
Tuesday, March 22, 2011
Saturday, May 23, 2009
Tweak Mozilla
___________
Firefox users take note: You need to do this. Now. As in, this
instant. More savvy users are probably already familiar with editing Firefox’s configuration file but whether you’re a computer rookie or a seasoned veteran, Gnoted has issued a handful of tweaks that really get Firefox cooking. As much as we all love the fox, it can get a bit slow on occasion - especially if you’re like us and have 35 open tabs spread across four windows at any given time. By tweaking the way Firefox handles some caching functions, you can dramatically improve page load speed and even prevent Firefox from hogging your system resources while minimized. If you don’t currently have any experience playing with your configuration file, don’t be scared. Just follow the simple instructions, take your time and if you want a security blanket to squeeze, jot down each setting before you change it so you can always restore the default configuration if need be. So without further ado, hit the jump and get tweaking - just remember to restart Firefox when you’re done.
Reduce the amount of RAM Firefox uses for its cache feature
1. Type “about:config” (no quotes) in the adress bar in the browser.
2. Find “browser.sessionhistory.max_total_viewer”
3. Set it’s value to “0“;(Zero)
Increase the Speed at Which Firefox loads pages
1. Type “about:config” into the address bar and hit Enter.
(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 10.
This means it will make 10 requests at once.
3. Lastly, right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0“;.(Zero)
This value is the amount of time the browser waits before it acts on information it receives. If you’re using a broadband connection you’ll load pages faster now. Optionally (for even faster web browsing) here are some more options for your about:config (you might
have to create some of these entries by Right Click –> New– > Interger or String
"network.dns.disableIPv6" set “false”
“content.notify.backoffcount”: set “5“; (Five)
“plugin.expose_full_path”: set “true”.
“ui.submenuDelay”: set “0; (zero)
Reduce RAM usage to 10MB when Firefox is minimized:
This little hack will drop Firefox’s RAM usage down to 10 Mb when minimized:
1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2. Right Click in the page and select New -> Boolean.
3. In the box that pops up enter “config.trim_on_minimize”. Press Enter.
4. Now select True and then press Enter.
5. Restart Firefox.
___________________________
happy mozilla...
Friday, May 15, 2009
Flash 8 : Motion tween along the path
Just imagine we drive on the road. What would you do if you see a corner ? of course you will follow the road right ? We can do the same the thing with flash. We can make a animation that move along a path we create. Instruction below will guide you.
Create a new movie. At frame 1 create a circle.
Now add a motion guide. Choose Insert | Motion guide. Or you can just click at the button below the layer.
Rename the layer 1 as circle.
Now insert a keyframe at frame 50.
At frame 1 on guide layer, we draw a line using pencil tool.
Now, move the circle to one end of the line.
At frame 50, we move the circle the other end.
Back to frame 1, open the panel properties. Change the tween to the motion.
Do the same thing at frame 50.
Save your work. Preview it. You will see that the circle moving along the path you draw. You can hide the path, by clicking at the eye symbol at the guide layer.
Wednesday, May 13, 2009
What is bit torrent...
by using wikipedia, here is the definition of bittorent : -
BitTorrent is a peer-to-peer file sharing protocol used to distribute large amounts of data. BitTorrent is one of the most common protocols for transferring large files, and by some estimates it accounts for about 35% of all traffic on the entire Internet.[1] The initial distributor of the complete file or collection acts as the first seed. Each peer who downloads the data also uploads it to other peers, even after they have dismounted the original seed. Because of this, BitTorrent is extremely efficient. One seed is needed to begin spreading files between many users (peers). The additions of more seeds increases the likelihood of a successful connection exponentially. Relative to standard Internet hosting, this provides a significant reduction in the original distributor's hardware and bandwidth resource costs. It also provides redundancy against system problems and reduces dependence on the original distributor.
in a simple word. it is peer to peer sharing. long ago we just know about napster, the pioneer of the peer to peer sharing... then come aries, limewire, bear share and so many p2p prgram. one thing about this is, all user need to register first before it can used the program. i still can remember back when i'm using napster.. i can seed all the file he/she share on the net. quite dangerous is it... hahaha
then, 3-4 yeasr back... i learn about bit torrent. it is free and open to all... easy to use and simple. ou can't just barge in the web which offer torrent file. you need a torrent client first... like bitcomet, azureus/vuze, utorrent and so many client. there's some noun reagrding this... whether you are seeder or leecher... seeder means the one and the original person provides the file and leecher is the one which connect to seeder and download it.once they finished it,automatic they will become seeder if they just left the file and not close it.
there's some unwritten ethics regarding torrents. you're advise to let others download from you ocne you're finish... meaning you must become a seeder... and some web implement ration system. if you're not reach certain level of ration you will be banned from using the service, which is known as tracker... our local tracker like jiwang torrent are using this system.still, there's lot of free tracker offerring the same file to download.
if you have client like bit comet and utorrent, all you need to do is just go to any website that offering tracker and download the file... the're bunch of thousand, even million file to download... if you like tv shows, movie, mp3, picture, ebook, software, game and so much more...
Tuesday, May 12, 2009
Flash 8 : Shape tween
Shape tween or else we can say it as morphing. We used it when we want to morph a shape. For example from a triangle to a circle. Now’s let look how we can do it.
First create a new movie.
Next we must create an object. For this step we will used circle. Let’s draw a circle in the working panel at frame 1. For color I leave it for you to choose.
Next we want to create a rectangle. Choose frame 50, and insert keyframe by right right click and insert keyframe.
Click at frame 50. You can see the circle at the working panel selected. Now delete the object.
Draw a rectangle at frame 50 as a replacement for the circle we just deleted.
Now Click at frame 1 and open properties panel at the bottom Choose Shape for tween.
You will get a frame with a green frame with arrow showing for shape tween.
Save this file and go to File | Publish Preview | HTML. You will now see your animation. Another way you can use is, Control | Test Scene or Control | Test Movie.
Well, it’s not just finish like that, you can add more morphing. Now let’s change from a rectangle to a simple letter. Add a keyframe at frame 100. We can see that the rectangle is selected. Now delete the shape, as we delete the circle previously. We replace the rectangle with a letter “T”, font type : arial, size : 125.
There is a difference between a normal shape and text. Before animate the text we must convert it to an object. This only apply for shape tween animation. Choose Modify | Breakapart. When we are done, you can see the text is selected.
Now we are ready to animate the object. Click at frame 50 where the rectangle origin. Open the panel properties and choose shape as their tween. Same like before you should get a green frame like the previous step.
Save the file and preview the output. When the rectangle want to morph to a text, you can see a the transition is not very smooth. You can change it using a shapehint.
Back to frame 50, click Modify | Shape | Add Shapehint. You will get a small circle with a letter inside. Move it to the edge of the rectangle.
Move to frame 100, you will also get a small circle same as before. Move it to the edge of the letter.
Now do the same thing and add another 3 shape hint. Arrange it accordingly.
Save your work. Now preview it. You can see there is a difference compared to before. [^_^]
Note : Breakapart only apply for text in shape tween animation.
Monday, May 11, 2009
Flash 8: Frame by frame animation
Same as before, we must create an object to animate. For frame by frame animation, usually we implement for text animation.
Firstly we create a new movie. Same step we apply like before.
On the first frame, we type a letter “h” in the working panel.
Then, add a keyframe on frame 10.
Click the text tool and still at the frame 10, click the letter “h”. Now add a letter “e”. You should get “he” at frame 10, and only a letter “h” at frame 0.
Next we apply the same thing in frame 20, 30 and 40 for letter ,”l”,”l” and ”o”.
Save this file and go to File | Publish Preview | HTML. You will now see your animation.