浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  12653 随笔 :: 2 文章 :: 617 评论 :: 609万 阅读

02 2011 档案

摘要:Ruby 读写文件 Posted on 2006-08-23 20:58 Jackei 阅读(3329) 评论(8) 编辑 收藏 今天被人投诉说 blog 多日未更新,影响了阅读情绪,偶赶紧开动起来 ^_^ # Part one aFile = File.new("C:\\1.txt","w") aFile.puts "the 1" aFile.puts "the 2" aFile.close ... 阅读全文
posted @ 2011-02-28 23:23 lexus 阅读(1147) 评论(0) 推荐(0) 编辑

摘要:如果是新的机器,需要添加公钥到github上ssh-keygengit clone git@github.com:mlzboy/geilibuy-blog.git wordpresscd ~/wordpress/public从远程下载一份数据库的配置文件到本地scp mlzboy@boy38girl.com:/home/mlzboy/wordpress/shared/wp-config.php .... 阅读全文
posted @ 2011-02-28 00:16 lexus 阅读(284) 评论(0) 推荐(0) 编辑

摘要:如果是新的机器,需要添加公钥到github上ssh-keygengit clone git@github.com:mlzboy/geilibuy-blog.git 阅读全文
posted @ 2011-02-28 00:00 lexus 阅读(196) 评论(0) 推荐(0) 编辑

摘要:http://www.taobao.com/help/wangwang/wangwang_0628_12.php 阅读全文
posted @ 2011-02-27 23:49 lexus 阅读(249) 评论(0) 推荐(0) 编辑

摘要:http://hi.baidu.com/bubu_99/blog/item/1589a50d0d2f96e837d122e8.html 阅读全文
posted @ 2011-02-26 19:51 lexus 阅读(441) 评论(0) 推荐(0) 编辑

摘要:http://www.infoq.com/cn/news/2011/02/regular-expressions-unicode 阅读全文
posted @ 2011-02-24 21:22 lexus 阅读(177) 评论(0) 推荐(0) 编辑

摘要:http://sendgrid.com/pricing.htmlhttp://mailchimp.com/pricing/ 阅读全文
posted @ 2011-02-24 21:11 lexus 阅读(323) 评论(0) 推荐(0) 编辑

摘要:http://sendgrid.com/pricing.html 阅读全文
posted @ 2011-02-24 21:04 lexus 阅读(261) 评论(0) 推荐(0) 编辑

摘要:http://www.net.cn/static/ba/ 提示:域名成功15天后才能打印证书。域名自助管理系统http://diy2011.hichina.com/cgi-bin/login 阅读全文
posted @ 2011-02-24 20:00 lexus 阅读(135) 评论(0) 推荐(0) 编辑

摘要:http://www.net.cn/static/ba/ 提示:域名成功15天后才能打印证书。 阅读全文
posted @ 2011-02-24 19:47 lexus 阅读(148) 评论(0) 推荐(0) 编辑

摘要:http://www.net.cn/static/ba/ 阅读全文
posted @ 2011-02-24 19:44 lexus 阅读(138) 评论(0) 推荐(0) 编辑

摘要:post by 雨天等晴 / 2010-9-23 15:49 Thursday 修改git提交信息到编辑器为vi [linux操作] git commit -m 默认使用nano.在 .git/config 的 [core] 段中加上 editor=vi,便可修改成vi,SVN的没试过,应该也可以。如果只是想临时使用vi的话,可以使用 export EDITOR=vi。git branch来查看... 阅读全文
posted @ 2011-02-24 11:20 lexus 阅读(498) 评论(0) 推荐(0) 编辑

摘要:windows7下的virtualbox中安装ubuntu后如何挂载共享文件夹 现在重启电脑:sudo shutdown -r now 分页: 1 / 1 [ 8 篇帖子 ] 打印预览 上一个主题 | 下一个主题 作者 内容 1楼 羽化仙 文章标题 : windows7下的virtualbox中安装ubuntu后如何挂载共享文件夹发表于 : 2011-01-13 17:16 注册: 2011-0... 阅读全文
posted @ 2011-02-23 21:48 lexus 阅读(200) 评论(0) 推荐(0) 编辑

