Ubuntu 11.10 Solution Problem
这周把公司的物理工作区换了换位置,不知怎么回事竟然影响到了 Ubuntu 那台开发机的分辨率,好好的1280×1024却被弄得只有1024×768,而且配置里根本没有 1024 以上的选项,怎么也改不回来。现在回想起来,刚搬回来的时候,错误的把显示器插在了主板的VGA口上,而不是显卡的VGA口,但是!! 如果这就是元凶的话,也真够 Stupid 的 !!...
View ArticleWhat is Digital Certification
之前做 Knowledge Share 的时候,整理了一下关于证书的东西,再精简一个文字版放这儿归档。 要说证书是什么似乎是太常见了,之前说 A Little HTTP 的时候提到的 HTTPS; 还有说起 SSH 也少不了证书。IE 里面的 “证书管理器” 估计你多少都曾经看到过了。可是要说证书是什么,明白肯定明白,不过似乎又有些说不清,道不明的样子。整理清楚什么是证书先需要先从 Key 说起。...
View ArticleVIM Configuration for C
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...
View Article用Vim开发 : 格式化代码
想用 Vim 开发,第一个问题就是:如何格式化代码?之前关于 Vim 配置 里已经有关于 Tab 的控制,如何进行自动缩进。可是当然免不了要自己动手的时候。 本来以为还需要插件才能把这事儿给办了,不过还是不了解Vim大哥,其实做起来相当方便快捷。 首先要知道的是,全文格式化: gg=G 命令很简单,只要知道 “ = ” 是格式化对齐代码,就不难记得如何做了。...
View ArticleWhat is SUID,SGID and SBIT
之前改写用 Maven 来做 RPM 包,碰到了很多需要设置权限 “2755” 的情况。简单的查过以后一直还是糊里糊涂,不幸有同事来刨根问底,终于下决心把这个事情彻底整理一下。 Sticky Bit ( SBIT ) 在Unix刚开始的年代,计算机的资源是有限的,可不像现在人人都玩着自己的机器。Unix...
View ArticleInstall EverNote for Ubuntu 12.04
之前开始使用EverNote的时候,最不爽的一点就是,居然没有Linux的客户端,只能使用网页版。 现在好了,Linux客户端终于出来了。Ubuntu下安装非常简单: sudo add-apt-repository ppa:nvbn-rm/ppa sudo apt-get update && sudo apt-get install everpad
View ArticleUbuntu 12.04 开发环境配置 Install Oracle JDK7
自从 Java 跑到 Oracle 以后,安装 JDK 变得很讨厌, 还好有好心人有好心人给大家提供 PPA sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer...
View Articlezsh 乱码
Mac X 目前默认的 Zsh 的版本是 4.3.11 。如果你也跟我一样是从 Oh-my-zsh 获得的配置zshrc配置 git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 那么估计也会碰到乱码问题,ls...
View ArticleOTOOL : Mac’s objdump
看C语言,跑不开要用到查看 Binary Object File 的工具,在 Linux 自然是 GNU 提供的 objdump,不过现在用 MBP 后却没有了,没有仔细看为什么,可能是版权问题吧。 不过苹果自己提供了一个工具,otool。使用起来也很简单,目前看到比较常用的命令是: otool -t BINARY_FILE #查看文件内容 otool -tv BINARY_FILE #反汇编文件...
View ArticleUncover LDAP
Already knowing about LDAP for some years, but never really understand it. This week, I spent some time to get more familiar with it, there’s more stuff than expected to really master it. So, I just...
View ArticleThreads in Bash
The title ‘Threads in Bash’ is incorrect ^_^ There’s no thread when creating BASH Script, I just find out these days when I trying to make a script to update ZIMBRA accounts by Bash. Recently when we...
View ArticleInstall RPM on Ubuntu
We have talked about install Oracle in 10.1o long time ago : Ubuntu 10.10 install Database After these years, there’s some change. First, Oracle changed the download website structure, you have to go...
View Article
More Pages to Explore .....