Many are asking me about this matter of how to properly validate a number using Regular Expression, so I decided to write this post to share with you from my experience and research. And most important thing that really bothers me, is that the internet is full of examples and solutions for exactly this task, but unfortunately most of them are incorrect or incomplete.
Sadly, Google stopped supporting this amazing software. Although it is still being able to install and use Picasa, Google decided to remove the download link. I have re-uploaded this installation file and made it available again. It is now available to download for Windows from the following link: Download Picasa Photo Organizer 3.9 Build 141.259 Enjoy!
This is the way to convert base 10 (a decimal number) into a base 64 string and base 64 into a base 10, while the order of that base is as following: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_- Base 10 to Base 64 Base 64 to Base 10 Live Test Base 10: Base 64: Good luck!
I have cerated this GUID/UUID generator, which is short, simple and efficient. This post includes explanations of the algorithm below. The function is as simple as this: To test the performance, you can run this code: I’m sure most of you will understand what I did there, but maybe there is at least one person that will need an explanation: The algorithm: The Math.random() function returns a decimal number between 0 and 1 with 16 digits after the decimal fraction point (for example 0.4363923368509859). Then we take this number and convert it to a string with base 16 (from the example above we’ll get 0.6fb7687f).Math.random().toString(16). Then we cut off the 0. prefix (0.6fb7687f => 6fb7687f) and get a string with eight hexadecimal characters long.(Math.random().toString(16).substr(2,8). Sometimes the Math.random() function will return shorter number (for example 0.4363), due to zeros at the end (from the example above, actually the number is 0.4363000000000000).…
I spent hours to find out how to do it. And believe me or not, I found nothing on the whole internet about how to solve it. Actually there is a simple way to do that after the event “deviceready” has been triggered (as described on the PhoneGap’s API Docs), it is simple as: The “deviceready” trigger, tell us when all native components are loaded and ready to use. Which means, that there is no way to determine whether the page loaded from PhoneGap or not using the PhoneGap plugin itself. You can check the UserAgent, but it is not always true, because it is possible to open the page through the mobile’s browser which is the same UserAgent as loaded from PhoneGap. Let’s give a typical example, that describes the case better. Let’s say I want to perform an action when the device is ready and the document is…
As you know or don’t know, all my work (especially programming) is done from a laptop running Linux OS, or to be more specific, Fedora.
Except from programming, I’m also using Adobe products like Photoshop, Fireworks and more to design and style photos, picture and images.
As I know for now, there is no standard way to run Adobe products from Linux but only from Windows or Mac OS X.
On Linux there is also pretty nice Photoshop-like application called GIMP, but it is not rich with features and user-experience like Photoshop. And what about the rest Adobe products except Photoshop, is there an alternative applications on Linux? I didn’t find any.