Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

December 19 2010

timpo

The basics

A settings file is just a Python module with module-level variables.

Here are a couple of example settings:

DEBUG = False
DEFAULT_FROM_EMAIL = 'webmaster@example.com'
TEMPLATE_DIRS = ('/home/templates/mike', '/home/templates/john')

Because a settings file is a Python module, the following apply:

  • It doesn't allow for Python syntax errors.

  • It can assign settings dynamically using normal Python syntax. For example:

    MY_SETTING = [str(i) for i in range(30)]
    
  • It can import values from other settings files.

Django | Django settings | Django documentation

September 16 2009

timpo
7918_e9c0_500

June 15 2009

timpo
:set winminheight=0
-> vimeinstellung um nicht mind 1 zeile angezeigt zu bekommen
timpo

Firefox Addon: It's All Text | Linux Journal

Firefox Addon: It's All Text

June 14 2009

timpo

Thematic, A WordPress Theme Framework

Thematic is a free, open-source, highly extensible, search-engine optimized WordPress Theme Framework featuring 13 widget-ready areas, grid-based layout samples, styling for popular plugins, and a whole community behind it. It's perfect for beginner bloggers and WordPress development professionals.

June 11 2009

timpo
This is a German-English translation database file
TU Chemnitz: URZ: Netzdienste: FTP-Archiv ftp.tu-chemnitz.de:
timpo

June 04 2009

timpo

How can I subclass Table/Column to provide certain behaviors/configurations?

Table and Column can be subclassed but not without using code which is specific to SQLAlchemy internals (which can change at any time). To date, we have yet to see a use case for "subclassing" which goes beyond specifying a particular set of constructs and options during creation. Therefore, it is much easier and 100% future-proof to use functions that return pre-configured Table and Column instances instead.

A Table example:

def TimeStampTable(*args, **kwargs):
args = args + (Column('created_at', DateTime, nullable=False, default=datetime.now),
Column('updated_at', DateTime, onupdate=datetime.now)
)
return Table(*args, **kwargs)

my_table = TimeStampTable('my_table', metadata,
Column('id', Integer, primary_key=True)
)

A Column example:

def NotNullColumn(*args, **kwargs):
kwargs.setdefault('null', False)
return Column(*args, **kwargs)
FAQ - sqlalchemy - Trac

June 03 2009

timpo

Topsy

gute twittersuche
timpo

Twitter Analysed

Prezi style

May 27 2009

timpo

May 25 2009

timpo

Optaros OForge

Trac Clone - Multiproject support

May 23 2009

timpo
Social Media Metrics Superlist: Measurement, ROI, & Key Statistics Resources
Social Media Metrics Superlist: Measurement, ROI, & Key Statistics Resources

May 22 2009

timpo

animoto - the end of slideshows

Vielleicht mal nicht so uninteressant - schnelles Video aus Screenshots oder Bildern

May 19 2009

timpo
Reposted fromallcaps allcaps
timpo
Play fullscreen
YouTube - Zum Hinzufügen eines Titels klicken...
timpo
Play fullscreen
YouTube - Lilly Allen - Fuck you very much (video "THE BIG FAT GAY COLLAB!" by steviebeebishop)

May 15 2009

timpo
Play fullscreen
YouTube - Validation
Für eine freundlichere Welt :-)
Reposted bydreamermatt2314
timpo

TweetBacks for WordPress - Yoast - Tweaking Websites

Twitter Replay auf Blogposts (Wordpress Plugin)

"People are talking about your posts, and not only in the comments to your post. A lot of that conversation is happening on Twitter, and now, you can take that conversation right back to your blog! This plugin imports those tweets about your posts as comments. You can display them in between the other comments on your blog, or display them separately."
timpo
Play fullscreen
YouTube - An "Intel Star" TV ad -- Sponsors of Tomorrow
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.