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

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月27日

摘要: 刚刚把 Gravatar 的头像改为国内代理 » 社区 | Ruby China刚刚把 Gravatar 的头像改为国内代理6天前 由 huacnlee 在 公告 节点 中发起最后由 clearJiang 于4天前回复 , 315次阅读之前一直没有想起,其实可以在 Nginx 上面做个反向代理来提高 Gravatar 头像的加载速度的... 现在已经部署上去了。For Ruby China 开发者... 阅读全文
posted @ 2012-03-27 23:25 lexus 阅读(1718) 评论(0) 推荐(0)

摘要: Rails下的长久运行的任务脚本怎么做成后台进程运行? » 社区 | Ruby ChinaRails下的长久运行的任务脚本怎么做成后台进程运行?7小时前 由 kafka0102 在 Rails 节点 中发起最后由 wxianfeng 于1小时前回复 , 123次阅读一个日志监控的代码,一开始想用rake执行,但是似乎只能前台运行?没google出解决办法,现在放到unit test里,能后台执行了... 阅读全文
posted @ 2012-03-27 23:21 lexus 阅读(433) 评论(0) 推荐(0)

摘要: 你们是不是也是开一堆shell. » 社区 | Ruby China如果是linux,用平铺式的窗口管理器是效率最高的 都不用tmux了,因为直接就可以把窗口平铺或者最大化+快捷键切换 例如我用的awesome,win+enter新建terminal窗口,win+z关闭,win+y开sudo terminal,win+j/k切换窗口,唰唰的如图 阅读全文
posted @ 2012-03-27 23:20 lexus 阅读(228) 评论(0) 推荐(0)

摘要: Guake terminalWhat is itGuake is a top-down terminal for Gnome (in the style of Yakuake for KDE, Tilda or the terminal used in Quake).You can check the screenshots to get a small feeling about it.How ... 阅读全文
posted @ 2012-03-27 23:19 lexus 阅读(386) 评论(0) 推荐(0)

摘要: Huhao.me哪段儿代码更优雅,可读性更高,更Pythonic?题目要求找出一个锯齿数组里长度大于5的子数组在符合要求的子数组里的数据里找出所有偶数如果数据小于10的话乘以2,大于10的除以2最后统计符合要求的数据的和测试数据inputdata = [ [2,8,9,13,72,67,88,35,44], [33,28,47,2,10,45,66,92], ... 阅读全文
posted @ 2012-03-27 23:17 lexus 阅读(268) 评论(0) 推荐(0)

摘要: Remove Line Breaks - Removing line breaks using sedRemove Line Breaks(RLB)Need to remove line breaks (carriage returns) or double spaces from text? Just copy&paste your text into the text area below a... 阅读全文
posted @ 2012-03-27 23:14 lexus 阅读(290) 评论(0) 推荐(0)

摘要: V2EX › 去掉文件末尾的换行符, 怎么做最方便?去掉文件末尾的换行符, 怎么做最方便?By 013231 at 23 hours, 11 minutes ago, 12 hits现在有一批文件, 需要检测文件末尾, 如果末尾是换行符('\n'), 就把那个换行符删除. 为了实现这个目的, 怎样做最方便? 阅读全文
posted @ 2012-03-27 23:14 lexus 阅读(599) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2012-03-27 21:50 lexus 阅读(162) 评论(0) 推荐(0)

摘要: Persistent Data Structures(可持久化的数据结构) - ted - 博客园Persistent Data Structures可持久化的数据结构Contents内容Introduction介绍Persistent Singly Linked Lists 可持久化单向链表Persistent Binary Trees可持久化二叉树Random Access Lists随机存取... 阅读全文
posted @ 2012-03-27 17:19 lexus 阅读(386) 评论(0) 推荐(0)

摘要: 有些事,走开了再看看,还是很不错的,现在都在上面买便宜东西了,京东把凡客收了吧,这样取货也方便了,呵呵 阅读全文
posted @ 2012-03-27 14:03 lexus 阅读(242) 评论(0) 推荐(0)

摘要: 使用了两个库一个是pingying4j的jar包,另一个是Apache common lang的jar包,/** To change this template, choose Tools | Templates* and open the template in the editor.*/package chinese2pinyin;import net.sourceforge.pinyin4j... 阅读全文
posted @ 2012-03-27 11:42 lexus 阅读(2169) 评论(0) 推荐(0)

摘要: D:\TDDOWNLOAD\hbase-0.90.5\hbase-0.90.5\lib\commons-lang-2.5.jarStringUtils (Commons Lang 2.5 API)joinpublic static String join(Object[]array) Joins the elements of the provided array into a single St... 阅读全文
posted @ 2012-03-27 11:15 lexus 阅读(1527) 评论(0) 推荐(0)

摘要: http://www.kafeishu.com/topic-2.html 阅读全文
posted @ 2012-03-27 09:55 lexus 阅读(217) 评论(0) 推荐(0)

摘要: also komodo edit is another choice,which currently used as my main text-editor for scripting both under linux and windows 阅读全文
posted @ 2012-03-27 06:08 lexus 阅读(444) 评论(0) 推荐(0)

摘要: 聊聊自己用到的开发工具 | Python China聊聊自己用到的开发工具 leeway1985 posted at 2 days ago 开这个帖, 想和大家分享下我用到的一些工具, 也想找到一些和我一样 用到一些小众软件的朋友.能够互相交流下. 操作系统: windows -> ubuntu 老实说,在开发方面我还算是个菜鸟,真正全职做开发还不到1年, 因为工作原因, 转移到了Linux平台... 阅读全文
posted @ 2012-03-27 01:05 lexus 阅读(338) 评论(0) 推荐(0)

摘要: tmux试用感想 - @roylez: bizarrely trappedTmux试用感想 AUG 7TH, 2010 | COMMENTS 不止听一个人在irc说tmux如何好如何好了,只不过说这些话的人,没有一个是我所熟知的朋友。即使他们全都是小白,三人成虎也几乎让我相信了tmux可以在hardstatus里面显示中文。一直懒得尝试tmux,一方面因为我的screenrc已经相当好了,另一方面... 阅读全文
posted @ 2012-03-27 00:57 lexus 阅读(300) 评论(0) 推荐(0)

摘要: LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神,可以点击顶部导航 Contact 按钮进行投稿。捐助本站Subscribe in a reader(original feed)Subscribe by EmailFollow us on TwitterFollow us on Identi.caLinuxtoy... 阅读全文
posted @ 2012-03-27 00:36 lexus 阅读(344) 评论(0) 推荐(0)

摘要: 選擇 oh-my-zsh 讓 Terminal 更好用 » 社区 | Ruby China選擇 oh-my-zsh 讓 Terminal 更好用 2月前 由 Victor 在 Gem 节点 中发起 最后由 rainchen 于6天前回复 , 1179次阅读 項目地址 https://github.com/robbyrussell/oh-my-zsh 1 安裝 信春哥得永生,所以直接用作者提供得自... 阅读全文
posted @ 2012-03-27 00:25 lexus 阅读(229) 评论(0) 推荐(0)