# Re: test
51t (lenina,1) → 51t – 05:35:39 2014-04-01
http://ya.ru и https://ya.ru
ii://rw.51 и ii://O6q4AtoCR9rEzqzSlzgA
51t (lenina,1) → 51t – 05:35:39 2014-04-01
http://ya.ru и https://ya.ru
ii://rw.51 и ii://O6q4AtoCR9rEzqzSlzgA
# нет, вот так
51t (lenina,1) → All – 02:58:01 2014-04-01
====[python]====
def sp(s):
pre = 0; code = 0; txt = ''
for n in s.splitlines():
if n == '====' and pre == 0:
txt += u'====<pre>\n'
pre = 1
elif n == '====' and pre == 1:
if code == 1: txt += '</code>'
txt += u'\n</pre>====\n'
pre = 0; code = 0
elif n.startswith('====[') and n.endswith(']===='):
txt += u'====[%s]====\n<pre><code class="prettyprint lang-%s">' % (n[5:-5],n[5:-5].strip())
code = 1; pre = 1
elif n.rstrip().startswith('>') and pre == 0:
>> Читать далее
51t (lenina,1) → All – 02:58:01 2014-04-01
====[python]====
def sp(s):
pre = 0; code = 0; txt = ''
for n in s.splitlines():
if n == '====' and pre == 0:
txt += u'====<pre>\n'
pre = 1
elif n == '====' and pre == 1:
if code == 1: txt += '</code>'
txt += u'\n</pre>====\n'
pre = 0; code = 0
elif n.startswith('====[') and n.endswith(']===='):
txt += u'====[%s]====\n<pre><code class="prettyprint lang-%s">' % (n[5:-5],n[5:-5].strip())
code = 1; pre = 1
elif n.rstrip().startswith('>') and pre == 0:
>> Читать далее
# сделал вот так
51t (lenina,1) → All – 02:52:51 2014-04-01
====[python]====
def sp(s):
pre = 0; code = 0; txt = ''
for n in s.splitlines():
if n == '====' and pre == 0 and code == 0:
txt += u'====<pre>'
pre = 1
elif n == '====' and code == 1:
txt += '</code>====\n'
code = 0
elif n == '====' and pre == 1:
txt += u'\n</pre>====\n'
pre = 0
elif n.startswith('====[') and n.endswith(']===='):
txt += u'====\n<code class="prettyprint lang-%s">' % n[5:-5]
>> Читать далее
51t (lenina,1) → All – 02:52:51 2014-04-01
====[python]====
def sp(s):
pre = 0; code = 0; txt = ''
for n in s.splitlines():
if n == '====' and pre == 0 and code == 0:
txt += u'====<pre>'
pre = 1
elif n == '====' and code == 1:
txt += '</code>====\n'
code = 0
elif n == '====' and pre == 1:
txt += u'\n</pre>====\n'
pre = 0
elif n.startswith('====[') and n.endswith(']===='):
txt += u'====\n<code class="prettyprint lang-%s">' % n[5:-5]
>> Читать далее
# test
51t (lenina,1) → All – 02:37:21 2014-04-01
> 123
>> 1231321
====[python]====
>>> a.strip()
for a in range(40):
print a
люблю стихи
в начале мая
51t (lenina,1) → All – 02:37:21 2014-04-01
> 123
>> 1231321
====[python]====
>>> a.strip()
for a in range(40):
print a
====
====
люблю стихи
в начале мая
====
# test from haikuos
51t (lenina,1) → All – 01:50:53 2014-03-31
> Haiku shredder 1 hrev47061 Mar 27 2014 00:42:13 BePC x86 Haiku
kak delat russki - eto problema :)
client ne rabotaet... ibo groundwork ne rabotaet v ih brauzere... nado budet sdelat kient na foundation!
pishu iz brausera
51t (lenina,1) → All – 01:50:53 2014-03-31
> Haiku shredder 1 hrev47061 Mar 27 2014 00:42:13 BePC x86 Haiku
kak delat russki - eto problema :)
client ne rabotaet... ibo groundwork ne rabotaet v ih brauzere... nado budet sdelat kient na foundation!
pishu iz brausera
# Re: txt client test failure
zhabba (lenina,12) → 51t – 12:07:24 2014-03-29
Вот теперь все работает, спасибо.
zhabba (lenina,12) → 51t – 12:07:24 2014-03-29
Вот теперь все работает, спасибо.