Wednesday, May 27, 2009
Python module of the week
Someone has been doing a tutorial of a python module per week for quite some time
Tuesday, May 26, 2009
Good list of vim tips
On any good list of vim tips, there's always a lot of stuff that I don't know.
Blogging Ottinger: Use vim like a pro
Blogging Ottinger: Use vim like a pro
Sunday, May 10, 2009
Thursday, May 7, 2009
Find non-ascii chars in mysql
How can you tell whether a non-ascii character is sneaking into a field that should not contain any such characters?
Cast the field to ascii and see if it's any different:
Of course, you can/should preclude such a possibility by changing the character set of the field to ascii.
Cast the field to ascii and see if it's any different:
select item_id, uri from items where convert(uri using ascii) <> uri;
Of course, you can/should preclude such a possibility by changing the character set of the field to ascii.
Subscribe to:
Posts (Atom)