摘要:给力百货(www.geilibuy.com)定位于日用小百货的量贩平台,依托义乌小百货集聚的货源及物流的优势,打造价格、物流的洼地。和之前的义乌小额批发网是一脉相承的。 技术选型 django or rails3 之前在开发15-1688时,曾有过介绍,使用的是nginx+python+bottle+solr的组合,后端使用的爬虫使用也是使用exilir+代码生成器的模式生成python脚本来采取... 阅读全文
posted @ 2011-02-23 15:13 lexus 阅读(266) 评论(0) 推荐(0) 编辑

摘要:讯捷的信号不错,不过只有windows驱动,应该是能找到,反正光盘里是没有腾达功能强,有linux ,mac驱动,信号不好,两个都有天线, 阅读全文
posted @ 2011-02-22 23:36 lexus 阅读(341) 评论(0) 推荐(0) 编辑

摘要:更改源sudo gedit /etc/apt/sources.listdeb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiversedeb ... 阅读全文
posted @ 2011-02-22 23:34 lexus 阅读(200) 评论(0) 推荐(0) 编辑

摘要:更改源sudo gedit /etc/apt/sources.listdeb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiversedeb ... 阅读全文
posted @ 2011-02-22 21:31 lexus 阅读(209) 评论(0) 推荐(0) 编辑

摘要:ubuntu 10.04 中文设置 六 19 奶牛 Ubuntu 1,464 viewsGo to comment 用ubuntu 10.04的live CD安装完系统之后会发现,中文支持相当不完整,很多地方都是中英文混合的,下面奶牛就来说说怎么进行中文设置来让系统彻底汉化。 首先,打开system下的administration 下的language support,在language选择ch... 阅读全文
posted @ 2011-02-22 21:22 lexus 阅读(402) 评论(0) 推荐(0) 编辑

摘要:http://baike.baidu.com/view/348859.htm 阅读全文
posted @ 2011-02-18 00:42 lexus 阅读(187) 评论(0) 推荐(0) 编辑

摘要:我觉得virtualbox真是一个不错的产品,或是基于xen kvm的不错,只是这个被用户所认知,做二次开发可能还行,但是依久还是需要很大的功力, 我不清楚阿里云到底是什么,但是我觉得virtualbox不错,国人可以做一个linode一样的,依赖于这个平台 阅读全文
posted @ 2011-02-17 23:44 lexus 阅读(271) 评论(0) 推荐(0) 编辑

摘要:http://www.vmbest.com/school/2-virtualbox-school/316-virtualbox 复制vdi http://blog.sina.com.cn/s/blog_591a2c940100aree.html 在VirtualBox的快速修复界面里,可以随时生成当前状态的备份。当生成了备份之后,会在Snapshots目录下创建一个新的VDI文件,之后对当前状态所... 阅读全文
posted @ 2011-02-17 23:29 lexus 阅读(463) 评论(0) 推荐(0) 编辑

摘要:办事不牢靠 不信人信合同 非当面不信 万网事件 盛付通事件 销售的话不能信 更加谨慎待人 多学着点 阅读全文
posted @ 2011-02-17 23:15 lexus 阅读(185) 评论(0) 推荐(0) 编辑

摘要:http://www.net.cn/service/ziliao/ywwd/hyid/200602/357.html 阅读全文
posted @ 2011-02-17 21:21 lexus 阅读(200) 评论(0) 推荐(0) 编辑

摘要:http://www.centos.org/docs/2/rhl-gsg-en-7.2/s1-creating-account.html在root账户下useradd mlzboypasswd mlzboy可以重新生成密码还是进入root权限编辑sudo vi /etc/sudoermlzboy ALL=(ALL) ALL这一行加到root ALL=(ALL) ALL的下面然后:wq!以上参考h... 阅读全文
posted @ 2011-02-16 16:24 lexus 阅读(184) 评论(0) 推荐(0) 编辑

