AWK SED Shell scripts and one liners commands examples

Handy AWK and SED ..frequently used one liners.

In this post I want to continuously update the most frequent and good awk and sed one liners we will use along with samples and examples in simple shell scripts.
1.To count the number of words in a string which are separated with special charters like ,
 # echo  "apple,mango,orange,goa" | awk -F, '{print NF}'
4
2.How to create and print the continuous variables in a loop after assigning the values to them
i=0
temp="MYTEMP"
echo $temp
while [ $i -le 4 ]
do
let i="i+1"
eval DYNVAR${i}=$temp$i
eval echo "Value in DYNVAR$i is \$DYNVAR$i "
done
3.in the nslookup <IP> output print only Valid hostname of that IP
nc041031:~ # nslookup 9.48.185.207 | awk '/=/ {print $4}'
nc185207.tivlab.austin.ibm.com.
4.in nslookup <Hostname> print only the valid IP of the corresponding host
nc041031:~ # nslookup nc185207.tivlab.austin.ibm.com. |  awk '/Address:/ {print $2}' | grep -v "#"
9.48.185.207
5.Cont ...



Technorati Tags: , , ,




Read more


ORA-01078 LRM-00109: could not open parameter file init.ora /oracle/product/

$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 8 00:41:36 2010
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/home/oracle/oracle/product/10.2.0/db_1/dbs/initdb_2orcl.ora'

If you are facing the above error while startup of oracle , possible reasons might be the init{ORA_SID}.ora file not accessible by oracle user which may be due to the init{ORA_SID}.ora file is not located in the default locations or it is not having the proper file permissions to read by oracle user.
In the abobe error messages the ORACLE_SID is db_2orcl, so the name of the init{ORA_SID}.ora file has become initdb_2orcl.ora. So the file might not be available in the default location.
Possible locations to locate init.ora file are as follows
$ORACLE_BASE/admin/$ORACLE_SID/pfile folder
[ or ]
$ORACLE_HOME/dbs folder

Check the name and location of the init-ora file. Then when starting the database specify explicity the location of the initialization file, i.e.

Startup pfile='<full-pathname-of-initialisation-file>'
Example :
SQL> startup pfile='/home/oracle/oracle/product/10.2.0/db_1/admin/db_2orcl/pfile/init.ora.8220089359'
ORACLE instance started.

Total System Global Area  167772160 bytes
Fixed Size                  1218292 bytes
Variable Size              62916876 bytes
Database Buffers           96468992 bytes
Redo Buffers                7168000 bytes
Database mounted.
Database opened.
SQL> select count(*) from tab;

  COUNT(*)
----------
      3663

SQL> quit

Reference : [1][2][3]
Oracle Basic FAQs
Technorati Tags: ,

Read more


Interface Vs Abstract class Java

Abstract class vs Interface 
Type of methods: Interface can have only abstract methods. An abstract class can have abstract and non-abstract methods. From Java 8, it can have default and static methods also.
Final Variables: Variables declared in a Java interface are by default final. An abstract class may contain non-final variables.
Type of variables: Abstract class can have final, non-final, static and non-static variables. The interface has only static and final variables.
Implementation: Abstract class can provide the implementation of the interface. Interface can’t provide the implementation of an abstract class.
Inheritance vs Abstraction: A Java interface can be implemented using the keyword “implements” and an abstract class can be extended using the keyword “extends”.
Multiple implementations: An interface can extend another Java interface only, an abstract class can extend another Java class and implement multiple Java interfaces.
Accessibility of Data Members: Members of a Java interface are public by default. A Java abstract class can have class members like private, protected, etc.

What is difference between functional interface and interface?

Any interface with a SAM(Single Abstract Method) is a functional interface, and its implementation may be treated as lambda expressions.

Interface can have any number of abstract methods. 

A functional interface is an interface annotated with @FunctionalInterface annotation and contains only one abstract method, 
but the interface can have multiple default methods. 
Because Runnable is a functional interface so has only one abstract method run(), we can create a Thread object using a lambda expression.
Thread t = new Thread(()-> System.out.println("Runnable Interface"));

Java Predefined-Functional Interfaces
Java provides predefined functional interfaces to deal with functional programming by using lambda and method references.

