- 浏览: 48688 次
- 性别:
- 来自: 南京
最新评论
-
nathan.wu:
gem install thinas far as i kno ...
new rails app server thin -
crag:
兄弟,来点详细点的安装、配置介绍呀
new rails app server thin
文章列表
http://www.sepcot.com/blog/2007/04/SVN-Merge-Branch-Trunk
http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/setting-up-a-clean-linux-server
http://grok.zope.org/documentation/tutorial/musical-performance-organizer-part-1/adding-performances
http://grok.zope.org/documentation/tutorial/musical-performance-organizer-pa ...
posted on may 6, 2008 in howto, linux with 1 comment
Its sometimes necessary to limit who has access to a server via SSH. Most Linux security hardening checklist today require this to be enforced.
Fortunately this can be easily done with openSSH. Just edit the /etc/ssh/sshd_config file and add the ...
* sudo easy_install -U setuptools
* easy_install virtualenv or easy_install-2.6 virtualenv for python2.6
* virtualenv --no-site-packages viren
* source viren/bin/activate
* easy_install django
* easy_install PIL
* easy_install mysql-python
done, kiss
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html
http://www.perlfect.com/articles/chmod.shtml
http://www.cyberciti.biz/tips/freebsd-how-to-setup-shared-directories.html
http://www.cyberciti.biz/faq/linux-setup-shared-directory/
http://www.infoq.com/articles/dvcs-guide
At cf.Objective() I attended "Subversion for Smarties - Do More With Subversion" given by Cameron Childress and it was a good presentation. I picked up a few things that I didn't know before like changelists which were added in Subversion 1.5. The presentation did cover other things like sv ...
Enterprise Application Features:
enterprise application involve persistent data
a lot of data
access data concurrently
a lot of user interface screens
integrate with other enterprise applications
conceptual dissonance
complex business illogic
How can I optimize my include_path?
One trivial optimization you can do to increase the speed of class loading is to pay careful attention to your include_path. In particular, you should do four things: use absolute paths (or paths relative to absolute paths), reduce the number of include paths you ...
Today I learned about the (relatively new) realpath_cache_size and realpath_cache_ttl php.ini directives, which were added in PHP 5.1.0.
PHP 5.1.x and up caches the real path of include files, thus avoiding the extra system call when include_once and require_once are used (or at least, this is what ...
<?php
$_toObject = create_function('$a', 'return (object) $a;');
$arr = array(0 => array(id => 1, name => 'nathan'), 1 => array(id => 2, name => 'judy'));
$objs = array_map($_toObject, $arr);
print_r($objs);
php 5.2 do not support
$_toObject = function($a) {
return (object) $a ...
php 5.2.11 mysql 5.1 apache 2.2.14 mysql pdo memory can not read solution
troubleshooting memory can not read
copy php/libmysql.dll into apache/bin/ dir
restart apache 2.2.14 everything should be fine
<?php
class C1 {
public $c;
public function __construct() {
$this->c = 'haha';
}
public function __call($method, $args) {
if (!empty($args))
return call_user_func_array($this->$method, $args);
else
return call_user_func($this->$method);
}
}
$obj ...
- 2009-11-09 10:51
- 浏览 780
- 评论(0)
svn diff > ~/fix_ugly_bug.diff
In the root of your application now run:
patch -p0 -i ~/fix_ugly_bug.diff
- 2009-10-30 12:40
- 浏览 834
- 评论(0)
from django.conf import settings
settings.configure(DATABASE_ENGINE="mysql",
DATABASE_HOST="localhost",
DATABASE_NAME="my_database",
DATABASE_USER="user",
DATABASE_PASSWORD="passwo ...
- 2009-10-16 10:03
- 浏览 1051
- 评论(0)