摘要: 原题如下: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 简单字符串翻转,直接上代码。 如何实现原地翻 阅读全文
posted @ 2016-06-18 17:29 pkufork 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 工程师经常需要ssh或者telnet远程登录到Linux服务器,运行一些需要很长时间才能完成的任务,比如系统备份、ftp传输文件等等,通常我们都是为每一个这样的任务开一个远程终端窗口,等待它们执行完毕,在此期间不能关掉窗口或者断开连接,否则这个任务就会被杀掉,结果半途而废。 GNU Screen是一 阅读全文
posted @ 2016-06-18 14:39 pkufork 阅读(462) 评论(0) 推荐(0) 编辑