these are idioms i need to know what they are explain

1.Burning the candle on both ends.

2.by the skin of your teeth

Check these sites.

http://www.learn-english-today.com/proverbs/proverbs.html

http://www.idiomsite.com/