2014年5月31日

mobaxterm ssh command

摘要: ssh -qTfnNg -D 7070 demouser@echo.supportedns.com -p 2233 阅读全文
posted @ 2014-05-31 22:28 Junior Panda 阅读(365) 评论(0) 推荐(0)

Maven 运行单个单元测试

摘要: mvn -Dtest=TestApp1 test 阅读全文
posted @ 2014-05-31 21:53 Junior Panda 阅读(749) 评论(0) 推荐(0)

windows小技巧 从文件夹直接打开命令行位置

摘要: windows下从命令行打开某个目录下的东东时,会一直cd ~~~~,更简单的是: 直接用鼠标找到该文件夹或者文件,按住Shift键然后点击鼠标右键,选择“在此处打开命令行”即可,进去以后省略了一直cd的前奏 阅读全文
posted @ 2014-05-31 21:51 Junior Panda 阅读(305) 评论(0) 推荐(0)

Maven 跳过测试命令行参数 skip test

摘要: mvn package -Dmaven.test.skip=true 阅读全文
posted @ 2014-05-31 21:49 Junior Panda 阅读(1218) 评论(0) 推荐(0)

eclipse 导入Maven项目的问题

摘要: http://my.oschina.net/wiselyming/blog/164470 阅读全文
posted @ 2014-05-31 21:48 Junior Panda 阅读(218) 评论(0) 推荐(0)

Maven: setup compiler plugin encoding without editing pom.xml

摘要: -Dfile.encoding=CP1252 阅读全文
posted @ 2014-05-31 21:41 Junior Panda 阅读(152) 评论(0) 推荐(0)

Linux下使用RecordMyDesktop进行屏幕录像

摘要: 近期我们在评估给用户提供视频教程的可能性,以此来展示某些用视频才能更好表达的教程。在挖掘这个问题的时候,我们发现极丰富的可用于屏幕录像的工具。这些程序大体上特性的区别有:视频质量,性能,兼容性。这在此教程里,我们推荐一款能让桌面录像更简单的 RecordMyDesktop。安装 RECORDMYDE... 阅读全文
posted @ 2014-05-31 21:32 Junior Panda 阅读(411) 评论(0) 推荐(0)

cygwin下清屏的三种方法

摘要: 1. 做一个clear脚本,放到/bin下去 $vim /bin/clear #!/bin/bash cmd /c cls 2. ctrl + L 3. 在cygwind中install ncurses (in Utils) and then you can use: clear 我倾向于第三种方法,本来有就用原来的,不要自己弄了。 阅读全文
posted @ 2014-05-31 21:18 Junior Panda 阅读(458) 评论(0) 推荐(0)

关闭Ubuntu 12.04的内部错误提示

摘要: 刚装完系统后,才安装一个输入法重启电脑后,竟然就提示‘内部错误’需要提交报告,什么状况? 发扬‘不求甚解’的光荣传统,我又不搞Linux开发,对我来说只是个工具而已,工具出问题了解决问题即可不想劳神深入分析,再说我也没那个能力。 出现‘内部错误’的原因是因为Ubuntu引入 Apport , 其实出现的错误并不会对正常使用系统造成印象,所以关闭即可。 sudo gedit /etc/... 阅读全文
posted @ 2014-05-31 21:17 Junior Panda 阅读(165) 评论(0) 推荐(0)

Rhythmbox中文乱码

摘要: 今天在网络上找到了一个比较好的解决Rhythmbox中文乱码的问题的方法 进入你的音乐文件夹执行如下代码: mid3iconv -e GBK *.mp3 如果没有提示多试几次, 有可能系统会提示: python-mutagen没有安装。 sudo apt-get install python-mutagen 安装。 输入如上的命令,回车。等安装好程序之后,再回到你... 阅读全文
posted @ 2014-05-31 21:12 Junior Panda 阅读(284) 评论(0) 推荐(0)

Google Chrome: Make the Bookmarks Bar Display as Icons Only

摘要: By reducing your bookmarks to show only the icons, you can access more of them from the Bookmarks bar. This works great for sites with recognizable favicons like Gmail, Google Calendar, etc. 1. Open ... 阅读全文
posted @ 2014-05-31 21:11 Junior Panda 阅读(192) 评论(0) 推荐(0)

How to change drive in cygwin

摘要: In DOS you may have been used to D: to change to the D drive. Cygwin provides a mapping of DOS/Windows drives to the unix file system by mapping or mounting drives into the /cygdrive/directory. To... 阅读全文
posted @ 2014-05-31 21:09 Junior Panda 阅读(235) 评论(0) 推荐(0)

Linux和Windows下查看、设置环境变量的比较

摘要: [一]查看环境变量: 1.windows 查看所有的变量:set 范例:>set 查看某个变量的值:set 环境变量名 范例: >set JAVA_HOME JAVA_HOME=D:\jdk 2.linux 查看所有的变量:export ... 阅读全文
posted @ 2014-05-31 21:07 Junior Panda 阅读(562) 评论(0) 推荐(0)

命令行查看linux发行版版本信息

摘要: 有时候安装完自己的linux发行版系统(如ubuntu、centos、redhat、opensuse、……)时,把版本信息忽略了,又不想重启电脑,此时我们可以通过命令行方式来查看: 1.cat /etc/issue 2.lsb_release -a 其中lsb代表什么呢?LSB:Linux Standard Base。 3.cat /etc/redhat-release(针对redhat,... 阅读全文
posted @ 2014-05-31 21:06 Junior Panda 阅读(1798) 评论(0) 推荐(0)