<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.yepn.net/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>记事本</title>
        <description></description>
        <link>http://wiki.yepn.net/</link>
        <lastBuildDate>Wed, 10 Mar 2010 10:34:20 -0700</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://wiki.yepn.net/lib/images/favicon.ico</url>
            <title>记事本</title>
            <link>http://wiki.yepn.net/</link>
        </image>
        <item>
            <title>Sqlite3 - 创建</title>
            <link>http://wiki.yepn.net/sqlite3?rev=1268233795&amp;do=diff</link>
            <description>数据导入导出 

 
file.db  
.output test.csv 
.dump 

mydb.db 
.read test.csv</description>
            <author>流浪五天</author>
            <pubDate>Wed, 10 Mar 2010 08:09:55 -0700</pubDate>
        </item>
        <item>
            <title>BASH Tips</title>
            <link>http://wiki.yepn.net/bashtips?rev=1268211649&amp;do=diff</link>
            <description>代码学习

  
:() { :|:&amp; }; : 



为什么这个东西会让你的系统死掉？？？有人执行了然后问我 让我们来分析一下这段代码，我改一下格式，但内容是一样的 代码: :() # 定义一个叫“:”的过程 { # 标记过程内容的开始 : | : &amp; # 执行“:”这个过程，然后通过管道接到“:”再执行一次，而且每一次执行，都会在后台执行 }; # 标记过程内容的结束，因为是同一行来写，所以要加上“;”，这样才能接后面的内容 : # 执行:…</description>
            <author>流浪五天</author>
            <pubDate>Wed, 10 Mar 2010 02:00:49 -0700</pubDate>
        </item>
        <item>
            <title>MYSQL</title>
            <link>http://wiki.yepn.net/mysql?rev=1268201275&amp;do=diff</link>
            <description>Mac osx mysql启动脚本

 
 sudo /Library/StartupItems/MySQLCOM/MySQLCOM start 


my.cnf 配置

源码安装后，复制support-file/my-*.cnf文件到/etc/my.cnf 

修改my.cnf文件添加，增加日志输出， 

 
#my.cnf 
log = /usr/local/mysql/log/query.log 

#启动参数修改 
/usr/local/mysql/bin/mysqld_safe --defaults-file=/etc/my.cnf --log &amp;</description>
            <author>流浪五天</author>
            <pubDate>Tue, 09 Mar 2010 23:07:55 -0700</pubDate>
        </item>
        <item>
            <title>Django</title>
            <link>http://wiki.yepn.net/django?rev=1268022448&amp;do=diff</link>
            <description>修改数据库

 
python manage.py sqlall blog  #显示数据据命令 

BEGIN; 
CREATE TABLE &quot;myblogapp_post&quot; ( 
    &quot;id&quot; integer NOT NULL PRIMARY KEY, 
    &quot;author_id&quot; integer NOT NULL REFERENCES &quot;auth_user&quot; (&quot;id&quot;), 
    &quot;title&quot; varchar(200) NOT NULL, 
    &quot;slug&quot; varchar(200) NOT NULL, 
    &quot;date_created&quot; datetime NOT NULL, 
    &quot;date_modified&quot; datetime NOT NULL, 
    &quot;tags&quot; varchar(200) NOT NULL, 
    &quot;body&quot; text NOT NULL, 
    &quot;body_html&quot; text NOT NULL, 
    &quot;lc_count&quot; integer NOT NULL 
);   
CREATE INDEX myblogap…</description>
            <author>流浪五天</author>
            <pubDate>Sun, 07 Mar 2010 21:27:28 -0700</pubDate>
        </item>
        <item>
            <title>Python</title>
            <link>http://wiki.yepn.net/python?rev=1267607017&amp;do=diff</link>
            <description>snow leopard install mysqldb-python

 
versions: 
mysql adapter for python: 1.2.3c1 
mysql: 5.1.41 32-bit version 
default python for snow leopard: 2.6.1 

1.install mysql package: http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg 

2. grab mysql adapter for python: http://sourceforge.net/projects/mysql-python/files/ 

3.in directory for mysql for python: 
Edit the setup_posix.py and change the following 

mysql_config.path = “mysql_config” 

to 

mysql_config.path = “/usr/local/mysql/bin…</description>
            <author>流浪五天</author>
            <pubDate>Wed, 03 Mar 2010 02:03:37 -0700</pubDate>
        </item>
        <item>
            <title>网摘</title>
            <link>http://wiki.yepn.net/note?rev=1267429887&amp;do=diff</link>
            <description>2. 传送文件作为邮件附件. 

使用matt 客户端，一行即可完成: 

 
echo “Content” | mutt -s “Subject” -a file email@address.demo 



这个方法对及时传输一些小文件非常有效, 特别是传送源代码. 还能起到存档备份的效果, 反正Gmail 那么大不用也浪费. 懒人还可以进一步用一个脚本包装, 比如我机器上就包装出了一个 sendboss.sh, 里面是:</description>
            <author>流浪五天</author>
            <pubDate>Mon, 01 Mar 2010 00:51:27 -0700</pubDate>
        </item>
    </channel>
</rss>
