- 下载nodejs
这里我选择的是.exe文件.
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.grebtn { | |
margin-left: 10px; | |
margin-top: 10px; | |
display: inline-block; | |
padding: 0.25em 1.25em; | |
border: 1px solid; |
" vim-sublime - A minimal Sublime Text -like vim experience bundle | |
" http://github.com/grigio/vim-sublime | |
" Best view with a 256 color terminal and Powerline fonts | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle1/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' |
set bsdir=buffer | |
set autochdir | |
set enc=utf-8 | |
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 | |
set langmenu=zh_CN.UTF-8 | |
language message zh_CN.UTF-8 | |
set helplang=cn | |
source $VIMRUNTIME/delmenu.vim |
这里我选择的是.exe文件.
I am looking for an XHTML 1.1 valid way to make a DIV into a clickable link.
More better:
You can't make the div a link itself, but you can make an <a>
tag act as a block, the same behaviour a <div>
has.
a {
display: block;
}
#!/bin/sh | |
# | |
# Shell script that configures gnome-terminal to use solarized theme | |
# colors. Written for Ubuntu 11.10, untested on anything else. | |
# | |
# Solarized theme: http://ethanschoonover.com/solarized | |
# | |
# Adapted from these sources: | |
# https://gist.github.com/1280177 | |
# http://xorcode.com/guides/solarized-vim-eclipse-ubuntu/ |
function validate(evt) {
var theEvent = evt || window.event;
var key = theEvent.keyCode || theEvent.which;
key = String.fromCharCode( key );
var regex = /[0-9]|\./;
if( !regex.test(key) ) {
// alert('hello')
theEvent.returnValue = false;
if(theEvent.preventDefault) theEvent.preventDefault();
}
jQuery.fn.center = function () {
this.css("position","absolute");
this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) +
$(window).scrollTop()) + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) +
$(window).scrollLeft()) + "px");
return this;
}