摘要:http://centos.ustc.edu.cn/centos/5.5/isos/i386/ 阅读全文
posted @ 2011-02-15 19:45 lexus 阅读(164) 评论(0) 推荐(0) 编辑

摘要:http://www.verycd.com/topics/114069/centos 5.0http://www.verycd.com/topics/122933/http://www.verycd.com/topics/122933/redhat5.0http://www.verycd.com/topics/152039/http://www.verycd.com/topics/152039/h... 阅读全文
posted @ 2011-02-15 18:55 lexus 阅读(125) 评论(0) 推荐(0) 编辑

摘要:不如建行另外买手机要买两个一样款的,这样丢了一个还有一个替,因为后面再过几个月就会没货,手机的更新换代绝对的快,三个月肯定全是新品了,这里边的流程,我觉得比较软件工程复杂得太多太多了,好事要成双,以后买东西都要买双份,我有点明白这个道理了 阅读全文
posted @ 2011-02-15 18:34 lexus 阅读(308) 评论(0) 推荐(0) 编辑

摘要:经营性网站备案管理办法 第一章 总则 第一条 为了进一步规范经营性网站备案行为,保护经营性网站所有者的合法权益,促进互联网经营活动的健康发展,根据《中华人民共和国公司法》、《中华人民共和国企业法人登记管理条例》、《互联网信息服务管理办法》等有关法律、法规的规定,制定本办法。 第二条 本办法所称经营性网站,是指企业和个体工商户为实现通过互联网发布信息、广告、设立电子信箱、开展商务活动以及向他人提供实... 阅读全文
posted @ 2011-02-14 22:49 lexus 阅读(278) 评论(1) 推荐(0) 编辑

摘要:http://help.github.com/removing-sensitive-data/照着做似乎没有用http://yihui.name/cn/2010/12/animation-update-1-1-5/再看了上面这个链接就可以了http://blog.enjoyrails.com/2008/12/31/git%E4%B8%80%E5%88%86%E9%92%9F%E6%95%99%E7... 阅读全文
posted @ 2011-02-13 23:15 lexus 阅读(1389) 评论(0) 推荐(0) 编辑

摘要:http://help.github.com/removing-sensitive-data/http://blog.enjoyrails.com/2008/12/31/git%E4%B8%80%E5%88%86%E9%92%9F%E6%95%99%E7%A8%8B/ 阅读全文
posted @ 2011-02-13 22:59 lexus 阅读(235) 评论(0) 推荐(0) 编辑

摘要:http://www.w3help.org/zh-cn/causes/BW5007 阅读全文
posted @ 2011-02-12 20:15 lexus 阅读(227) 评论(0) 推荐(0) 编辑

摘要:cursor:pointer 与 cursor:handAuthor: guoshuang这个是标准“手”形样式这个“手”形只有IE可以看到这是小雨手册翻译自msdn的相关内容可是 pointer 才是css2 的标准属性,压根就没有hand 这个东西。http://www.zvon.org/xxl/CSS2Refer... 阅读全文
posted @ 2011-02-12 18:18 lexus 阅读(274) 评论(0) 推荐(0) 编辑

摘要:第 16 章 总结:Rails本地化(windows环境) 上一页下一页 第 16 章 总结:Rails本地化(windows环境) 在开发RoR的时候,本地化是一个问题,大多数介绍文章使用UTF-8来解决本地化的问题,这里提供另外一种解决途径来解决,比UTF-8设置简单(并没有考虑使用AJAX的情况): 为Rails app设置编码方式:这里把charset设置为gbk编码方式,我们知道每次re... 阅读全文
posted @ 2011-02-11 22:59 lexus 阅读(517) 评论(0) 推荐(0) 编辑

摘要:str.capitalize! → str or nilModifiesstrby converting the first character to uppercase and the remainder to lowercase. Returnsnilif no changes are made. Note: case conversion is effective only... 阅读全文
posted @ 2011-02-11 20:56 lexus 阅读(1628) 评论(0) 推荐(0) 编辑

