Category Archives: Useful Functions

How to ensure that filename is always unique ? [Ruby]

Hey guys! Happy New Year! I am glad to be back this year with some interesting news. Thank you for blasting my mailbox with your questions and suggestions! I will do my best to answer all of them as soon … Continue reading

Posted in Ruby, Useful Functions | Tagged , , , , , | 2 Comments

Java Helper Class: BMI calculator, lb to kg converter, kg to lb converter, feet to cm converter, cm to feet converter

Hey Guy’s, Long time no seen. Today I want to share with you Java helper class that I have designed for one  of the projects I am working on. This class will be useful for you, if your application works … Continue reading

Posted in Helper Class, Java, open-source, Programming Languages, Useful Functions | Tagged , , , , , , , , , , , , , , , , , , , , | 39 Comments

C Language: How to count digits of a number?

Often when you are writing a script, you need to know how many digits will your input have. Function that¬† I’ll share with you counts digits of an integer (“100” – 3 digits; “12”- 2 digits).¬† User inputs number, scripts … Continue reading

Posted in C, Useful Functions | Tagged , , , , , | 48 Comments