How to burn an image file to USB in Ubuntu Linux?

Tweet

This is a quick tip. In Windows, we’ve lot of free and paid alternatives to write an image file to USB device(e.g ImgBurn, Win32DiskImager). Let me explain my requirement. If I get a bootable ISO image file of an operating system like Ubuntu or moblin how would you do that if you’re in a Linux environment? . . . → Read More: How to burn an image file to USB in Ubuntu Linux?

How to check a given number is exact power of two?

Tweet

When I was digging into OpenGL texture mapping, I was checking with some sample code (I’m not remembering from where I downloaded that), inside the code, I found a simple line to check whether the texture dimensions are power of two or not. If the texture is non power of two, the program had to check . . . → Read More: How to check a given number is exact power of two?