摘要:gb2312编码页面post到utf-8页面乱码解决方案 2010年08月17日 星期二 16:34 说实话,要是所有网站都采用统一编码,根本就不会出现这样或那样的编码问题,不过现在的问题是既然已经存在了n种编码了,总得想办法解决吧。由于目前国内 gb2312、utf-8的编码网站较多(big5等忽略不计),当想gb2312从页面提交表单至utf-8时,问题就来了。解决方案:在gb2312页面的f... 阅读全文
posted @ 2011-02-11 18:59 lexus 阅读(1198) 评论(0) 推荐(0) 编辑

摘要:ERROR 1045 (28000): Access denied for userMySQL中出现连接错误: ERROR 1045 (28000): Access denied for user----------------------------------------------------------------------------------1.添加用户shell>m... 阅读全文
posted @ 2011-02-11 16:30 lexus 阅读(357) 评论(0) 推荐(0) 编辑

摘要:64 位ubuntu 安装 32位兼容包刚看了一下,wordpress才11个表太神奇了,这么复杂的系统,amazing参考以下文章http://dueam.org/2010/09/ubuntu-server-%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AElnmp%E5%B9%B6%E5%AE%89%E8%A3%85wordpress/(主要)sudo ... 阅读全文
posted @ 2011-02-11 13:43 lexus 阅读(522) 评论(0) 推荐(0) 编辑

摘要:http://www.ibm.com/developerworks/cn/aix/library/au-rsyncfamily/?S_TACT=105AGX52&S_CMP=tec-csdn http://hi.baidu.com/ghxandsky/blog/item/2ad28477b336b108b051b9f3.html http://hi.baidu.com/ljx_ub... 阅读全文
posted @ 2011-02-11 13:28 lexus 阅读(180) 评论(0) 推荐(0) 编辑

摘要:d5653,d5663都是动车去往金华方向,时间不同 要找寻一个模式,是需要时间和精力,发现各种不同的情况 才有感知变化的可能 阅读全文
posted @ 2011-02-11 13:27 lexus 阅读(210) 评论(0) 推荐(0) 编辑

摘要:a 阅读全文
posted @ 2011-02-11 12:58 lexus 阅读(165) 评论(0) 推荐(0) 编辑

摘要:mlzboy@15-1688:~$ md5sum ruby-1.9.2-p136.tar.bz252958d35d1b437f5d9d225690de94c13 ruby-1.9.2-p136.tar.bz2 阅读全文
posted @ 2011-02-11 00:08 lexus 阅读(326) 评论(0) 推荐(0) 编辑

摘要:由于引入了memcahced作为session及缓存的实现,因此下面着重介绍如何安装memcached重点参考http://www.cnblogs.com/lexus/archive/2011/02/09/1950379.html本文由上文整理而来sudoapt-get install libevent-devwgethttp://memcached.googlecode.com/files/me... 阅读全文
posted @ 2011-02-10 23:47 lexus 阅读(219) 评论(0) 推荐(0) 编辑

摘要:sudo adduser <用户名>按提示输入更改初始root账户密码ubuntu修改初始root密码2007-01-24 20:33$sudopasswdroot就是这么简单前提是你进行更改的这个账户是管理员账户将新加用户加入suoder组sudo adduser mlzboy admin备份源sudo cp sources.list sources.list.bak... 阅读全文
posted @ 2011-02-10 20:56 lexus 阅读(629) 评论(22) 推荐(0) 编辑

摘要:Memcached的图形化监控2009/04/26 05:40 P.M. 今天在看NinGoo的博客时发现的好东西,在这记下。 查看Memcached的状态可以使用命令或者个memcache-tool,但都不方便。因此就有了php写的web版的监控. 网站:http://livebookmark.net/journal/2008/05/21/memcachephp-stats-like-apcph... 阅读全文
posted @ 2011-02-10 19:26 lexus 阅读(551) 评论(0) 推荐(0) 编辑

摘要:http://grosser.it/2009/10/21/sslhttps-for-passenger-in-development-on-ubuntu-jaunty/ http://grosser.it/2010/05/02/lucid-lynx-a-fresh-install-with-ruby-rails-passenger-etc/ 这遍文章介绍的是一篇大众型的新系统安装ror相关的应用软... 阅读全文
posted @ 2011-02-09 21:02 lexus 阅读(206) 评论(0) 推荐(0) 编辑

