Cool bookmarklet to find other person urls from current page:
javascript:document.location="http://socialgraph-resources.googlecode.com/svn/trunk/samples/findyours.html?q="+document.location
04/30: Блог поменял движок
Привет всем, давненько я не писал.
Пусть на улице снова снег, но это всё же весна, и душа требует перемен.
Поэтому я наконец-то сменил движок сайта на byteflow blog engine.
Теперь здесь есть древовидные комментарии, уведомления по почте, антиспам, пингбэки, трэкбэки, фиды по темам, openid-логины, кросспост в жж. Кажется, больше ничего нет. Кажется :)
Короче, то, что наколенный блог никогда не будет иметь.
А ещё, сегодня я думал о web-4.0. continue reading
Пусть на улице снова снег, но это всё же весна, и душа требует перемен.
Поэтому я наконец-то сменил движок сайта на byteflow blog engine.
Теперь здесь есть древовидные комментарии, уведомления по почте, антиспам, пингбэки, трэкбэки, фиды по темам, openid-логины, кросспост в жж. Кажется, больше ничего нет. Кажется :)
Короче, то, что наколенный блог никогда не будет иметь.
А ещё, сегодня я думал о web-4.0. continue reading
07/10: Сегодня великий день
Цитируя Андрея Таранцова:
Сегодня будет великий день! Я начну переход с Eclipse 3.1 на Eclipse 3.3 :)
Пожелаем ему удачи в рефакторинге кода двухлетней давности.
У меня тоже сегодня великий день.
Я сегодня узнал про то, что с полями моделей в Django можно делать преинтереснейшие вещи:
Сегодня будет великий день! Я начну переход с Eclipse 3.1 на Eclipse 3.3 :)
Пожелаем ему удачи в рефакторинге кода двухлетней давности.
У меня тоже сегодня великий день.
Я сегодня узнал про то, что с полями моделей в Django можно делать преинтереснейшие вещи:
class DomainInfo(Model):
def preview(self):
return '<img src="/media/%s"/>' % self.screenshot
preview.allow_tags = True
preview.short_description = 'screenshot'
И после этого в админке можно будет наблюдать поле с названием screenshot, в котором отражаются симпатичные картинки.
05/29: бот или браузер?
does anybody know is it bot or browser giving this user-agent:
Mozilla/4.0 (compatible;)
It’s impossible to search this on google.
Update: Found beautiful site: http://browsers.garykeith.com/index.asp
It tells me that this is web crawler definitely.
p.s. http://www.djangosnippets.org/snippets/267/ is browsercap reader for django. Awesome!
Mozilla/4.0 (compatible;)
It’s impossible to search this on google.
Update: Found beautiful site: http://browsers.garykeith.com/index.asp
It tells me that this is web crawler definitely.
p.s. http://www.djangosnippets.org/snippets/267/ is browsercap reader for django. Awesome!
05/12: Django OpenID users
I’m publishing the current state of my openid solution. It’s based on Simon Willison’s django-openid consumer
It allows developers to connect User class with OpenID accounts.
The problem with empty passwords is not solved and web interface for “user profiles” allowing to assigning openid to users is not done.
But you could login with openid and the system will create account for you, and will get data from simple registration.
I will change my solution in a way written in this google groups thread.
But I’m happy now because time passes and I need the solution right now.
My openid-solution is here
p.s. I apologize that it’s not adapted for using in your projects, better to think it’s the proof of the concept.
It allows developers to connect User class with OpenID accounts.
The problem with empty passwords is not solved and web interface for “user profiles” allowing to assigning openid to users is not done.
But you could login with openid and the system will create account for you, and will get data from simple registration.
I will change my solution in a way written in this google groups thread.
But I’m happy now because time passes and I need the solution right now.
My openid-solution is here
p.s. I apologize that it’s not adapted for using in your projects, better to think it’s the proof of the concept.
Posted by bur on May 12, 2007