Ayumilove Blog Navigator
(VIP) For Friends and Family
Inventions from Africa [Funny Creative Pictures]
Ah Beng (Latest Version) gotta read itz reli funny….
Some old anime collections…
Spoon Bending Explanation & Spoon Bending Rip Off Scam
Instruction Manual for Life – Meaningful Video
Final Fantasy Instrumental Techno Megamix
Start Google Chrome From Run (Windows Key + R)
Ayumilove’s Favorite Collection Songs by Alizee
“Because i’m a girl” – sang by KISS [Very Touching Video]
Ayumi Hamasaki Concerts and Albums
Top 40 Uplifting Trance Mixes + 120 Classic Vocal Trance
Poor Beckham got caught by his wife, while oogling at…
Funny Pictures
How to get Youtube High Definition [HD] or Youtube High Quality [HQ]?
Learn to Speak Japanese – Simple Phrases
How to install and remove Windows Live Messenger 2009?
Flash Game Guides
All flash game is archived here
PHP Classes Tutorial
Lets start with our php tags
<?php ?>
create a page called index.php (or what ever)
<?php // This is empty ?>
Create another page called class.php (or what ever)
<?php
class Demo {
function Animals(){
echo "Hello I am cat";
}
}
?>
So I have called the class “Demo”
and called a function “Animals”!
When a function is created in a class it is called a method
and it will echo “Hello I am a cat”;
Were done
Go back to index.php
<?php include "class.php"; $Class = new Demo() echo $Class -> Animals(); ?>
This code will include “class.php”
and $Class = new Demo();
This means $Class = the class name (e.g. new Animals() )
we echo out Animals
$Class -> Animals(); or if we add anew function Cats we could put $Class-> Cats();
If you wanted to connect to a mysql database you could do this:
Connection.php
<?php
class Database
{
var $Host;
var $Username;
var $Password;
function Connection()
{
$Connection = mysql_connect($this->Host, $this->Username, $this->Password) or die("Database Error");
}
}
?>
index.php
include "Connection.php" $Database = new Database(); $Database->Host = "Localhost"; $Database->Username="root"; $Database->Password=""; $Database->Connection(); //Connect to database ?>
ActionScript 3.0 Tips
it is also a not so good practice when you don’t cast objects to the expected type
(event.target as TextInput).text == "")
E4X
Semantics:
@ – attribute accessor.
var xml:XML = <node foo="bar"/>; trace(xml.@foo); //traces bar trace(xml.@["foo"]); //traces bar trace(xml["@foo"]); //traces bar
. (dot) – child accessor.
var xml:XML = <node><childNode/></node>; trace(xml.childNode.toXMLString());
Russell Peters Top Videos
russell peters 09 tap sum bong
Russell Peters Dance Dance Revolution
Bloons 4 Tower Defense Walkthrough (Unlock All Bloons Tower – Download SOL)
Bloons Tower Defense 4
We’re at last proud to present Bloons Tower Defense 4. BTD4 features improved graphics, loads of new and original tower types and tons of upgrades for each tower type. Heaps of tracks, save games, career mode, sandbox mode and apopalypse mode. Bloons Tower Defense 4 will give you almost unlimited replay value. Also included is optional MochiCoins premium content featuring lots of extra tracks and special booster upgrades like double boomerangs, exploding darts, and double cash!
Play Online: Bloons Tower Defense 4 (Ninjakiwi.com Official TD)
Download Bloons 4 SOL (All Towers Unlock)
Extract the file using WinZip/7zip/Winrar. Place the folder “ninjakiwi.com” in the location below:
Copy and paste the save file at [for Windows XP users]
C:\Documents and Settings\(User Name)\Application Data\Macromedia\Flash Player\#SharedObjects\(Random Numbers)\
Copy and paste the save file at [for Windows Vista users]
C:\Users\(User Name)\AppData\Roaming\Macromedia\Flash Player\#SharedObjects\(Random Numbers)\
Copy and paste the save file at [for Mac OSX users]
/Users/(User Name)/Library/Preferences/Macromedia/Flash Player/#SharedObjects/(Random Numbers)
Copy and paste the save file at [for Linux users]
/home/(User Name)/.macromedia/Flash_Player/#SharedObjects/(Random Numbers)
How to unlock all towers and reach level 86 easily?
Well this method wouldn’t last till wave 100 and above, but I can guarantee that this will help you unlock all towers by yourself if you do not want to use the .SOL above to unlock them.
0. Watch the video above! It’s the walkthrough to unlock most of the towers.
1. First, start with the beginner map and use easy mode.
2. Build 1 Dart Monkey (basic tower)
3. Gain a few career ranks to obtain Tack Shooter. (The Exp Bar below)
4. Build Tack Shooter.
5. Gain a few career ranks to obtain Bomb Tower (The Exp Bar below)
Note: The most important towers are Tack Shooter, Bomb Tower, Super Monkey.
Tack Shooter and Super Monkey are used to clear those black bloons (bomb immune)
Bomb Tower destroys all bloons easily including Lead and Frozen Bloons.
You can survive till wave 70 with only those towers alone!
6. Keep building more and more of those towers and build Banana Farm to earn more money.
7. Use the Ice Tower to slow those bloons.
8. Use Mortar Tower at non-strategic places and set their target near the entrance.
9. If you wish to go above wave 100 easily, read the walkthrough below.
Ayumilove Ultimate Bloons 4 Strategy
Note: The screenshot below is basically my strategy, using lots and lots of Monkey Apprentice (those monkeys with white magician outfit). They are much more useful and powerful compare to Super Monkey. I tried Super Monkey and I could barely keep up with those MOAB (Massive Ordnance Air Blimp) and BFB (Big Flying Blimp)
To reach high level on Bloons Tower Defense 4 Hard Map 1, you need to invest on Banana Plantation in the early stages. Below are the video tutorials on how to achieve the above. Enjoy!
Track 6 (Expert) + Easy Mode
Playing on hard mode is impossible to not lose life unless you use premium upgrades (pay with Mochicoins, which is funded with real money = not so worth) Since this track is very short and splits into 4 track, easy mode would suit best for this to balance the game out (for non-premium players)
Bloons Tower Defense 4 – PERFECT No Miss – Track 6 Expert – Apocalypse Hard
Bloons Tower Defense 4 : Balloons
Red is the basic bloon.
Blue contains a Red.
Green contains a Blue.
Yellow contains a Green.
Pink contains a Yellow.
Camo contains 2 Pinks.
Black contains 2 Pinks.
White contains 2 Pinks.
Zebra contains a White and a Black.
Rainbow contains 2 Zebras.
Brown (ceramic) contains 2 Rainbows.
MOAB contains 4 Browns.
BFB contains 4 MOABs.
Bloons Tower Defense 4 Bloonscyclopedia
MOAB – Massiver Ornary Aircraft Balloon / Massive Ordnance Air Blimp / Mother of All Bloons
BFB – Biggest most Feared Bloon / Brutal Floating Behemoth / Big F***ing Bloon / Big Friendly Blimp
Bloons Tower Defense 4 : Buildings
Dart Monkey
Description: A monkey that shoots a single dart to pop a single balloon.
Prices: Easy:170 Medium:200 Hard:215
Upgrades:
-Piercing dart: Pops 2 balloons instead of 1.
-Long range darts: Increases range of monkey.
-Spike-o-pult: Turns into a spike-o-pult. Increases range and shoots a spike that goes across the screen, popping balloons.
-Triple shot: Increases range of monkey and spikes.
Dart Monkeys are average yes, but in BTD4 can now be upgraded to become a Spike-o-Pult. Place Spike-o-Pults at long strips of path and Dart Monkeys can pretty much go anyway. Places with two paths running along side each other help though. It’s final upgrade is a 3-way Spike-o-Pult.
Tack Shooter
Description: Shoots a volley of 8 darts with a short range. Best if used at corners and intersections.
Prices: Easy:305 Medium:360 Hard:390
Upgrades:
-Faster shooting: Shoots faster.
-Extra range: Increases range.
-Blade shooter: Shoots blades instead of tacks, blades have more range.
-Ring of fire: Increases range and shoots a wave of fire that pops everything.
Completely awesome for clearing lots of bloons and can upgrade incredibly well. It’s final upgrade is The Ring Of Fire, shooting fire; melting leads, browns, and blacks in an instance.
Boomerang Thrower
Description: Shoots a boomerang in a curve pattern.
Prices: Easy:340 Medium:400 Hard:430
Upgrades:
-Multi target: Boomerang will hit up to 7 balloons.
-Sonic boom: Boomerang will be able to pop frozen balloons.
-Glave thrower: Boomerang will hit up to 12 balloons.
-Lightsabre Thrower: Lightsabre slices through everything, popping up to 70 balloons.
Nice at corners. Pretty useless anywhere else, but the final upgrade, (Jedi, double-bladed lightsaber taking out 70 bloons at a time!) is pretty much used anywhere lots of bloons may crowd. Near a frost tower perhaps?
Bomb Tower
Description: Slow firing bomb that pops many balloons at once.
Prices: Easy:595 Medium:700 Hard:755
Upgrades:
-Bigger bombs: Shoots bigger bombs.
-Longer range: Increases range.
-Missile launcher: Increases range and fires missiles instead of bombs, missiles fly faster and further.
-MOAB mauler: Causes 10x more damage to MOAB’s and BFB’s
Powerful Tower that is commonly used to clear tons of bloons with just a single blow. However, its not effective against some bloons such as Black and Zebra.
Ice Tower
Description: Freezes balloons but has short range. Frozen balloons are immune to anything sharp.
Prices: Easy:325 Medium:380 Hard:410
Upgrades:
-Improved ice tower: Increases range and freeze time.
-Permafrost: Slows down balloons even after they thaw out.
-Snap freeze: Pops 1 layer of balloons and then freezes.
-Artic wind: Increases range and slows down balloons within its radius.
Really good, but heavily underused. Place these near lots of bombs, mortars and boomerangs. Keep them away from darts, tacks and buccaneers. Final upgrade is an amazingly powerful blizzard that slows any bloon near it by 66%!
Mortar
Description: Aims at a single spot anywhere on the map.
Prices: Easy:700 Medium:825 Hard:890
Upgrades:
-Greater accuracy: Increases accuracy of mortars.
-Rapid reload: Increases fire rate.
-Balloon buster: Smashes through 2 layers of balloons.
-Mortar battery: Shoots 3x faster.
Can be placed anywhere. By a few and have them concentrate on a certain spot, probably by the entrance. The final upgrade is a 3-way mortar. A few of them in a single place can rip apart bloons with ease.
Glue Gunner
Description: Shoots glue that slows down balloons.
Prices: Easy:255 Medium:300 Hard:325
Upgrades:
-Stickier glue: Glue lasts longer
-Glue soak: Glue goes through all the layers of balloons.
-Corrosive glue: Pops balloons every 2 seconds.
-Glue splatter: Glue splashes affecting up to 20 balloons.
Not amazing. Place these near the end or start of your map, but they aren’t really useful if you have lots of high damagers like mortars and missiles as they do more of a prolonged amount of damage rather than quick hits. The final upgrade is literally two pipes instead of one and you can soak 70 bloons at once.
Monkey Beacon
Description: Does not attack and provides boosts to the towers within its range.
Prices: Easy:850 Medium:1000 Hard:1080
Upgrades:
-Wider influence: Increases range.
-Jungle drums: Gives a boost to attack rate to towers within its range.
-Sonar beacon: Allows towers within its range to shoot camo balloons.
-Monkey storm: Gives the beacon a special attack that wipes out the whole screen, has a price and a cool down time.
Monkey Ace (Flying Tower)
Description: Flies above towers and the map in a figure 8 pattern, shoots a volley of 8 darts.
Prices: Easy:765 Medium:900 Hard:970
Upgrades:
-Pineapple express: Sometimes drops explosive pineapples on the map.
-Spy plane: Allows detection of camo balloons near the plane.
-Rapid fire: Shoots faster.
-Operation: Dart storm: Shoots twice as many darts.
Awesome. Get at least three of these asap as they really help. Their last upgrade is amazing. It fires out twice as many darts, twice as fast!
Monkey Buccaneer (Ship Tower)
Description: Can only be placed on water. Has a long range and shoots a single heavy dart.
Prices: Easy:510 Medium:600 Hard:650
Upgrades:
-Grapple shot: Adds a small volley of grapes to the shot.
-Crow’s nest: Allows detection of camo balloon within its radius.
-Longer cannons: Increases range.
-Battle ship: Shoots 3x faster.
Can only be placed on water.
But they’re better than darts.
They go through bloons so they’re pretty awesome. It’s final upgrade is awesome as well. It doubles its attack speed, which really reaps those bloons. Arrh!
Monkey Apprentice (Mage)
Description: Very flexible. Uses its old and new magic.
Prices: Easy:470 Medium:550 Hard:595
Upgrades:
-Intense magic: Pops 7 balloons instead of 2.
-Fireball: Throws a fireball that explodes on impact.
-Summon whirlwind: Causes a whirlwind that sends balloons back the map but thaws out and removes glue.
-Tempest tornado: Massive whirlwind that sends back balloons and pops up to 120.
Is annoying but fun to use. I put these near exits to hopefully stop them getting through with the whirlwind upgrade. It’s final upgrade is a tornado and it pops, pushes and slows bloons that get caught in it. Awesome.
Super Monkey
Description: Shoots super fast and has a big range.
Prices: Easy:3400 Medium:4000 Hard:4320
Upgrades:
-Super range: Greatly increase range.
-Laser vision: Can pop 2 balloons at once and frozen balloons.
-Plasma vision: Shoots twice as fast and destroys anything it touches.
-Sun god: Shoots 3 golden beams in a spread pattern obliterating everything.
AMAZING. It pierces, it shoots, it kills. Place these in the middle, with beacons around and watch the carnage. Final upgrade is Sun God. Freakin’ awesome! It can take on multiply MOABs at once and still not leak. Go on, try it. It fears no bloon!
Banana Farm
Description: Does not attack. Gives extra $100 at the end of each round. Very helpful.
Prices: Easy:850 Medium:1000 Hard:1080
Upgrades:
-More bananas: Gives 120 per round.
-Banana plantation: Gives 250 per round.
-Banana republic: Gives 500 per round.
-Banana research facility Gives 2000 per round.

