Split and join in python are similar to the equivalent functions in most dynamic languages with a few minor differences:
Python Split
Split a sentence into separate words:
sentence = "the cat sat on the mat"
print sentence.split()
[’the’, ‘cat’, ’sat’, ‘on’, ‘the’, ‘mat’]
Split words separated by a single character:
sentence = "the,cat,sat,on,the,mat"
print sentence.split(’,')
[’the’, ‘cat’, ’sat’, ‘on’, ‘the’, ‘mat’]
Split words separated [...]
Read Full Article
Lost (forgotten) your mysql root / admin password? Not to worry, it happens to the best of us.
This simple BASH password reset script will enable you to reset any mysql user password without knowing the current password
I would not recommend running it on a live production system as it requires shutting down the mysql server.
Heres [...]
Read Full Article
Now that adobe have improved Linux support for the flash player (including 64-bit systems) and released the open source flex SDK, its now relatively easy to develop fully fledged flex applications on your Linux machine. This post is designed to be an introduction to get you up and running on flex, more posts will follow [...]
Read Full Article