点击此处阅读原文 function addLink() { var body_element = document.getElementsByTagName('body')[0]; var selection; selection = window.getSelection(); var pagelink = " 来自: "+document.location.href+""; var copy_text = selection + pagelink; var ne
面试前,让做的一个版本号比较函数. <script type="text/javascript"> var v1=prompt("请输入第一个版本号"); var v2=prompt("请输入第二个版本号"); console.log(versionCompare(v1,v2)); function versionCompare(v1,v2) { //版本号间如果出现字母,则视为测试版本,不比较字母大小,字母只出现一次 v1=v1.r
How to build vim 1. Build步骤 git clone --depth https://github.com/vim/vim.git # download the source code cd vim/src make distclean # clean workspace if you build vim before ./configure --enable-pythoninterp --enable-rubyinterp --enable-python3interp \
deb 包已被广泛应用但是也在不断的更新,这里介绍Ubuntu deb包安装设置使用,帮助大家安装更新Ubuntu deb包系统.制作Ubuntu deb包的三种方法 | Sean's Blog [转]制作Ubuntu deb包的三种方法Posted by Sean Liu on 10 October, 2009 No comments yet This item was filled under [ Ubuntu ] 一.使用Ubuntu deb包 1. 查看Ubuntu deb包含有哪些文件
(1)当前系统为非长期支持版.而且已被废弃,仅仅能逐版本号升级 以当前系统版本号为11.10为例 改动source.list更新源为通用old源,由于原来的源已经不可用 deb http://old-releases.ubuntu.com/ubuntu/ oneiric main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ oneiric main restricted 将oneiric换为当前系统版本号代号,代号可用lsb