Bloons Tower Defense 4 Interesting Facts
How many bloons are there in a single BFB? (Big Friendly Blimp)
Notes: Brown is also known as ceramic bloons that takes 9 hits before exploding mini bloons.
Red: 1
Blue: 2 (1 + 1)
Green: 3 (1 + 2)
Yellow: 4 (1 + 3)
Pink: 5 (1 + 4)
Black: 11 (1 + 5 x 2)
White: 11 (1 + 5 x 2)
Zebra: 23 (1 + 11 x 2)
Rainbow: 47 (1 + 23 x 2)
Brown: 103 (9 + 47 x 2) (NOTE: brown takes 9 hits before exploding 2 rainbow balloon)
MOAB: 613 (201 + 103 x 4) (NOTE: MOAB takes 182 hits, contains 4 brown, deals 201 damage)
BFB: 2884 (432+ 613 x 4) (NOTE: BFB takes 607 hits, contains 4 MOAB, deals, deals 432 damage)
Bloons
Red: A single bloon.
Blue: Moves faster and contains a red bloon.
Green: Moves faster and contains a blue bloon.
Yellow: Moves very fast and contains a green bloon.
Pink: Same speed as yellows, and contains a yellow bloon.
Black: Immune to bombs and contains 2 pink bloons.
White: Immune to freezing and contains 2 pink bloons.
Lead: Immune to sharp objects (use bombs) and contains 2 black bloons.
Zebra: Immune to bombs and freezing and contains 1 white and 1 black bloon.
Rainbow: Contains 2 zebra bloons.
Camo: Undetected by towers and contains 2 pink bloons.
Brown: Takes a few hits and contains 2 rainbow bloons.
MOAB: Moves slow and contains 4 brown bloons.
BFB: Moves slow and contains 4 MOABS.
Bloons Tower Defense 4 Frequently Asked Question
What towers can target Camo bloons?
The upgrades of Ace, Monkey Beacon, and Buccaneer allow nearby towers to hit Camo bloons.
Note: Camo is short for camouflage (hide from being seen by normal towers)
You can use tack or banana to blow those Camo bloons cover/identity.
Sony Vegas Video Preview Display Mode Unwanted Black Bars (Letterbox)
Sony Vegas Project Properties
Set Pixel Aspect Ratio to 1
Tick “Start all new projects with these settings”

