He is a dust-talent Disney fairy, who hands out pixie dust to other fairies each day so they may do their magic, and is calm and kind. So he is a dust-keeper sparrow man. He has blonde hair and blue eyes and wears an acorn cap on his head.
Terence is Tinker Bell's best friend. He has a strong crush on her, which she is unaware of. (As a male fairy, he is sometimes referred to as a "sparrow man", a term Disney invented in an attempt to avoid calling them "fairies"). He is generally calm and logical, who thinks things through carefully, unlike Tinkerbell.
He seems to have an eye for detail and appreciates beautiful things...
Wednesday, September 16, 2015
Tuesday, June 9, 2015
Ariel ❤ The Little Mermaid
Ariel is a true teenager as she is always trying to evade her father's rules.
She is a bright, spirited mermaid who is also adventurous and stubborn. Her curiosity and love for adventure sometimes gets her into trouble. Usually, however, she overcomes any obstacle she faces like she uses magic to change things. Her best friend is a fish named Flounder, and she develops a close relationship with a crab named Sebastian, the court composer.
She is determined to grow up and wants to live her own life. She is adventurous and always curious about the world of humans - something she longs to be part of. She is considered the Princess of Curiosity.
Ariel falls in love with Prince Eric, but they are star-crossed lovers as he is a human and she is a mermaid.
She sacrifices everything, even her voice, for a chance to meet her prince...
Ariel is free-spirited, confident, curious, kind, adventurous, bright, artistic, idealistic, rebellious, intrigued, headstrong, smart, mischievous, charismatic, witty, bubbly, romantic, impulsive, perceptive, sensitive, brave, selfless, sassy, feisty, irritable, protective, caring, loyal, pacifist, fun-loving, childlike, innocent, polite, sweet, lovable, perky, determined, peaceful and heroic!
"I think everybody is somebody already."
She is a bright, spirited mermaid who is also adventurous and stubborn. Her curiosity and love for adventure sometimes gets her into trouble. Usually, however, she overcomes any obstacle she faces like she uses magic to change things. Her best friend is a fish named Flounder, and she develops a close relationship with a crab named Sebastian, the court composer.
She is determined to grow up and wants to live her own life. She is adventurous and always curious about the world of humans - something she longs to be part of. She is considered the Princess of Curiosity.
Ariel falls in love with Prince Eric, but they are star-crossed lovers as he is a human and she is a mermaid.
She sacrifices everything, even her voice, for a chance to meet her prince...
Ariel is free-spirited, confident, curious, kind, adventurous, bright, artistic, idealistic, rebellious, intrigued, headstrong, smart, mischievous, charismatic, witty, bubbly, romantic, impulsive, perceptive, sensitive, brave, selfless, sassy, feisty, irritable, protective, caring, loyal, pacifist, fun-loving, childlike, innocent, polite, sweet, lovable, perky, determined, peaceful and heroic!
"I think everybody is somebody already."
Saturday, May 23, 2015
How to keep a GitHub fork repository up to date?
You might come across many instances where you will have to fork a github repository and commit your changes as pull requests to the original master repository.
If you are to commit changes every now and then you need to make sure that your local repository is up to date with the master repository. Else if there are other commits made by users and you do not have the recent changes you might get commit conflicts once you make a pull request.
So to avoid this, you need to follow two steps.
1. Configure a remote pointing to the original repository.
2. Sync your local repository with original repo.
Configure a remote pointing to the original repository
You can configure a remote like below.
1. Open the terminal and go to your local repository location.
Next type below command.
You can replace content with the url of your original repository.
git remote add upstream https://github.com/yourRepository.git
2. Next you can verify that a remote upstream repository got added, by giving following command.
git remote -v
This command should list down the remote you added in previous step.
Sync your local repository with original repo
After you completed creating a remote upstream, now you can update your local repository by giving following commands.
1. Below command will fetch all the changes/updates of your original repository.
git fetch upstream
2. Next checkout your local master branch.
git checkout master
3. Next merge the changes of your upstream repo to your local repo.
This will sync your forked local repository without giving up your local changes.
git merge upstream/master
If you are to commit changes every now and then you need to make sure that your local repository is up to date with the master repository. Else if there are other commits made by users and you do not have the recent changes you might get commit conflicts once you make a pull request.
So to avoid this, you need to follow two steps.
1. Configure a remote pointing to the original repository.
2. Sync your local repository with original repo.
Configure a remote pointing to the original repository
You can configure a remote like below.
1. Open the terminal and go to your local repository location.
Next type below command.
You can replace content with the url of your original repository.
git remote add upstream https://github.com/yourRepository.git
2. Next you can verify that a remote upstream repository got added, by giving following command.
git remote -v
This command should list down the remote you added in previous step.
Sync your local repository with original repo
After you completed creating a remote upstream, now you can update your local repository by giving following commands.
1. Below command will fetch all the changes/updates of your original repository.
git fetch upstream
2. Next checkout your local master branch.
git checkout master
3. Next merge the changes of your upstream repo to your local repo.
This will sync your forked local repository without giving up your local changes.
git merge upstream/master
Cauliflower snack :)
Ingredients :
- Cauliflower
- Wheat Flour
- Water
- Corn Flour
- Eggs
- Salt
- Turmeric Powder
Method :
Mixture
Put Wheat Flour and water to a blender and blend it well.
Add some Corn Flour to it.
Then add an egg or two.
Salt and Turmeric Powder as the amount you want to get the taste you wish.
Blend it all and make the mixture a bit thick as shown.
Frying
Now you have the mixture with you.
Dip the Cauliflower in the mixture.
Put some oil to a pan and make it boil.
Now you have to fry the Cauliflower which is dip in the mixture one by one.
When you are done with frying you will get a delicious Cauliflower snack to serve :)
Don't make it burn :) serve it with a nice color ;)
Try it and Enjoy!!!
(You can make this vegetarian if you don't add eggs)
Monday, May 4, 2015
Quick Vegetarian Snack - Vegetable Pakora :)
Now a days people kinda face a problem of finding vegetarian snacks :) So I think his will help for those who need it ;)
Put the 200g Gram flour to a bowl and add a little Wheat flour and Corn flour to it.
Mix all together and add water to make a paste.
Put them in to a blender and blend it well.
Cut Carrot, Leeks, Cabbage, Potato, Beans, Green chilly in to small pieces.
Put them together and mix.
(You can add more vegetables if you want)
Now add the flour mixture and the vegetables together.
Also cut Curry leaves and add it to the mixture.
You can add Garlic, Salt, Turmeric Powder, Chilly Pieces the amount you want to get the taste you wish.
When you add all these together and mix it with water you will get a mixture as shown in the pic.
This should be not too thick and not too watery.
Now you have the mixture with you.
Put some oil to a pan and make it boil.
Take a full table spoon from the mixture and put to the oil.
You can add 3 or 4 together depending on the size of the pan.
When you are done with making you will get a delicious Vegetable Pakora to serve :)
If you are ok with having eggs.. you can add 2 eggs to the mixture to make it more tasty.
Don't make it burn :) serve it with a nice color ;)
Try it and Enjoy!!!
Ingredients :
- 200g Gram Flour
- Wheat Flour
- Corn Flour
- Carrot
- Leeks
- Cabbage
- Potato
- Beans
- Curry leaves
- Garlic
- Salt
- Water
- Turmeric Powder
- Green chilly
- Chilly pieces
Method :
Mixture
Put the 200g Gram flour to a bowl and add a little Wheat flour and Corn flour to it.
Mix all together and add water to make a paste.
Put them in to a blender and blend it well.
Cut Carrot, Leeks, Cabbage, Potato, Beans, Green chilly in to small pieces.
Put them together and mix.
(You can add more vegetables if you want)
Now add the flour mixture and the vegetables together.
Also cut Curry leaves and add it to the mixture.
You can add Garlic, Salt, Turmeric Powder, Chilly Pieces the amount you want to get the taste you wish.
When you add all these together and mix it with water you will get a mixture as shown in the pic.
This should be not too thick and not too watery.
Frying
Now you have the mixture with you.
Put some oil to a pan and make it boil.
Take a full table spoon from the mixture and put to the oil.
You can add 3 or 4 together depending on the size of the pan.
When you are done with making you will get a delicious Vegetable Pakora to serve :)
If you are ok with having eggs.. you can add 2 eggs to the mixture to make it more tasty.
Don't make it burn :) serve it with a nice color ;)
Try it and Enjoy!!!
Sunday, April 26, 2015
Rapunzel ❤ Tangled
Rapunzel is your true modern-day princess with many talents and interests - beyond housekeeping and baking.
But she is not a typical Disney Princess.. she carries her blonde hair, which is 70-feet-long, and has the magical ability to both heal and reverse aging when she sings a special Healing Incantation song.
She has been trapped in a tower most of her life, but proves she is smart, having mastered subjects like astronomy and music. She also loves reading and her greatest passion is art. She even turns her tower into a giant painting.
She is daring and independent, tackling most of the obstacle she encounters on her journey herself, without a man's help...
Rapunzel is a spirited, smart, clever, kind, playful, and a very adventurous girl in her late teens, though a bit naive. However, she is not afraid to stand up for herself or others when the situation calls for bravery.
She is also very feisty, defiant, kind, sweet, shy, energetic, adventurous, confident, courageous, curious, innocent, rightful, funny, child-like, creative, clever, determined, jumpy, warm, lovable, romantic character. Most of all she is a dreamer..
But she is not a typical Disney Princess.. she carries her blonde hair, which is 70-feet-long, and has the magical ability to both heal and reverse aging when she sings a special Healing Incantation song.
She has been trapped in a tower most of her life, but proves she is smart, having mastered subjects like astronomy and music. She also loves reading and her greatest passion is art. She even turns her tower into a giant painting.
She is daring and independent, tackling most of the obstacle she encounters on her journey herself, without a man's help...
Rapunzel is a spirited, smart, clever, kind, playful, and a very adventurous girl in her late teens, though a bit naive. However, she is not afraid to stand up for herself or others when the situation calls for bravery.
She is also very feisty, defiant, kind, sweet, shy, energetic, adventurous, confident, courageous, curious, innocent, rightful, funny, child-like, creative, clever, determined, jumpy, warm, lovable, romantic character. Most of all she is a dreamer..
Thursday, April 16, 2015
Pudding recipe I tried recently! :)
Making puddings and experimenting them is a thing that I used to like and do :) So thought of giving it a try again recently! Hope you will like it too ;)
Take the bowl you want to make the pudding in to.
Prepare the jelly packet or packets as you wish. (You can check the method behind the jelly packet)
Set the jelly by keeping inside the fridge.
Put the Milkmaid tin to a bowl and keep aside.
Put water to the empty tin with 200g sugar, mix it.
Cook this in a cooker.
Put water to the empty tin again and add the 30g gelatin to it and mix.
Add this to the water and sugar mixture in the cooker.
Stir it.
Make sure this is cooked till boiling bubbles.
Add the milkmaid which you first kept aside in a bowl.
Quickly turn off the cooker.
Stir it well without letting it to froze.
You need to make it as a thick liquid but not very thick.
Keep it aside to cool.
You can separate the mixture and add coloring in different colors.
Cut the pineapple and apple in to small pieces.
Add sugar to get the sweetness you want.
Cook it till its' water dries.
Now take out the jelly from the fridge.
Add the stew on top of it.
Also you can add fruits, cut in to small pieces. (In this I have put plums, cashews. cherries, dates)
Now add the previously prepared mixture with a one color of coloring.
Keep it in the fridge to set.
After it is set take it out and add another layer with a different color of the mixture.
Add a fruits layer.
Again keep it in the fridge to set.
You can add another color again and add a fruit layer too after this is set.
You can add as much as layers you want :)
Keep the pudding in the fridge to set!
When it is done you can decorate the top by adding sprinkles of fruits or chocolate drops, simply anything you like!
This will look good on the table as well as tasty ;)
Try this and Enjoy!!!
Ingredients :
- 1 Jelly packet
- 30g Gelatin
- 1(large) Milkmaid Tin
- 200g Sugar
- Water
- Coloring
- Fruits
Method :
Jelly
Take the bowl you want to make the pudding in to.
Prepare the jelly packet or packets as you wish. (You can check the method behind the jelly packet)
Set the jelly by keeping inside the fridge.
Milkmaid mixture
Put the Milkmaid tin to a bowl and keep aside.
Put water to the empty tin with 200g sugar, mix it.
Cook this in a cooker.
Put water to the empty tin again and add the 30g gelatin to it and mix.
Add this to the water and sugar mixture in the cooker.
Stir it.
Make sure this is cooked till boiling bubbles.
Add the milkmaid which you first kept aside in a bowl.
Quickly turn off the cooker.
Stir it well without letting it to froze.
You need to make it as a thick liquid but not very thick.
Keep it aside to cool.
You can separate the mixture and add coloring in different colors.
Pineapple & Apple stew
Cut the pineapple and apple in to small pieces.
Add sugar to get the sweetness you want.
Cook it till its' water dries.
Final preparation
Now take out the jelly from the fridge.
Add the stew on top of it.
Also you can add fruits, cut in to small pieces. (In this I have put plums, cashews. cherries, dates)
Now add the previously prepared mixture with a one color of coloring.
Keep it in the fridge to set.
After it is set take it out and add another layer with a different color of the mixture.
Add a fruits layer.
Again keep it in the fridge to set.
You can add another color again and add a fruit layer too after this is set.
You can add as much as layers you want :)
Keep the pudding in the fridge to set!
When it is done you can decorate the top by adding sprinkles of fruits or chocolate drops, simply anything you like!
This will look good on the table as well as tasty ;)
Try this and Enjoy!!!
Sunday, April 5, 2015
Silvermist ♥
She is a water-talent fairy. She looks on the positive side of life and acts as an influence between Tinker Bell and Iridessa. She has a delightfully offbeat and upbeat way of looking at everything.
Very much a free spirit, she often listens to her heart more than her head.
She’s an easygoing soul who is eager to please and makes friends easily. Her sense of loyalty is unmatched, and rubs off on Tink.
Silvermist’s guilty pleasure is listening to rumors and gossip from the babbling brook. She is Rani's best friend and she loves light rain...
Very much a free spirit, she often listens to her heart more than her head.
She’s an easygoing soul who is eager to please and makes friends easily. Her sense of loyalty is unmatched, and rubs off on Tink.
Silvermist’s guilty pleasure is listening to rumors and gossip from the babbling brook. She is Rani's best friend and she loves light rain...
Monday, March 30, 2015
How to uninstall Applications from Mac?!
I had a problem when it comes to uninstalling an installed application in Mac. When I delete it from the application location this always left behind remainders. This was a huge headache when reinstalling some applications.
Then I found CleanMyMac 2 as a solution!
This is a Mac Uninstaller which helps to keep your Mac clean and has tons of awesome features which you definitely want to use :)
Download the awesome Mac uninstaller
Hope those who had the same problem like me will get a solution now! Happy Uninstalling!!! ;)
Then I found CleanMyMac 2 as a solution!
This is a Mac Uninstaller which helps to keep your Mac clean and has tons of awesome features which you definitely want to use :)
Download the awesome Mac uninstaller
- Click on the downloaded dmg.
- You will get a pop up window as shown bellow.
- Drag the CleanMyMac2 icon to the Application folder. Now you have installed CleanMyMac2.
- Open the CleanMyMac 2
- Go to Uninstaller section
- Select the Application you want to uninstall
- Then all the folders, files which got installed with the Application every where in your Mac will get selected.
- Now what you have to do is simply click the Uninstall button.
This will uninstall your application removing all the possible installed files and folders!
- And if you have remaining items which were left out from your previously deleted Applications, you can check them too.
- All you have to do is go to Uninstaller section and click on the Leftovers from the top pane.
- If any files or folders are shown in the window, you just have to select them and click Remove button.
Hope those who had the same problem like me will get a solution now! Happy Uninstalling!!! ;)
Sunday, March 29, 2015
Cinderella ❤ Cinderella
Cinderella is a headstrong and independent young woman who is truly beautiful because she doesn't let her anger and sorrow get the better of her.
She is forced to be a servant in her own home after her father dies and her stepmother takes over. Even through her hardships, she is kind and loving to all those around her. She is sweet, kind, hard-working, intelligent, diligent, good-hearted and strong-willed.
She is waiting for her prince to come, singing longingly for this day. She is a princess truly based on her time as she needs a man to get her out of her awful situation such as mistreatment from her step family, being locked in her room by her own stepmother..
This story has been told and retold so many times in Hollywood, it's hard to keep up!
Cinderella is a dreamer, independent, hopeful, determined, optimistic, skillful, tactical, compassionate and carefree.
She likes her fairy godmother's magic, going to balls, dancing, animals, wearing beautiful gowns, romance and singing.
Nevertheless, she is the most beloved and well-known princess of all tie…
Cinderella never gave up on her dreams, and now she and Prince Charming live happily ever after!
She is forced to be a servant in her own home after her father dies and her stepmother takes over. Even through her hardships, she is kind and loving to all those around her. She is sweet, kind, hard-working, intelligent, diligent, good-hearted and strong-willed.
She is waiting for her prince to come, singing longingly for this day. She is a princess truly based on her time as she needs a man to get her out of her awful situation such as mistreatment from her step family, being locked in her room by her own stepmother..
This story has been told and retold so many times in Hollywood, it's hard to keep up!
Cinderella is a dreamer, independent, hopeful, determined, optimistic, skillful, tactical, compassionate and carefree.
She likes her fairy godmother's magic, going to balls, dancing, animals, wearing beautiful gowns, romance and singing.
Nevertheless, she is the most beloved and well-known princess of all tie…
Cinderella never gave up on her dreams, and now she and Prince Charming live happily ever after!
Wednesday, March 25, 2015
How to use Selenium IDE?!
To start with you need to install the needed IDE.
You can refer to How to install Selenium IDE for more information.
This is very useful to automate user actions on a website, automate certain web administration actions, to automate bug reports, create automated test scripts that shows the bug report and attach that script i your bug report so that the developer can view it and see the flow
How to Record a test flow?
How to stop the test from a particular step?
How to add more steps to the test case?
How to enhance the test case by adding documentation?
This helps a user to understand what we do in the test case or may be we can divide the test case in to sections for our benefit or future reference.
Hope you got the basic idea how you can use the Selenium IDE! Enjoy the work!
You can refer to How to install Selenium IDE for more information.
This is very useful to automate user actions on a website, automate certain web administration actions, to automate bug reports, create automated test scripts that shows the bug report and attach that script i your bug report so that the developer can view it and see the flow
- Open Firefox
- Click Tools and click Selenium IDE
- Selenium IDE will open
How to Record a test flow?
- When you open the IDE move the corser to the Red button. There you will see 'Now Recording. Click to Stop Recording'
This means you are ready record. - Now you can load the web page you want to test and start recording the steps of the flow you want to execute.
What I'll be doing is search Kala's World :) in Google and view How to install Selenium IDE?! post! For that I am doing the following steps.
- Go to Google search
- Type castakai blog
- Click on Kala's World :) link
- When the blog is loaded click on How to install Selenium IDE?! title
- The post will get displayed
- When you do each of the above steps it will get recorded automatically in the Selenium IDE, one step at a time.
- Click the Red button to stop recording
- Save the Test Case (File > Save As > Give a file name > Click Save)
- In the Table section you can see the saved steps
- The Reference tab gives you the information what those commands in each step do
- The Command column basically shows what action needs to be performed when testing
- Target column shows where exactly that action has to be perform in the web site
- The Value column shows the value needs to be given to execute the command or some additional information.
- Selenium IDE saves the test cases as HTML. You can view it by clicking the Source section
How to Run a recorded test case/suit?
- Now lets run the recorded steps.
- You can Click 'Play entire test suit' / 'Play current test case' button to run the whole flow.
- Or click each and every step to run one step at a time.
- There is a slider Fast Slow to adjust the speed of the execution if you want to look in to the steps more clearly.
- When you run you will see how it is been executed from the Log tab
- Now let's see how this gives an error if there is a wrong step included.
- Click on the step
- Go to the Target field change the name=btnG to name=btn The step will be changed.
- Now execute the test case again.
- This test should get failed giving the bellow error in the Log tab.
How to stop the test from a particular step?
- Right click on the step you want to stop the test run.
- Select Toggle Breakpoint.
- Now the execution should stop above the step you put the break point.
- And if you want to move forward from that point onwards click Pause/Resume button. Then the remaining steps will be executed.
- If you want to run through the steps after the break point one by one you can click Step button and execute the steps.
How to add more steps to the test case?
- Go to the end of the test case.
- Click on the empty space.
- Click the Record button.
- Now you can add more steps as you want and save.
- And if you want to add a step to the middle. Right click > Insert New Command
- You can manually write the command without recording.
- For that Right Click on the empty space and select 'Insert New Command'
- Now you can enter the values you need in the Command, Target, Value fields and add a new step to the test case.
- And if you need help in adding the values to the Target field you can always go to the next step location from your browser.
Right click and select 'Inspect Element'
- It will show you the information needed about the field, drop down list ..etc.
You can always use the 'id=' to identify the place you want.
How to enhance the test case by adding documentation?
This helps a user to understand what we do in the test case or may be we can divide the test case in to sections for our benefit or future reference.
- Click on the place where you need to add a comment. Right Click > Insert New Comment
- Now you can add you comments to make it more simple.
- Save after doing the changes.
Hope you got the basic idea how you can use the Selenium IDE! Enjoy the work!
Tuesday, March 24, 2015
How to install Selenium IDE?!
What is Selenium IDE?
Selenium IDE is a fully featured Integrated Development Environment (IDE) that installs as a plugin for Mozilla Firefox. This enables developers to test their web applications through Selenium.
With the Selenium IDE, you can record user interactions with the web browser and play back to test for errors.
It is a good and powerful IDE where you can simply do the QA testing process and automate the testing flows.
* The Selenium IDE is currently available only on Firefox.
If you don't have it already go to the SeleniumHQ page.
You can refer this for more details and read about Selenium.
And to download the Selenium IDE to Firefox click the Download section. Or straight away click here.
There you can see sections for different Selenium tools.
Now you are ready to use the Selenium IDE!
Selenium IDE is a fully featured Integrated Development Environment (IDE) that installs as a plugin for Mozilla Firefox. This enables developers to test their web applications through Selenium.
With the Selenium IDE, you can record user interactions with the web browser and play back to test for errors.
It is a good and powerful IDE where you can simply do the QA testing process and automate the testing flows.
* The Selenium IDE is currently available only on Firefox.
If you don't have it already go to the SeleniumHQ page.
You can refer this for more details and read about Selenium.
And to download the Selenium IDE to Firefox click the Download section. Or straight away click here.
There you can see sections for different Selenium tools.
- Go to the Selenium IDE section.
- Click on 'Download latest released version' link
- Once it is clicked Firefox will display a message
- Click Allow button. Then the installation will start.
- Then you will be shown a window with the add-ons to install.
- Click Install Now button.
- After you will be asked to Restart the Firefox browser in order to install the add-ons.
- When you click the Restart button the browser will close and reopen with the add-ons installed.
- Now when you go to the Tools > Selenium IDE option will be displayed there.
- Or else you can check the add-ons by navigating to the Firefox Add-ons.
- If the add-ons are installed it should be displayed as bellow
- Now to open the installed IDE, Click Tools and click Selenium IDE
- Selenium IDE will open as shown bellow
Now you are ready to use the Selenium IDE!
Sunday, March 22, 2015
Queen Clarion ❤
She is the queen of Pixie Hollow and the overseer of the four seasons. She has also lived longer than any other fairy or monarch of Pixie Hollow, wise and dignified. Her ultimate concern is the health and well-being of her subjects.
Sometimes, she is called Queen Ree or just Ree. She wears a flowing golden gown with a beautiful matching crown.
Despite her wisdom and power, Queen Clarion doesn't seem to take her station too seriously. She is a loving and approachable but can be firm when she has to be. It has also been said that she is mysterious. As ruler of Pixie Hollow, Queen Clarion sometimes mediates and helps to settle arguments.
She also has the task of making sure the preparations for the seasons are done in a timely manner. She also greets new arrivals at the Pixie Dust Tree, helps them find their talent, and gives them their names. She might possess every fairy talent..
Sometimes, she is called Queen Ree or just Ree. She wears a flowing golden gown with a beautiful matching crown.
Despite her wisdom and power, Queen Clarion doesn't seem to take her station too seriously. She is a loving and approachable but can be firm when she has to be. It has also been said that she is mysterious. As ruler of Pixie Hollow, Queen Clarion sometimes mediates and helps to settle arguments.
She also has the task of making sure the preparations for the seasons are done in a timely manner. She also greets new arrivals at the Pixie Dust Tree, helps them find their talent, and gives them their names. She might possess every fairy talent..
Test scaling Logistic regression (ML classification algorithm) by partitioning data by Histogram [2]
Information about important classes..
Class
Description
GetMinMax.java
Calculate the min max values of each feature
HistogramEnsembler.java
Encapsulate partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
HistogramHelper.java
This calculates the bin number and converting a given coordinate to a bin number.
HistogramTester.java
Analysis of the partitioned data using a Histogram
HistogramTree.java
Allow formulating and manipulation of the histogram.
IHistogramHelper.java
Defines the contract of the histogram.
LogisticRegresionTester.java
Analysis of the logistic regression with full data set.
Metrics.java
Efficiency calculation
RandomPartitionedEnSembler.java
Encapsulate random partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
RandomPartitionTester.java
Analysis of the logistic regression with randomly partitioned data.
TestHistogramHelper.java
This does the unit tests of the HistogramHelper class. It tests the dimensions and the change axis order.
TestHistogramTree.java
This does the unit tests of the HistogramTree class. It tests the neighbouring bins and checks the grops are of equal sizes.
Class
|
Description
|
GetMinMax.java
|
Calculate the min max values of each feature
|
HistogramEnsembler.java
|
Encapsulate partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
|
HistogramHelper.java
|
This calculates the bin number and converting a given coordinate to a bin number.
|
HistogramTester.java
|
Analysis of the partitioned data using a Histogram
|
HistogramTree.java
|
Allow formulating and manipulation of the histogram.
|
IHistogramHelper.java
|
Defines the contract of the histogram.
|
LogisticRegresionTester.java
|
Analysis of the logistic regression with full data set.
|
Metrics.java
|
Efficiency calculation
|
RandomPartitionedEnSembler.java
|
Encapsulate random partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
|
RandomPartitionTester.java
|
Analysis of the logistic regression with randomly partitioned data.
|
TestHistogramHelper.java
|
This does the unit tests of the HistogramHelper class. It tests the dimensions and the change axis order.
|
TestHistogramTree.java
|
This does the unit tests of the HistogramTree class. It tests the neighbouring bins and checks the grops are of equal sizes.
|
Testing and Evaluation
Technique Used
Accuracy (%)
Performance
Method 01
Logistic regression with full data set
74.2720201581548
training time : 52s
Prediction time: 12s
Method 02
Logistic regression with randomly partitioned data set
74.35145399566024
training time: 2min42s
Prediction time: 15s
Method 03
Logistic regression with partitioned data using histogram.
74.36789359939304
training time: 06min07s
Prediction time: 12s
Above table is being used to compare three different methods used to run logistic regression.
According to the statistics given in the table in terms of accuracy all three methods shows relatively similar accuracy levels. When comparing training times method 01 shows the best time of 52s whereas method 03 shows worst. however considering the prediction times method 01 and method 03 shows best of 12s.
Technique Used
|
Accuracy (%)
|
Performance
| |
Method 01
|
Logistic regression with full data set
|
74.2720201581548
|
training time : 52s
Prediction time: 12s
|
Method 02
|
Logistic regression with randomly partitioned data set
|
74.35145399566024
|
training time: 2min42s
Prediction time: 15s
|
Method 03
|
Logistic regression with partitioned data using histogram.
|
74.36789359939304
|
training time: 06min07s
Prediction time: 12s
|
Saturday, March 21, 2015
Tinker Bell ❤
Tink is sassy, brave, and beautiful. Although she is initially resistant to becoming a tinker she embraces the identity when she comes to recognize the value of her talent. She is inexperienced, but a good problem solver.
Tinker Bell is a free spirit, she is what she is, says what she says and doesn’t give a care what others may think, and seems happy to tell people they are a silly ass ;)
She does however endear herself to everyone in spite of her jealous ways and spiteful character. She would lay down her life for Peter and finds it difficult to compete with his attention to other adoring female company.
Tinker Bell is jealous of other females, mermaids and Princess Tiger Lily and Wendy.
Her possessiveness is not a good characteristic and will lead to downfall! She can be easily impatient and annoyed, yet she is extremely loyal..
Tinker Bell is a free spirit, she is what she is, says what she says and doesn’t give a care what others may think, and seems happy to tell people they are a silly ass ;)
She does however endear herself to everyone in spite of her jealous ways and spiteful character. She would lay down her life for Peter and finds it difficult to compete with his attention to other adoring female company.
Tinker Bell is jealous of other females, mermaids and Princess Tiger Lily and Wendy.
Her possessiveness is not a good characteristic and will lead to downfall! She can be easily impatient and annoyed, yet she is extremely loyal..
Jasmine ❤ Aladdin
Princess Jasmine is incredibly independent and strong-willed princess who is not interested in finding a man. She isn't afraid to speak her mind, no matter who she's up against. Jasmine won't hesitate to stand up for what's right, mostly for the safety of others as opposed to herself.
She is very clever, sensitive, kind-hearted and wishes to help the less-fortunate and live a simple life.
She ends up falling in love with Aladdin, be grudgingly at first, because she thinks he is a prince - unlike other Disney Princesses, she does not want to marry a prince.
Jasmine is extremely compassionate and caring. Towards her kingdom, her family, her friends, and especially Aladdin, whom she treats as a best friend, as well as a lover. Together, the two share a strong bond, always open to each others tendencies and ideals, and always looking out for one another.
However, Jasmine is not without her flaws. She can, at times, be too fussy and opinionated, as well as incredibly stubborn, short-tempered.
Anyway she wants to live a life where she's free to make her own choices. She is romantic and a dreamer who is fun-loving and brave!
She is very clever, sensitive, kind-hearted and wishes to help the less-fortunate and live a simple life.
She ends up falling in love with Aladdin, be grudgingly at first, because she thinks he is a prince - unlike other Disney Princesses, she does not want to marry a prince.
Jasmine is extremely compassionate and caring. Towards her kingdom, her family, her friends, and especially Aladdin, whom she treats as a best friend, as well as a lover. Together, the two share a strong bond, always open to each others tendencies and ideals, and always looking out for one another.
However, Jasmine is not without her flaws. She can, at times, be too fussy and opinionated, as well as incredibly stubborn, short-tempered.
Anyway she wants to live a life where she's free to make her own choices. She is romantic and a dreamer who is fun-loving and brave!
Belle ❤ Beauty and the Beast
Belle is your quintessential girl-next-door princess. She is interested in books and reading, which makes her an outcast in her French village. She has gained a significant amount of intelligence over the years due to her love of books, providing her with an amazing vocabulary, active imagination, and an open mind.
No matter how much backlash she receives from her neighbors, she does not conform to the norms of her village and continues to dream.
Belle isn't shy, nor is she afraid to speak her mind. She is very confident and outspoken in her opinions, and seldom likes being told what to do. She is so compassionate, selfless, unconventional, stern, curious.
She is patient and kind-hearted, giving the selfish Beast a chance when no one else would…
No matter how much backlash she receives from her neighbors, she does not conform to the norms of her village and continues to dream.
Belle isn't shy, nor is she afraid to speak her mind. She is very confident and outspoken in her opinions, and seldom likes being told what to do. She is so compassionate, selfless, unconventional, stern, curious.
She is patient and kind-hearted, giving the selfish Beast a chance when no one else would…
Friday, March 20, 2015
How to add tabs to a blog to navigate?!
You might be wondering how to add tabs to your blog according to the labels you add or the topic that the posts relate to. Simply to divide the topics in to specific categories.
But first you have to label your posts according to the category of the topic. See how to label the posts here.
Adding the Tab bar in to the Layout
<a href="http://castakai.blogspot.com/search/label/Technical!" class="navitabs" title="Technical!">Technical!</a>
Customize the added tab
a.navitabs, a.navitabs:link, a.navitabs:visited {display:block; width:140px; height:25px; background:teal; border:2px solid black; margin-top:2px; text-align:center; text-decoration:none; font-family:verdana, arial, sans-serif; font-size:12px; color:white; line-height:25px; overflow:hidden; float:left;}
a.navitabs:hover {color:white; background:grey;}
#navibar {width:760px; margin:0 auto;}
/* Navigation tabs end */
But first you have to label your posts according to the category of the topic. See how to label the posts here.
Adding the Tab bar in to the Layout
- Go to you blog
- Click Design in the right hand top corner
- Click Layout
- Click 'Add a Gadget' under the blog title
- From the pop up window select HTML/JavaScript option and click the plus mark
- Now you will get a pop up window with a title and content field
Keep the title field empty and paste the bellow HTML code to your content field<!-- Navigation tabs start --> <div id='navibar'> <a href="YourDestinationLink" class="navitabs" title="Tip">TabDisplayText</a> <a href="YourDestinationLink" class="navitabs" title="Tip">TabDisplayText</a> <a href="YourDestinationLink" class="navitabs" title="Tip">TabDisplayText</a> <a href="YourDestinationLink" class="navitabs" title="Tip">TabDisplayText</a> <a href="YourDestinationLink" class="navitabs" title="Tip">TabDisplayText</a> <div> <!-- Navigation tabs end -->
- You can add as many lines as you want depending on your requirement of adding tabs.
<a href="http://castakai.blogspot.com/search/label/Technical!" class="navitabs" title="Technical!">Technical!</a>
- Click Save
- Your tabs will get added!
Customize the added tab
- Click Design > Edit HTML
- Search for the
]]></b:skin>
code line - Paste the bellow CSS code above the code line
a.navitabs, a.navitabs:link, a.navitabs:visited {display:block; width:140px; height:25px; background:teal; border:2px solid black; margin-top:2px; text-align:center; text-decoration:none; font-family:verdana, arial, sans-serif; font-size:12px; color:white; line-height:25px; overflow:hidden; float:left;}
a.navitabs:hover {color:white; background:grey;}
#navibar {width:760px; margin:0 auto;}
/* Navigation tabs end */
Do the necessary changes you want according to your taste.
- You can change the color, height, width, font ... etc.
- After the changes your tab will be displayed as bellow :)
How to manually generate your SSH Key in Mac OS X?!
- Open the Mac OS X Terminal
- (Finder > Applications > Utilities)
- Double-click the Terminal application
- The Terminal window opens with the command line prompt displaying the name of your machine and your username.
How to generate a SSH Key?
SSH key consists of a pair of files. One is the private key (which you should keep to your self. Do not share this key with anyone!) and the other is the public key (this will be used to log into other machines).
- To start the key generation process
ssh-keygen -t rsa
- When you execute this command, the ssh-keygen utility prompts you to indicate where to store the key.
- Press the Enter to accept the default location.
- The ssh-keygen utility prompts you for a passphrase. (Here you can skip the step by pressing Enter without giving a passphrase)
After you confirm the passphrase, the system generates the key pair. - Your identification has been saved in key.txt.
- Your public key has been saved in key.txt.pub.
- The key fingerprint will be shown as bellow :
7d:4d:bb:5c:d1:45:01:ae:a3:19:ff:7b:dd:8c:28:b3 NAME@MAC.local
The key's randomart image is:
+--[ RSA 2048]----+
| ..o+|
| . o|
| ....|
| . .o ..|
| S..o. o .|
| =... o |
| o . .ooo|
| o o ..+|
| E+ oo |
+---------------------+
- Your private key is saved to the id_rsa file in the .ssh directory.
- Your public key is saved to the id_rsa.pub file.
You have to give the public key to the server admin or the connection you are going to access.
Using the Private Key (Do not reveal this to anyone)
- Open the file you keep the Private Key with the text editor. Name you file with a name you want. For this I am calling it privateKey.txt.
Paste in the private key and save the file.
- If you are using the terminal: vim privateKey.txt
When the empty file is opened, press i in your keyboard to get into insert mode, paste the key, press ESC and then :wq to write/save and exit from the open file.
- After saving the file change the permissions to 600 or 400. (this is a must)
chmod 600 deployment_key.txt
- Now log in using the SSH client.
- Load the key in file privateKey.txt to log in to the user (UserName) to IP (xxx.xxx.xx.xx)
ssh -i privateKey.txt UserName@xxx.xxx.xx.xx
- Now you will be asked whether you are sure to connect. Type yes and press Enter.
Then you will be asked to enter a password for your key (if you have one).
After the step you will be logged in to the server.
Saturday, March 14, 2015
How to create a LDAP from Apache Directory Studio?
To start creating a LDAP you need to have ApacheDS, Apache Directory Studio downloaded and installed.
You can download and install them from ApacheDS and Apache Directory Studio.
(Default instance of the Apache DS is : user name is ‘uid=admin, ou=system’ and Bind password is: ‘secret’)
If you want to add an admin user,
* If you wish to work with tenants in a product, you can add ou=Tenants to this structure as well by simply following the previous steps.
By adding ou=Tenants you can organize your structure well in the tenant creation flows without messing up the directory structure.
You are now done with creating a sample structure :)
If you want to view the data in your structure you can view that in the created LDIF.
You can modify data in this file as well to make changes to your created structure.
You can download and install them from ApacheDS and Apache Directory Studio.
- Open Apache Directory Studio.
- From the left side bottom corner click 'Show view as a fast view' icon
- A drop down menu will appear. You can select and add the item you want from that.
- Go to LDAP server section.
- Click the New Server icon. New LDAP server window will appear.
In this I will be selecting the new version and click Finish.
- The ApacheDS 2.0.0 will be added as shown in the image.
- You can create a LDAP servers as you want (Click New > New Server) by selecting the versions.
- Select the created server and click the Run button to start the server.
- Create a connection to the server.
Right click > Create a Connection. Give a name as you prefer.
(Default instance of the Apache DS is : user name is ‘uid=admin, ou=system’ and Bind password is: ‘secret’)
- Go to the Connections and double click the name of the new connection you created.
- If it is properly created, you should see an outline of the Directory Information Tree (DIT) in the LDAP Browser.
- Now you can create the structure of the LDAP as you want it to be.
- Right click on the node dc or ou and select New > New Entry. The New Entry wizard appears.
- Entry Creation Method window will appear. Select the Create entry from scratch radio button and click Next.
- Find the organizationalUnit object. Select it and click Add button.
Click Next.
- In the RDN field type ou.
In the value field type Groups.
Click Next.
- The Attributes window will appear. You can see the added values.
Click Finish.
- Now you can see the ou=Groups is displayed in the Browser pane.
- To add ou=Users do the same steps as above.
Adding users
- Right click the ou=users entry. Select New. Select New Entry.
- Entry Creation Method window will appear. Select the Create entry from scratch radio button and click Next.
- Find inetOrgPerson object. Select it then click Add button.
Click Next. - In the RDN field type cn. In the value field type the user name you want to add.
- Click Next. The Attributes window will appear.
- Under the sn attribute, enter Weerawardana (sn stands for Surname)
- We need to add a username for this user.
Right-click on the same window. Select New Attribute. The Attribute Type window will appear.
- In the 'Attribute type' field, type uid. (This will serve as the username of the person)
Click Next, then click Finish.
- You will be directed back to the Attributes window.
- For the uid attribute value, type kweerawardana
- Now we should add a password for this user.
- Right click on the same window. Select New Attribute. The Attribute Type window will appear.
- In the 'Attribute type' field, type userPassword. This will serve as the password of the person.
Click Next, then click Finish.
- You will be asked to enter a password. Enter pass as the new password.
- Keep the value for the Select Hash Method field as you prefer. As Plaintext, SHA etc..
Click OK.
- A new entry will be added under the ou=users. The new entry is cn=Kala Weerawardana.
- You can add more users by following the same steps as above.
Add the Authorization Levels
- Right click the ou=groups entry. Select New > New Entry.
The Entry Creation Method window will appear. - Entry Creation Method window will appear. Select the Create entry from scratch radio button and click Next.
- Find the groupOfUniqueNames object. Select it then click Add button.
Click Next.
- In the RDN field type cn. In the value field type User
Click Next. The Attributes window will appear.
- There will be an uniqueMember attribute.
One uniqueMember attribute will represents one user.
- So if you have more to add,
Right-click on the same window. Select New Attribute. The Attribute Type window will appear.
- On the Attribute type field, enter uniqueMember.
Click Next, then click Finish.
- In each entry you add the dn of each user.
ex : cn=Kala Weerawardana,ou=Users,dc=wso2,dc=com
- Click Finish after adding all.
- A new entry has been added under the ou=groups. The new entry is cn=User.
If you want to add an admin user,
- Right click the ou=groups entry. Select New > New Entry.
The Entry Creation Method window will appear. - Entry Creation Method window will appear. Select the Create entry from scratch radio button and click Next.
- Find the groupOfUniqueNames object. Select it then click Add button.
Click Next.
- In the RDN field type cn. In the value field type Admin
Click Next. The Attributes window will appear.
- There will be an uniqueMember attribute.
One uniqueMember attribute will represents one user. You can follow the previous steps.
- Click Finish after adding all.
- A new entry has been added under the ou=groups. The new entry is cn=Admin.
* If you wish to work with tenants in a product, you can add ou=Tenants to this structure as well by simply following the previous steps.
By adding ou=Tenants you can organize your structure well in the tenant creation flows without messing up the directory structure.
You are now done with creating a sample structure :)
If you want to view the data in your structure you can view that in the created LDIF.
- Right click on your entry.
- Click Export > LDIF Export
- Data To Export window will pop up. Click Next.
- Click Browse button. Give a name for the file and the location to be added.
- Click Save.
Click Finish.
You can modify data in this file as well to make changes to your created structure.
Subscribe to:
Posts (Atom)