摘要:http://allenshao.javaeye.com/blog/677519 阅读全文
posted @ 2011-02-09 20:43 lexus 阅读(309) 评论(0) 推荐(0) 编辑

摘要:下面两篇文章,讲了,memcached和passenger一起使用的问题,很重要http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/http://www.productionhacks.com/2010/04/15/memcached-and-passenger-conne... 阅读全文
posted @ 2011-02-09 20:25 lexus 阅读(707) 评论(0) 推荐(0) 编辑

摘要:http://www.cowboycoded.com/2010/07/07/setting-up-rails-3-on-rackspace-cloud-servers/ 阅读全文
posted @ 2011-02-09 20:03 lexus 阅读(223) 评论(0) 推荐(0) 编辑

摘要:http://www.yangzhiping.com/tech/ubuntu-ree-nginx-passenger-rails3.blog.html 阅读全文
posted @ 2011-02-09 19:49 lexus 阅读(253) 评论(0) 推荐(0) 编辑

摘要:http://ywencn.javaeye.com/blog/609666 http://blog.xdite.net/?p=1029 阅读全文
posted @ 2011-02-09 19:32 lexus 阅读(161) 评论(0) 推荐(0) 编辑

摘要:http://www.162cm.com/archives/1156.html 阅读全文
posted @ 2011-02-08 23:26 lexus 阅读(144) 评论(0) 推荐(0) 编辑

摘要:http://hotsunshine.javaeye.com/blog/899222 redis setup http://snippets.aktagon.com/snippets/320-How-to-install-and-use-Redis-with-Ruby Redis是什么? 这里是redis的主页:http://code.google.com/p/redis/。它是一个key-val... 阅读全文
posted @ 2011-02-08 23:12 lexus 阅读(543) 评论(1) 推荐(0) 编辑

摘要:Style: Background Foreground Link Color Link Visited Size: Width:More ▼ Open ModeOverlay OriginalReplace Original FontArialTahomaVerdanaGeorgiaSegoeTimesBookComicCourierTrebuchetPalatinoLucida Tex... 阅读全文
posted @ 2011-02-08 23:10 lexus 阅读(1524) 评论(0) 推荐(0) 编辑

摘要:redis-store/http://stackoverflow.com/questions/4221735/rails-and-caching-is-it-easy-to-switch-between-memcache-and-redishttp://stackoverflow.com/questions/4188620/redis-and-memcache-or-just-redishttp:... 阅读全文
posted @ 2011-02-08 12:40 lexus 阅读(613) 评论(0) 推荐(0) 编辑

摘要:http://blog.xdite.net/?p=1029rails使用memcache缓存session收藏前提条件:安装了memcache server以及rails的客户端memcache-client修改environment.rb:找到config.action_controller.session_store = :active_record_store改为config.action_... 阅读全文
posted @ 2011-02-08 11:56 lexus 阅读(360) 评论(0) 推荐(0) 编辑

摘要:http://www.thewojogroup.com/2008/09/remember-mes-with-rails/Remember Me’s with Railsby Brett Wejrowski on September 26th, 2008I recently had a need for a login system that needed a ‘remember me’ func... 阅读全文
posted @ 2011-02-08 09:44 lexus 阅读(359) 评论(0) 推荐(0) 编辑

摘要:Copy a Disk Image Over SSHPublished: August 13, 2009 byPhil ParadisIf you'd like to copy a Linode's disk image to a system that resides on a different network, you can easily do so using SSH and a Fin... 阅读全文
posted @ 2011-02-06 17:18 lexus 阅读(804) 评论(0) 推荐(0) 编辑

摘要:methodbeginning_of_dayRuby on Rails latest stable(v2.3.8) -0 notes- Class:ActiveSupport::CoreExtensions::Date::Calculationsv1.0.0v1.1.0v1.1.1v1.1.6v1.2.0v1.2.62.0.02.0.12.0.32.1.02.2.12.3.22.3.8v3.0.0... 阅读全文
posted @ 2011-02-06 14:28 lexus 阅读(392) 评论(0) 推荐(0) 编辑