You can also define your own custom functional interface. Following is the list of functional interface which are placed in java.util.function package.
Supplier, Consumer , Function Predicate etc.

Interface :
Interface is a group of related methods with empty bodies(Signatures). It is not a class. One class may implements multiple interfaces thus helps to achieve multiple inheritance. All the methods in interface are by default abstract with out any abstract key word.
Examples for interface :
interface vehicle {
void startVehicle(Sting commandToStart);
void stopVehicle(String commandToStop);
void speedUp(int speed);
}
to implement the above interface we can have mutiple classes like Bycycle, MotorBike, Car etc.
class MotorB{
}

Abstract Class :
A class declared as abstract - It may or may not contain abstract methods. It can't  be instantiated but can be subclassed. Means an abstract class can only be subclassed which mean it can be inherited from. In simple words other classes can inherit an abstract class but they can't initiate the abstract class. One class can extend only one abstract class.
Abstract method :

An abstract method is a method that is declared without an implementation (without braces, and followed by a semicolon), like this:Abstract classes are classes that contain one or more abstract methods.

Example:
public abstract class vehicle{

//Non abstract method
void int speedUp(int speed){

spedd = speed + 10 ;

}

abstract void stopVehicle(String commandToStop);

}

public class thunderBird extends vehicle{

void stopVehicle(String commandToStop)
{

commandToStop;

}

}

So in the above abstract class vehicle there are two methods one is speedUp which is non-abstract method and one abstract method stopVehicle . So the classes that extend this abstract class must define the abstract methods declared in abstract class other wise the class itself must declared as abstract class again.

An abstract method is a method that is declared, but contains no implementation.
Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
An Abstract class without any implementation just looks like an Interface.

Abstract class can implement interface ..

abstract class jumbo implements vehicle {
  void startVehicle(Sting commandToStart){

start ;

}
void stopVehicle(String commandToStop){

stop ;

}
void speedUp(int speed){

speed = speed + 20;

}
}

Refer some more pages on the same topic here [1][2][3][4]

Technorati Tags:

Read more


Wishu you a happy new year 2010


Krishna's page

This was sent to me by one of my friend, this suits to any new year ... hope at least we will pick one thing to change in our new year ... I wish all my blog readers a fabulous and illuminating new year which will make all your dreams come true .

THE HANDBOOK for 2010

Health:

1.       Drink plenty of water
2.       Eat breakfast like a king, lunch like a prince and dinner like a beggar
3.       Eat more foods that grow on trees and plants and eat less food that is manufactured in plants
4.       Live with the 3 E's -- Energy, Enthusiasm and Empathy
5.       Make time to pray
6.       Play more games
7.       Read more books than you did in 2009 
8.       Sit in silence for at least 10 minutes each day
9.       Sleep for 7 hours
10.     Take a 10-30 minutes walk daily. And while you walk, SMILE

Personality:


11.    Don't compare your life to others. You have no idea what their journey is all about
12.    Don't have negative thoughts or things you cannot control. Instead invest your energy in the positive present moment
13.    Don't over do. Keep your limits.
14.    Don't take yourself so seriously. No one else does.
15.    Don't waste your precious energy on gossip.
16.    Dream more while you are awake
17.    Envy is a waste of time. You already have all you need..
18.    Forget issues of the past. Don't remind your partner with His/her mistakes of the past. That will ruin your present happiness.
19.    Life is too short to waste time hating anyone. Don't hate others.
20.    Make peace with your past so it won't spoil the present.
21.    No one is in charge of your happiness except you.
22.    Realize that life is a school and you are here to learn.  Problems are simply part of the curriculum that appear and fade away like algebra class but the lessons you learn will last a lifetime.
23.    Smile and laugh more.
24.    You don't have to win every argument. Agree to disagree...

Society:


25.    Call your family often.
26.    Each day give something good to others.
27.    Forgive everyone for everything..
28.    Spend time w/ people over the age of 70 & under the age of  6..
29.    Try to make at least three people smile each day.
30.    What other people think of you is none of your business.
31.    Your job won't take care of you when you are sick. Your friends will. Stay in touch.

Life:

