Pages

Friday, 13 July 2012

Sony Ericsson k790 i not working

My Sony Ericsson 790i had shutdown and when I pressed the power-on button it showed a white screen and phone vibrated 2 times after every few seconds.
For the last few days phone software behaved incorrectly by shutting down without notification and battery meter did not showed as charged many-a-times.
I posted this on http://forums.se-nse.net and they helped me in reviving my phone. Below is the link to the post:
http://forums.se-nse.net/topic/63828-se-790i-white-screen-vibrating-2-times/page__gopid__947459&#entry947459

Typical solution is to flash your phone.
Another useful link is http://forums.se-nse.net/topic/23459-tutorial-general-usage-xs-v31/

Friday, 17 February 2012

ojaudit - create custom rule with JDeveloper 11g R1 - Part 1

After a long-long struggle I was able to create and execute a customized rule for ojaudit in JDeveloper 11g R1.
If you are struggling to separate ojaudit from JDeveloper ... forget it! ojaudit cannot be separated from JDeveloper. It needs the installed folder of JDeveloper to work upon.

The audit framework is very handy and company coding standards can be verified upon by leveraging on this.

Now... for your customized rule I have taken an example that John 'JB' Brock has mentioned in his blog
https://blogs.oracle.com/jdevextensions/entry/don_t_fear_the_audit where he has described customization of rule for JDeveloper 11g R2.

This custom rule checks your view objects and checks the FetchSize and returns a message if your view-object fetches more than 100 objects.

Start with creating a new extension project

Thursday, 12 January 2012

Phases in ADF Lifecycle

Phases in ADF Lifecycle

ADF Lifecycle has 9 phases as follows:
  1. Initialize Context: In this phase value of associated request, binding container and lifecycle are set.
  2. Prepare Model: In this phase model is prepared and initialized. In this phase page parameters are set and methods in the executable section of the page definition of the ADF page are executed.
  3. Apply Input Values: This phase handles the request parameters. These may come by adding the request parameters in the URL or as a result of HTML form post action. A list of events is build using these request parameters. These are actually mapped to the bindings in the pageDef. This phase resolves the list of request parameters bind to attributes in the page def. This results into a list of updatedValues which is used in Update Model phase.
  4. Validate Input Values: This phase validates the list of values built in the Apply input values field with model.
  5. Update Model: After validation of input values data model is updated with the list of values created in apply input values phase.
  6. Validate Model Updates: Updates in the previous phase are then validated by calling the associated lifecycle's binding container .
  7. Process Component Updates: This phase handles any events in the list built during the apply input values phase. Named events as well as all the events tied to the databindings created in the pagdef are handled in this phase.
  8. Metadata Commit: This phase commits the runtime metadata changes to the model. This phase is always executed before prepare render phase.
  9. Prepare Render: This is the final phase where page is sent for rendering. prepareRender event is sent to all the registered listeners. This notification signals bindings to prepare or process the data for rendering. Binding container is also refreshed. This helps in updating any changes that happened during validation phases.

Thursday, 3 November 2011

Use Airtel 450TC1 ADSL2+ router for Tikona

This is pretty straightforward.

I have banged my head throughout the sites but didn't find anything to use 450TC1 ADSL2+ router that works with Airtel to be changed to Tikona or any LAN based internet provider.

So here is the solution :
(1) Login to the console of your router.
(2) Go to the "LAN" tab under the "Interface Setup" tab.
(3) Against the "DHCP" section select the radio-button "Relay" instead of "Enabled".
(4) Save the setting and restart your router.

After the above mentioned setting you can connect to Tikona network using there ip address for login page (1.254.254.254 in my case)


Bingo...!!!
No other setting needed. No TCP/IP setting needed for IP address or anything else.

Wednesday, 28 September 2011

Carbohydrates reality


Carbohydrates are your body's main source of energy. When you ingest carbohydrates your pancreas releases a hormone called insulin. Insulin is very important because:

1) It grabs the carbohydrates and either stores them in the muscle or stores them as fat.

2) It grabs the amino acids (protein) and shelters them inside the muscle cell for recovery and repair.

Most people that are overweight and are in low fat/high carbohydrate diets got into that condition because they are eating an overabundance of carbohydrates. Too many carbohydrates cause a huge release of insulin. When there is too much insulin in the body, your body turns into a fat storing machine. Therefore, it is important that we eat no more carbohydrates than necessary and that we eat the right amount of carbohydrates.

Now that we have talked about the importance of having just the right amount of carbohydrates, let's talk about which are the best sources of carbohydrates.

Carbohydrates are divided into complex carbohydrates and simple carbohydrates. The complex carbohydrates give you sustained energy ("timed release") while the simple carbohydrates gives you immediate energy. It is recommended that

List of High-Protein Foods and Amount of Protein in Each

To know more click here.

Beef

  • Hamburger patty, 4 oz – 28 grams protein
  • Steak, 6 oz – 42 grams
  • Most cuts of beef – 7 grams of protein per ounce

Chicken

  • Chicken breast, 3.5 oz - 30 grams protein
  • Chicken thigh – 10 grams (for average size)
  • Drumstick – 11 grams
  • Wing – 6 grams
  • Chicken meat, cooked, 4 oz – 35 grams

Fish

  • Most fish fillets or steaks are about 22 grams of protein for 3 ½ oz (100 grams) of cooked fish, or 6 grams per ounce
  • Tuna, 6 oz can - 40 grams of protein

Pork

Monday, 22 August 2011

Chicken Teriyaki


Chicken Teriyaki




Ingredients for the chicken marinade:
· 4 lbs of dark chicken meat (if you have a butcher shop near buy, you can get them easily. If you do not, then you have to buy some skinless chicken thighs, bone them, but do not trim off the fat. No swapping to chicken breast, as it is not going to come out good at all!)
· 3 cups of water
· 1/2 cup vegetable oil
· 1/2 tsp garlic powder
· 1/2 tsp white pepper
· 1/2 cup Kikkoman Soy Sauce
· 1/2 cup Sherry cooking wine or a 1/2 cup substitute which I use (which I will explain a little later)


Sherry Wine substitute:
Here is a good Sherry Wine substitute for those who do not want to get their chicken drunk :)