会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yeelone
www.notewo.com
博客园
首页
新随笔
联系
订阅
管理
2013年3月25日
解决ubuntu上网慢的方法
摘要: [转]http://hi.baidu.com/trical/item/c4284e24505307d7a517b6f5 自从我上次更新了系统之后,ubuntu 12.10 上网就变慢了,十分不爽。以下教程我验证了有效。 解决ubuntu上网慢的方法 本文参考了以下文章: 解决ubuntu...
阅读全文
posted @ 2013-03-25 23:41 notewo
阅读(586)
评论(0)
推荐(0)
2013年3月14日
linux 修改环境变量 方法
摘要: ubuntu@yee:~$ sudo vim /etc/profile在末尾加入:JAVA_HOME=/home/ubuntu/jdk1.7.0_07PATH=$JAVA_HOME/bin:$PATHCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jarexport JAVA_HOMEexport PATHexport CLASSPATHLog out 之后重新登录 就可以了。
阅读全文
posted @ 2013-03-14 09:34 notewo
阅读(153)
评论(0)
推荐(0)
2013年3月6日
ubuntu 如何转换 ppk ,连接 amazon ec2
摘要: 转 自 :http://www.ehow.com/how_8658327_convert-ppk-ssh-ubuntu.html 1 Open a terminal window in Ubuntu, or log in if you are converting the...
阅读全文
posted @ 2013-03-06 11:53 notewo
阅读(332)
评论(0)
推荐(0)
2013年1月30日
ubuntu 去除CNNIC证书方法
摘要: 学习知识是为了对付流氓。 个人使用ubuntu ,所以在这里记下 ubuntu清除 CNNIC证书的方法 : firefox : ubuntu@yee:~$ sudo dpkg-reconfigure ca-certificates找到: “mozilla/CNNIC***”,去除前面的星号。...
阅读全文
posted @ 2013-01-30 13:26 notewo
阅读(862)
评论(0)
推荐(0)
2013年1月10日
kindeditor 代码高亮设置
摘要: 个人博客http://www.notewo.com/archive/3,没有代码高亮还是不行。 var options = { cssPath: ['/static/kindedit...
阅读全文
posted @ 2013-01-10 15:20 notewo
阅读(407)
评论(0)
推荐(0)
2013年1月9日
kindeditor tab + enter 提交 发送
摘要: http://www.notewo.com/archive/1 把kineditor 整合到我的网站 中,想绑定 tab +enter 提交发送,做法如下: var options = { afterTab:function(e){ ...
阅读全文
posted @ 2013-01-09 14:30 notewo
阅读(376)
评论(0)
推荐(0)
2012年12月20日
nicescroll 解決div hidden 的問題
摘要: jquery 有一款插件 :nicescroll ,很漂亮好用。 引入js文件之後,用法如下: 用法一:$(".scroll").niceScroll({cursorcolor:"#CCC"}); 用法二:$(".scroll").niceScroll({cursorcolor:"#CC...
阅读全文
posted @ 2012-12-20 10:33 notewo
阅读(454)
评论(0)
推荐(0)
2012年12月12日
python PIL bug: 'NoneType' object has no attribute 'bands' (解决)
摘要: 我有如下一段代码,用于做tumbnail, mode = image.mode if mode not in ('L','RGB'): if mode == 'RGBA': alpha = image.split()[3] ...
阅读全文
posted @ 2012-12-12 18:26 notewo
阅读(5838)
评论(3)
推荐(2)
2012年12月8日
python alembic upgrade 时发生死锁
摘要: 周末回到家里,在自己笔记本上准备继续编码。自己需要把数据库表结构神马的upgrade一致。 没有想到。 yeelone@yeelone-ThinkPad-Edge:~/project$ alembic upgrade headINFO [alembic.migration] Context ...
阅读全文
posted @ 2012-12-08 08:38 notewo
阅读(905)
评论(0)
推荐(0)
2012年12月7日
sqlalchemy 更新column,如果存在则更新,如果不存在,则添加新记录
摘要: 没有在sqlalchemy 上查询到类似的功能,自己试着这样来实现: class Friendship(Base): __tablename__ = 'friendship' id = Column(Integer,primary_key=True) me = Colu...
阅读全文
posted @ 2012-12-07 15:06 notewo
阅读(3735)
评论(0)
推荐(0)
下一页
公告