Sony Vegas Preview Settings
Right-click the video preview screen.
Untick “Simulate Device Aspect Ratio”
Untick “Scale Video to Fit Preview Window”

Sony Vegas Track Motion Crop
If there are still black bars on the top/bottom/left/right,
then the video recording is not same as the Project Properties : width x height.
You need to crop it out. To crop, click the Track Motion, and resize the resolution.

Ayumilove Develop a Spring Framework MVC Application using NetBeans, GlassFish and MySQL (Step by Step) Dummies Guide to Spring MVC (Chapter 2/6)
Developing a Spring Framework MVC application step-by-step using NetBeans and GlassFish
Authors Thomas Risberg, Rick Evans, Portia Tung
Modified by Ayumilove for the 3 Open Source Softwares below:
NetBeans 6.7 (IDE – Integrated Development Environment to develop web applications and software)
GlassFish (Application Server – Consists of Web Container, JavaBean Container)
MySQL (RDBMS – Relational Database Management System)
Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
Prerequisite software
The following prerequisite software and environment setup is assumed.
You should also be reasonably comfortable using the following technologies.
* Java SDK 1.5/1.6
* GlassFish V2 UR1 (comes with NetBeans 6.7)
* Spring Web MVC Framework (comes with NetBeans 6.7)
* NetBeans 6.7
Chapter 1 Spring Web MVC Complete Web Application ‘AyumiloveSpring1′ can be downloaded here.
Appendix A. References
Original version of this tutorial based on Eclipse and Tomcat.
Modified version of this tutorial based on Netbeans and GlassFish.
NetBeans IDE 6.7 Download
Spring Framework Download
Chapter 2 Spring Web MVC Tutorial for Newbies
2.1. Configure JSTL and add JSP header file
2.2. Improve the controller
2.3. Decouple the view from the controller
2.4. Summary
Chapter 2. Developing and Configuring the Views and the Controller
This is Part 2 of a step-by-step tutorial on how to develop a web application from scratch using the Spring Framework. In Part 1 we configured the environment and set up a basic application that we will now flesh out.
This is what we have implemented so far:
Part 1: index.jsp
An introduction page, ‘index.jsp’, the welcome page of the application.
It was used to test our setup was correct.
We will later change this to actually provide a link into our application.
Part 2: springapp-servlet.xml
A DispatcherServlet (front controller) with a corresponding ’springapp-servlet.xml’ configuration file.
A page controller, HelloController, with limited functionality – it just returns a ModelAndView.
We currently have an empty model and will be providing a full model later on.
Part 3: HelloControllerTests
A unit test class for the page controller, HelloControllerTests,
to verify the name of the view is the one we expect.
Part 4: Hello.jsp
A view, ‘hello.jsp’, that again is extremely basic.
The good news is the whole setup works and we are now ready to add more functionality.
Ayumilove Develop a Spring Framework MVC Application using NetBeans, GlassFish and MySQL (Step by Step) Dummies Guide to Spring MVC (Chapter 1/6)
Developing a Spring Framework MVC application step-by-step using NetBeans and GlassFish
Authors Thomas Risberg, Rick Evans, Portia Tung
Modified by Ayumilove for the 3 Open Source Softwares below:
NetBeans 6.7 (IDE – Integrated Development Environment to develop web applications and software)
GlassFish (Application Server – Consists of Web Container, JavaBean Container)
MySQL (RDBMS – Relational Database Management System)
Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
Prerequisite software
The following prerequisite software and environment setup is assumed.
You should also be reasonably comfortable using the following technologies.
* Java SDK 1.5/1.6
* GlassFish V2 UR1 (comes with NetBeans 6.7)
* Spring Web MVC Framework (comes with NetBeans 6.7)
* NetBeans 6.7
Chapter 1 Spring Web MVC Complete Web Application ‘AyumiloveSpring1′ can be downloaded here.
Appendix A. References
Original version of this tutorial based on Eclipse and Tomcat.
Modified version of this tutorial based on Netbeans and GlassFish.
NetBeans IDE 6.7 Download
Spring Framework Download
Chapter 1 Spring Web MVC Tutorial for Newbies
1.1 Create the Netbeans Spring Project
1.2. Create ‘index.jsp’
1.3. Deploy the application to GlassFish
1.4. Check the application works
1.5. Download the Spring Framework
1.6. Modify ‘web.xml’ in the ‘WEB-INF’ directory
1.7. Spring libraries
1.8. Create the Controller
1.9. Write a test for the Controller
1.10. Create the View
1.11. Compile and deploy the application
1.12. Try out the application
1.13. Summary
Summary of Chapter 1
Chapter 1 of this tutorial walks you through on how to setup a simple spring web mvc application, which consists of a front controller (also known as dispatcher servlet), a view (hello.jsp) and a controller (HelloController.java). It also guides on how to create a testing class (HelloControllerTests.java) in order to check the logic behind HelloController whether it works smoothly or does not produce expected results.
Read more…
BannedStory Picture featuring trimaican12 chassing Balrog
Mythbusters Fart Fire Gas
Banned Episode MythBusters, check out the Fart fire guy
Mythbusters Banned Episode





