自从 Java 跑到 Oracle 以后,安装 JDK 变得很讨厌, 还好有好心人有好心人给大家提供 PPA
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
说起来这台老机器因为显卡分辨率得关系,没办法升到最新版,Ubuntu又不再支持12.04了,还真是蛋疼啊~ 可惜又不想在虚拟机上玩 Linux ,真是麻烦。
之前开始使用EverNote的时候,最不爽的一点就是,居然没有Linux的客户端,只能使用网页版。
现在好了,Linux客户端终于出来了。Ubuntu下安装非常简单:
sudo add-apt-repository ppa:nvbn-rm/ppa sudo apt-get update && sudo apt-get install everpad
如果你曾经给目录设置过类似“2775”之类的权限,你知道你做了什么吗? “rwx” 变成了 “rws”,到底发生了什么?
想用 Vim 开发,第一个问题就是:如何格式化代码?之前关于 Vim 配置 里已经有关于 Tab 的控制,如何进行自动缩进。可是当然免不了要自己动手的时候。
Update /etc/vim/vimrc with following configuration:
40 ” The following are commented out as they cause vim to behave a lot 41 ” differently from regular Vi. They are highly recommended though. 42 “set showcmd ” Show (partial) command in status line. 43 set showmatch ” Show matching brackets. 44 “set ignorecase ” Do case insensitive [...]
之前做 Knowledge Share 的时候,整理了一下关于证书的东西,再精简一个文字版放这儿归档。
要说证书是什么似乎是太常见了,之前说 A Little HTTP 的时候提到的 HTTPS; 还有说起 SSH 也少不了证书。IE 里面的 “证书管理器” 估计你多少都曾经看到过了。可是要说证书是什么,明白肯定明白,不过似乎又有些说不清,道不明的样子。整理清楚什么是证书先需要先从 Key 说起。
Public Key & Private Key
用过 SSH 的人必然知道这两个东西了,他们的用处是什么呢?
Keys are used to encrypt information. Encrypting information means ”scrambling it up” So that only a person with the appropriate key can make it readable again Either one of the two keys can encrypt data, and the other key can decrypt it
比如 Bob 有这两把 Key,然后他将 Public Key 交给 Susan,那么Susan 就可以把发给 Bob 的消息用 Public Key [...]
这周把公司的物理工作区换了换位置,不知怎么回事竟然影响到了 Ubuntu 那台开发机的分辨率,好好的1280×1024却被弄得只有1024×768,而且配置里根本没有 1024 以上的选项,怎么也改不回来。现在回想起来,刚搬回来的时候,错误的把显示器插在了主板的VGA口上,而不是显卡的VGA口,但是!! 如果这就是元凶的话,也真够 Stupid 的 !!
好了,郁闷没有用需,还是要解决问题。首先怀疑是驱动问题,因为 Nvidia 的显卡,出问题也是挺正常的,Windows 下都弱爆了,更不要说 Linux。先到 “ Additional Drivers ” 里查看一下,显卡驱动正常。然后想查看 /etc/X11/xorg.conf , 可是竟然没有,没弄懂 Ubuntu 把东西写道哪儿去了。但是可以通过下面的命令来实现配置。
查看当前的分辨率设置:
villimw@Skynet:~$ xrandr -q Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 VGA1 connected 1024×768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm [...]
Our EMS project already change to use Maven 3.0.3 . But the problem thing is other project still using Maven 2 … However the good new is Maven 3.0.3 is compatible for Maven 2 project.
It’s quite easy to install it on Windows and Ubuntu. Take Ubuntu for example, just run following commands :
Install Maven [...]
Tomboy is one of my favorite tool. I start to use it when using Ubuntu 8.10.
And when integrated with Ubuntu web Notes service, it became much more powerful. And right now, I already using it every where : Ubuntu , Windows , Android Phone …
But the Spell Check function is quite annoying for [...]
刚升级到了 Ubuntu 11.10 ,一切都挺让人满意的, 登录界面不一样拉, Ambiance主题也进行了微调, 很多小细节发生了变化, 比如现在的Terminal让我觉得相当舒服. Dash 图标和界面有改良, Dash 框不会在鼠标 over的时候弹出了;窗体按钮, 最大化,关闭什么的也很聪明的默认隐藏了; 软件中心升级, 很赞 … …
不过一升级完成就发现, 之前的 DesktopNova 和 自定义鼠标都用不了了. 这到还不是大问题, 可以刚准备开发, 才发现 Sun-java6 都消失了 -_-||
安装SUN-JAVA6-JDK
之前写过 Ubuntu 10.10 开发环境配置 (三)Install Sun JDK , 但现在当然有些不一样了. 不过还好, 还是比较简单.
sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update [...]
June 2013 M T W T F S S « May 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Recent Comments
Tags
Agile Android Bash Book Boxing C Communication Compress Database Eclipse Encoding EverNote Fcitx Generic Grep HTTP HTTPD Interview Invokevirtual Java Java7 Life Linux Management Maven Network Pattern Plan ProductManager ProductOwner python Resignation Review Scrum ScrumWorks SSH StevenJobs SUDO SVN Thread Tomcat Ubuntu Vim Work Zimbra