摘要:http://m.onkey.org/signed-and-permanent-cookies-in-rails-3 http://www.thoughtrails.com/episodes/73-rails-in-some-of-the-ways-to-obtain-information-url 同一套代码,部署在同一台服务器上,但是很诡异的是一套工作,另外一套登录的时候总是出现 Action... 阅读全文
posted @ 2011-02-06 11:18 lexus 阅读(247) 评论(0) 推荐(0) 编辑

摘要:Ubuntu/Debian将用户加到sudo组的方法服务器OS添加评论三082010这个问题虽然简单,但是确是经常被问到的问题。因为只有加到sudo list的用户才能使用sudo命令拿到root权限。下面把怎么做写出来,也算是给自己备忘一下:打开一个终端,输入:sudo visudo找找已经存在的用户:root ALL=(ALL) ALL照葫芦画瓢,加入你想加的用户:user ALL=(ALL)... 阅读全文
posted @ 2011-02-05 21:14 lexus 阅读(2503) 评论(0) 推荐(0) 编辑

摘要:http://www.cnblogs.com/lexus/archive/2011/01/10/1931923.htmlhttp://www.cnblogs.com/lexus/archive/2010/12/20/1911940.html?login=11)提交变更到本地githubgithub add .git commit -agit status2)提交变更到远程git push lino... 阅读全文
posted @ 2011-02-05 20:03 lexus 阅读(353) 评论(0) 推荐(0) 编辑

摘要:MySQL数据库备份和还原的常用命令时间:2007-11-02 23:29:09 类别:技术 访问:8,754 viewsRSS 2.0评论备份MySQL数据库的命令mysqldump -hhostname -uusername -ppassword databasename backupfile.sql备份MySQL数据库为带删除表的格式备份MySQL数据库为带删除表的格式,能够让该备份覆盖... 阅读全文
posted @ 2011-02-05 17:51 lexus 阅读(1917) 评论(0) 推荐(0) 编辑

摘要:彻底清空mysql数据表中的数据 彻底清除一个数据表中的数据我们一般使用 delete from tablename 但是新插入的数据id不是0, 现在使用uncate table table_name 命令就可以完全解决以上问题 阅读全文
posted @ 2011-02-05 16:44 lexus 阅读(2105) 评论(1) 推荐(0) 编辑

摘要:http://blog.daviesliu.net/2008/04/24/sync/ 阅读全文
posted @ 2011-02-05 16:04 lexus 阅读(148) 评论(0) 推荐(0) 编辑

摘要:义乌给力电子商务有限公司创办于2011年1月,是一家专注于从事网上日用百货、创意家居小额批发、零售的年轻的电子商务企业,公司以人为本,重视员工的需求,谋求企业和员工的共同发展,为员工提供广阔的施展才干的机会。现向社会公开招聘以下岗位:高级淘宝运营专员(2人)岗位职责描述:负责阿里系列相关工作包括淘宝店铺、诚信通、直通车等有从事淘宝网店相关工作的实际经验从淘宝新开店铺从装修、网店推广(直通车等)、网... 阅读全文
posted @ 2011-02-05 14:37 lexus 阅读(262) 评论(0) 推荐(0) 编辑

摘要:这其中还对linode升级了一下,因为空间不够了,主要是用来存储一些图片,使用rsync来同步rsync -avr --progress ./system user@ip:/home/mlzboy/b2c2/shared中途中断可以进行断点续传,不过要计算一些东西,可能要花些时间 阅读全文
posted @ 2011-02-05 11:12 lexus 阅读(160) 评论(0) 推荐(0) 编辑

摘要:这其中还对linode升级了一下,因为空间不够了,主要是用来存储一些图片,使用rsync来同步rsync -avr --progress ./system user@ip:/home/mlzboy/b2c2/shared中途中断可以进行断点续传,不过要计算一些东西,可能要花些时间 阅读全文
posted @ 2011-02-05 11:04 lexus 阅读(161) 评论(0) 推荐(0) 编辑