32.    Do the right thing!
33.    Get rid of anything that isn't useful, beautiful or joyful.
34..    GOD heals everything.
35.    However good or bad a situation is, it will change..
36.    No matter how you feel, get up, dress up and show up.
37.    The best is yet to come..
38.    When you awake alive in the morning, thank GOD for it.
39.    Your Inner most is always happy. So, be HAPPY ALWAYS

Read more


ETV Dhee 3 - 2010


With the re-entry of jonni master I decided to start new post on ETV D3 ...enjoy maadi. here it is ..
ETV D3 Part 1

30 Dec 09
As expected the ETV managemnted respected the viewers opinions and realized the viewers opinions; finally Jani/Johnny master is back with pratap to show. Though there were poor reasons mentioned for his re-entry we are happy to see jani on stage again. He entered stage by dancing for very famous song "Chinnari ponnari kittaya ..." ; He reminded the comments made by his co participant in the last elimination round which are really invalid. Todays show is so bright with lovely Udhaya bhanu's costumes and his entry with the Welcome song ...

Vivek(Satya's) : He danced very regularly with his routine rocking steps , over all its not quite expected from satya master and his contestetnt Vivek for the song from Billa. Lack of formations
Leelavathi(Sujatha's) - Donga Donga Koncham neeru koncham nippu - chandralekha song: Littile mistakes clearly found though the leelas dance is good.
Satya (Raghu's) Bharateeyudu - Tepparilli poyaka chittemma ... Wonderful formations by the supporting dancers. Really the somersault feet done by the Satya is awesome. Neat and clear composition by Raghu and the boys co-ordination helped the dance.
Pooja (Kapil's) : Musugu veyyoddu ..from Khadgam movie - Very very less formations which very simple even we can see any normal dances. When required for a specific formation round they should really show some thing.
Prem Gopal (Sujaths's) : Sivoham song ...its far better than his previous dances.
 31 Dec 09
Aired on 06 Jan 2010 : Mismatch round
chinna (Sudheer's) : jaanavule .. ninne ninne (Desamuduru) ..regular routine and normal steps nothing special and great in sudheers composition. Never expected it from such a expected coregrapher like sudheer. Keerthi; chinna's partner has excelled at het best but not so pleasing performance.
Kaveri (Raghu's) : Adireti dressu .. (Bharateeyudu). Original song rich look has presented in a mass way by presenting dancew of a cleaning girl. Overall I like the expressions of Kaveri and the dance is not bad.
Prem Gopal (Sujata's) : Tribes dancing for rati ti ti  ..(Shivaji ) song was good and good mesmerizing steps by prem. Only problem is that song and dance are not mismatching. Concept like dance fight between two tribes is good with a final punch at the end. simple but perfect performance.
Pooja (Kapil's) : Aha Kanne chilaka(Kalyana Ramudu - Kamal's movie) a funny old song. Dance was average and expressions was poor. tried for some comedy steps, which proved him a normal choreographer. Once the beat changes the dancers got some scope to show their best. It suits for a funny round not for a mismatch round.
Leelavathi (Sujathas's) : Mayadari sinnodu ..(Devadasu-new)Leelavathi was good did her best as like evry time and some movements and formations are simply fabulous. Good song selection for mismatch round, Every body pleased with this performance. 

07 Jan 2010 
Pratap (Jaani's) : Folk song Tirumala thirupathi venkatesa .. was selected danced with some western styles. Perfect mismatch song and dance. Pratap has done very well but due to the boys mistake everybody annoyed with performance.
Rajeswari(Satya's) : Adi go nartanasala song was danced in folk and non western touch, Rajeswari was not up to her mark may be due to her dress and whole performance is not so pleasing. too clumsy dance with many jumps in the movements, not even masters but also viewers are not happy with rajis dance.
Satya (Raghu's): Paataki pranam (Vasu) was chosen to dance in a most funniest manner with poojari getup and postures. It was really a cool performance with neat steps and good choreographer.
Vivek (Satya's) : Takita tadimi (Saagara sangamam) song was chosen with joker getup but its not a clean dance choreography  may be due to the usage of fart concept. Over all I don't like  this performance though the
Haranath reddy (Kapil's) :Mukkala (Premikudu) song was dance by tiger people... :) puli dance for mukkala song is perfect mismatch song and concept was very clear due to perfect show by Hari. I like it compared to all performances.
Climax : Leelavathi won 10K. Red room discussions and final conclusions/judgments eliminated Pooja.

Aired on March 3 2010 :
After a Long time some what I like this episode though we are missing our favorite dancers and choreographers. This is semi final episode which has only Raghu, Sujatha and Satya masters. Sujatha madam did not attend the show due to some reasons and her daughter- Pooja pranced the show. This time the best thing I like in this is there more than two judges , I never like the one man show which is biased always. This time Tarun, Vrinda and Rekha prakash all together are in the judgment panel.
and coming to episode highlights there 2 rounds one is partner round and another master-contestant round. In the partner round vivek has done for one English album along with Pratap I think, I felt their sync is not so good. Raghu master contestant satya has partnered with Prudvi (winner of D2) and danced very cool and cute. Looks like in the D2 semifinals partner round satya has helped prudvi and now the vice versa. And the best performance I felt is by Leelavathi along with Pooja (Sujata daughter). Her confidence levels very high and grace and ease in the dance is awesome. I like her performance. And coming to master contestant round satya master and vivek has not excelled as expected but the Raghu master and satya combination was  wonderful. Though raghu dominated , satya tried his best to his energy levels. But as whole the best dancer of the episode is Leelavathi. She has done really a great job. awesome performance by her in the final performance. I want Raghu to win the title and leelavathi to be in the finals.
This episode videos can be found at here http://www.mctalkies.com/misc/mc-special/12595-dhee-3-3rd-march-grand-finale-with-allu-arjun.html http://www.mctalkies.com/misc/mc-special/12595-dhee-3-3rd-march-grand-finale-with-allu-arjun.html


D2 Fianls Aired on 10 March 2010:
Today's episode is pranced by  Mr. Perfect Allu Arjun. There are three judges Tarun master, Rekha madam and Brinda madam. Finalists Vivke(Satya master's) and Satyanarayana (Raghu master's) contestants had danced wonderfully up to their energy. Results are never expected. But the Winner is Mr satyanarayana. He is awarded D3 title and 10 lacks (1 Million) money. Raghu proved his challenge he has done in the selections time.

All Videos for ETV D3 in one link ...click this
ETV Feed back lank click this
SMS 5600606 Format Urname Winner_Name  Ex : Krish Vivek send it to 5600606

Read more


Trip to GOA..go go GOAAAA......

Go go GOAAAAAAA......
This trip satisfied the yearning of my soul and there is no limit for the joy we had in Goa. The most coveted place to rock for many of the youth.As like every trip this is another most awaiting trip for us, (We all are very busy for making artificial intelligence :( to lead natural life.) As planned earlier we started on 23rd Dec 2009 by train(6589/Rani Chenamma) from Bangalore to reach Londa. As expected train started bit late around at 9:20 PM. Actually to be there at 24th mid night we started on 23 rd night from Bangalore, to really sense the unbounded joy of Merry Christmas.


By morning 7 AM we reached Londa station which is a very rural village with the mixed culture of Karnataka and Maharashtra. We were sleeping completely so not knowing the station in between from Bangalore to Londa. There is poor transportation from Londa to Goa which is around 120 KMs far. After so much waiting we decided to take one cab,by paying around 1200 Rupees. We are five people by joining with another 5 more people we started our journey to-wards Goa. The people joined with us are very familiar to Goa, as they said it was 32nd visit to Goa. So they shared their tips to follow in Goa like where to stay? what to see ? etc etc. It was good time with those people. On the way we had breakfast at one village and proceeded to Goa. Around at 11 we reached Mapusa. One of my friend's friend Mario has gave shelter there in his flat to stay for 4 days. Really a big thanks to Mario other wise we would have end up in paying more than 3K per day in Goa hotels.

After quick fresh-up we went to Mapusa which is famous for its market, it was considerably big one and it has every thing starting from apples to alcohols. This market has many whole-sale shops including liquors. The liquor prices are almost 40 % less compared to other states in India. Glasses, caps and eatables are main things in our shopping then moved to Calangute Beach. The lovely Calangute beach, also known as the 'Queen of Beaches' is simply super.International tourists visit this beach in hordes.I am sure this beach is crowded with both international and domestic tourists in any day during seasons. Here only we spent most of our evenings playing in beach and enjoying water sports. We played different rides like bumper ride, banana ride , para sailing etc. Among all Banana ride became thrilling one as one of us made it fall in between the ride, that was my first experience wearing life jacket and floating in the sea that to un-expectedly falling in between the ride ...ohhh it is damn good not enough to say simply with words.

I might have seen many beaches in the world but the joy and liveliness displayed by everything around you in Calangute beach cannot be found anywhere else.
Though it is sun you will definitely feel the fun in the sparkling sand and splashing beach tides. This is the real holiday for me as this is first time I felt in my life that a beach can also be a bustling place when you are with your friends in that place. It will be the perfect celebration with gusto in your holiday if you are in Goa.
For someone who would like to relax in a quiet and secluded beach, there are some beaches like the Betul beach, the Palolem beach or even the Bambolim beach. So no matter what, Goa has something for everyone to enjoy and remember for a lifetime.




After a gusto play in water we spent time in eating and drinking under a beach umbrella and bed,parllely we played snookers in the moon light on the bays of beach. I never imagined of playing pool in the beach side. It was really splendid and memorable game. All the beaches are really the prefect gateways for a tired travelers. The hours passed like seconds we are on dance floor continuously rocking to sync with shacking asses on the floor. It was 12 PM ..."Merry Christmas" cheers ...snuggles,cuddles Hugs ...Sky is not dark that time it was illuminating with all the best possible colors in the world. It went on for almost till 3 AM there is no limit and bounds...
This is a new place may be a heaven for us for few hours we are the kings and emperors served by many angels. This heaven has streets filled with gorgeous women.... OMG you made this nature the striking one by just creating beautiful women.


These are the beaches with palm trees I saw for the first in my life, with crowded people who are only searching for merry in the sparkling sands. It is just one hour to see aurora, we reached our flat and went to bed around at 5:45 AM. All of us missed our mobile alarms to execute next day plans not once but more than thrice. At last we finished the daily routines and reached again Calangute via Mapusa to grab "pilots"(two wheeler motor cycles). We payed around 400 bucks for one day rent of each bike(Honda Activa). We quickly moved to Anjuna Beach after having lunch at Star light restaurant near the beach. The Anjuna Beach is one of the most popular beaches in Goa. Also known as the 'freak capital' of the world, this beach was the favorite haunt of the hippies or the 'flower generation' in the sixties. Its popularity has still not waned going by the thousands of people who visit it everyday. However the main attractions of this beach apart from its picturesque settings are its full moon parties that go on through the whole night and the weekly flea market where you can pick up everything from clothes to old bikes. In fact if you are good at bargaining, you can walk away with some very great deals.

Then we just want to have the same feel what yesterday we had hence we moved to Calangute beach from Baga beach, basically it is an extension of the Calangute beach; and tried repeating what ever we have done the other day but the dance floors were stopped bit early this day and with no other options in hand we started returning to Mapusa from Baaga. We were just staring at all the crowd and their postures simply sitting near Tito's beach, on our work we found a beautiful lady we were recollecting the beauty she resembles some thing like Charmi Telugu film actress, with in no second we noticed a guy who seems to be Devi sri prasad, famous music director in south film industry, in no time we confirmed our eyes and mind and rushed to wards them, they were little shocked by our eagerness to meet them. They felt little embracing as there is already a big talk in the industry about their friendship. Ultimately with devis request we had only a snap with him but not with Charmi. By the way Devi's younger brother Vidya Sagar (singer and Mandolin player) is also present along with them.No doubt this is the best night life and party time I had till in my life.
   

The next day reminded us that our trip is coming to an end and we were in tremble mood and started our bike riding to cover the rest of best spots in the Goa, after having the breakfast in Ashoka Udipi hotel near Mapusa market we moved to wards Aguada.The Aguada beach,(also called sinquerim) located on the Aguada Bay in North Goa is one of the most beautiful beaches in Goa. Taj spa is just beside this beach.The imposing Aguada Fort is located near the beach with its fortifications almost kissing the seashore. A part of it has now been converted into a prison while a luxurious beach resort has come up on the remnants of this old fort.Most of know the famous song from Maniratnam's "Bombay"  movie "Urike chilaka...in Telugu" was shot here it self. After some time seeing dolphins here we moved further to visit Aguada fort.A spring within the fort provided water supply to the ships that called there, giving it the name "Aguada" (meaning 'water' in Portuguese). On the northern side, it provides a harbour for local shipping. The fort, at present, houses the central jail. A 19th century built lighthouse is situated inside the fortress.

Then moved toward panji to visit Miramar Beach, on the way we got a chance visit the beautiful roads of this panji city which are not only ultra posh but also cool and clean.Miramar Beach is situated 1 kilometer ahead of the confluence of Mandovi River and the Arabian Sea. It is situated on the way to wards Dona Paula, about 3 kilometers from Panjim, the capital city of Goa. Miramar Beach of Goa is also known as 'Gasper Dias'; but don't the reasons ...The Miramar Beach in Goa begins at the gulf and then culminates in the Emerald Coast Parkway. It is a golden beach fringed with palm trees. The soft sands of the beach makes it the best site for evening walks. Moreover, 'miramar' in Portuguese implies 'viewing the sea'. Tourists can get a glimpse of the majesty of the Arabian Sea from the Miramar Beach at Goa. There are many costly hotels to put up for the international tourists coming to Goa near this beach.

From miramar we moved to Dona Paula beach which is just less than 5 KM from there. The name "Dona Paula"  is reportedly  derived from the name of  the daughter of  one of Goa's Portuguese Viceroys,  who threw herself off the cliff  after she was refused permission to marry a local fisherman with whom she fell in love.By the ferry jetty, there is a whitewashed statue  sculpted by Baroness Von Leister; aptly named "Image of India". It depicts a couple both facing opposite directions, the man to wards the nations past and the woman to wards the future. For more info refer this link.

By this time my friends are too hungry and everybody are eagerly waiting to have lunch, spent too much time ot find a fine restaurant and finally did that in "Deewar" and then spent some time in window shopping latter on we went to River cruise in SANTA MONICA. This is the best cruise with family but due to nice music and show we also enjoyed a lot on river mandovi. Only thing is , it is too crowded.Its a one hour trip that costs Rs 150 per person. Cultural entertainment programme include troupes performing the Dekni Temple Dance, the Fugdi Dance and the Corredinho Dance (Portuguese peasant dance). A bit of sightseeing during the cruise is also on offer and you come across Reis Magos Church the Reis Magos Fort, the Aguada Fort and the Cabo Raj Bhavan to name a few.

We were totally jaded that day due to too heavy travel and heavy walk, but we have already booked tickets for 3-idiots movie in Panji - inox 10:15 PM show. Unfortunately the show was delayed for around 25 mins, though it got delayed and we are too tired we are really happy after seeing such a good movie. After a cold breeze drive we reached our flat in Mupsa from panji around at 3 AM in the night.

The next started very quickly due to early wake up, we have agreement with bike shop owner to return the bikes by 10 AM in the morning and we were able to do it exactly and sharply by that time. On the way most of us did some gifts shopping for their loved ones. So that is our departure day from Goa, its was really painful after sucah wonderful time there we got to depart from that place, we started from Calangute to VASCO DA GAMA by cab. Then after having lunch in Vasco da gama we moved to railway station and started our return journey by Train(02779/VSG SBC LINK EXP). When we saw our reservation status it was just RAC, all of us were down due too much body pains and tiredness but by god grace we got berths quickly in less than 2 hrs after start of that journey.

wait wait ..don't close the browser the fun is not over; there is some thing still left ... I strongly suggest any body to travel at least once in between Vasco da gama and Bangalore due to its best scenic views. Forest with deep valley, waterfalls, completely with lushly trees and tunnels ....oh my god you are the creator of beauty. Especially when we see the train after crossing the tunnel ...it was like an amazing feel ...Hope you will definitely squeeze some time from your routine life and plan your holidays in Goa for a memorable experiences after reading my ramblings on my Goa Trip...

Go Go Go Go GOAAAAAAAAAAAAA.....Relish your time ..Cherish Your memories
P.S : Actually due to lack of time and proper plan we missed to cover many churches and forts, but I'm sure we had what we ought to have.

Read more

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree