5 result(s)
from thk thk on 2010-03-05 18:58 tags linux , python
Ενα σκριπτακι python για να μετονομαζει ελληνικα αρχεια και φακέλους σε greeklish.Εκτελείται απο command line (χρειαζεται να εχετε εγκατεστημένη την Python) python rename_to_greeklish.pyγια εύκολη εγκατάσταση στο λινουξ κοπι πεϊστ :cd /usr/local/binsudo wget http://www.kaotonik.net/home/thk/rename-t...
from thk thk on 2009-09-14 14:02 tags python , programming , madpy , javascript
wait..Voting.. bad good
Forget all the rest.I did not know then or I have not figured .use CDATA declarations if you want to include html in xml.Its so simple..On of the most common things xml is used today is in ajax. Ajax is a method to make a request to an http server through javascript and stands for Asychronous Javasc...
from thk thk on 2009-01-28 19:16 tags python
wait..Voting.. bad good
It's nice when the server and the client talk, but it is more nice when the servers talk to each other.Since I did not come upon any python code of implementing that , here is a python snippet to get icecast2 stats. This function gets stats of an icecast2 mount source you want to track. In my case ...
from thk thk on 2008-05-18 18:02 tags python , programming
wait..Voting.. bad good
Since image files are served from the python handlers in madpy (notice that img src is in the form /somepath/path/image or /somepath/path/thumbnail and so on..) , I needed a way to view their http headers. I tried (and maybe still trying) to debug , caching , last-modified http header e.t.c. I ...
from thk thk on 2008-05-13 15:20 tags programming , python
1 1 votes
wait..Voting.. bad good
Of course there are numerous programs that adjust time on subtitle files, but here is a simple python script I have written one night I wasn't smart enough to search well. It adjusts time on srt files. Oh, and if you are on Windows try JetAudio media player which is very good in this task ( to ...