摘要:对于发我祝福短信没有回复的朋友们,感谢你们的关心和一年来的支持与帮助,有你们在我的身边,让我感觉到一丝的温暖,祝你们兔年一切都好 阅读全文
posted @ 2011-02-04 19:30 lexus 阅读(182) 评论(0) 推荐(0) 编辑

摘要:非常的有效,效果扛扛的config.action_controller.perform_caching = true#实际中改一下为true测试时改为false4.2 Being SpecificIf you need to run a specific migration up or down thedb:migrate:upanddb:migrate:downtasks will do tha... 阅读全文
posted @ 2011-02-02 10:40 lexus 阅读(312) 评论(0) 推荐(0) 编辑

摘要:http://api.rubyonrails.org/v2.3.8/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#M001436change_column_default(table_name, column_name, default)Sets a new default value for a column. If ... 阅读全文
posted @ 2011-02-02 09:47 lexus 阅读(527) 评论(0) 推荐(0) 编辑

摘要:如果这样用 where a.ar_title like '%keyword%' 就不要给ar_title加索引了,没有效果。mysql 的数据库搜索的确是很差的,这个没有人否认。。不然很多php&mysql论坛也不至于限制搜索次数或者用其他方法搜索了。。。。用like 语句,字段要做索引必须只有一个%,而且只能在后面(记得不清楚了,不确定,反正不是前面就是后面,想确定的朋友可以自己测试下,或者go... 阅读全文
posted @ 2011-02-02 09:40 lexus 阅读(181) 评论(0) 推荐(0) 编辑

摘要:http://www.360buy.com/product/207313.html我看中的显示器,这个可以搁置了,现在没什么用处http://www.360buy.com/product/252493.html 阅读全文
posted @ 2011-02-02 08:43 lexus 阅读(176) 评论(0) 推荐(0) 编辑

摘要:磊 阅读全文
posted @ 2011-02-01 23:39 lexus 阅读(181) 评论(0) 推荐(0) 编辑

摘要:rsync -avr --progress ./rsync_test/ mlzboy@192.168.1.104:/home/mlzboy/rsync_test 阅读全文
posted @ 2011-02-01 23:39 lexus 阅读(146) 评论(0) 推荐(0) 编辑

摘要:新词 阅读全文
posted @ 2011-02-01 19:59 lexus 阅读(162) 评论(0) 推荐(0) 编辑

摘要:ddd 阅读全文
posted @ 2011-02-01 18:51 lexus 阅读(383) 评论(0) 推荐(0) 编辑

摘要:http://www.52ghost.com/ 阅读全文
posted @ 2011-02-01 18:06 lexus 阅读(142) 评论(0) 推荐(0) 编辑

摘要:http://www.chinaccnet.com/index.php 中电云集 阅读全文
posted @ 2011-02-01 17:54 lexus 阅读(154) 评论(0) 推荐(0) 编辑

摘要:网易博客摄影随便看看注册登录流浪地图首页日志相册音乐收藏博友关于我日志流浪者加博友关注他最新日志nokia2100常用sql语句学习DateTime(C#)无法识别的属性“xmlns”由C++转向C#需要注意的问题asp.net2.0解决用户控件图片首页推荐母其:造型火辣上春晚旭日阳刚也救不了春晚体验日本女仆咖啡馆夏威夷人的豪宅令人羡慕冷清的北京火车站美国博友展示打猎装备更多Eclipse快捷... 阅读全文
posted @ 2011-02-01 15:35 lexus 阅读(857) 评论(0) 推荐(0) 编辑

摘要:mlzboy@mlzboy-MacBook ~/my/b2c2 $ convert -versionVersion: ImageMagick 6.6.2-6 2010-09-17 Q16 http://www.imagemagick.orgCopyright: Copyright (C) 1999-2010 ImageMagick Studio LLCFeatures: OpenMP 阅读全文
posted @ 2011-02-01 10:44 lexus 阅读(174) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示