上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 87 下一页
摘要: git reflog 显示所有branch的commit,包括commit和reset,以及已删除的commit。而git log只显示当前branch的commit,不包括已删除的commit git cherry-pick 将一个commit应用到当前branch上,commit可以是其他bra 阅读全文
posted @ 2016-10-25 14:54 全玉 阅读(2984) 评论(0) 推荐(0) 编辑
摘要: MV*模式主要解决的问题就是 View代码难以维护的问题。 MV*模式将View中的逻辑分离出去,形成一个弱逻辑的易于维护的视图。 MV*中的*是Model和View的桥梁,负责保持Model和View的同步。 MVC模式 Model,View,Controler,Controler负责视图逻辑,数 阅读全文
posted @ 2016-10-15 17:32 全玉 阅读(2544) 评论(0) 推荐(0) 编辑
摘要: git pull的时候遇到 Unlink of file '.git/objects/pack/pack-***.pack' failed. Should I try again? (y/n) y 于是一直输“y”就一直出现这样,查了下有人说那个文件重复了,删除即可(没试过)。也有说是因为文件被占用 阅读全文
posted @ 2016-10-11 22:42 全玉 阅读(2301) 评论(0) 推荐(0) 编辑
摘要: 1. table-cell方法 2. transform方法 3. flex方法 阅读全文
posted @ 2016-10-11 22:19 全玉 阅读(278) 评论(0) 推荐(0) 编辑
摘要: function fIsWeixin(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return false; }... 阅读全文
posted @ 2016-10-09 21:53 全玉 阅读(195) 评论(0) 推荐(0) 编辑
摘要: HTML5中新添加了很多事件,但是由于他们的兼容问题不是很理想,应用实战性不是太强,所以在这里基本省略,咱们只分享应用广泛兼容不错的事件,日后随着兼容情况提升以后再陆续添加分享。今天为大家介绍的事件主要是触摸事件:touchstart、touchmove和touchend。一开始触摸事件touchs 阅读全文
posted @ 2016-10-09 19:43 全玉 阅读(2058) 评论(0) 推荐(0) 编辑
摘要: 方法1 .clear{ letter-spacing: -4px;/*根据不同字体字号或许需要做一定的调整*/ word-spacing: -4px; font-size: 0;} 方法2 .clear{ letter-spacing: -.5em; /*出自YUI*/ *letter-spacin 阅读全文
posted @ 2016-09-26 09:53 全玉 阅读(169) 评论(0) 推荐(0) 编辑
摘要: vim ~/.vimrc 添加 " Change cursor shape between insert and normal mode in iTerm2.appif $TERM_PROGRAM =~ "iTerm" let &t_SI = "\<Esc>]50;CursorShape=1\x7" 阅读全文
posted @ 2016-09-05 14:25 全玉 阅读(4312) 评论(0) 推荐(0) 编辑
摘要: 1. vim ~/.bash_profile (无则新建) 添加 if [ -f ~/.bashrc ]; then source ~/.bashrcfi 2.vim ~/.bashrc (无则新建) 添加alias 如 alias workspace='cd ~/my/workspace' 阅读全文
posted @ 2016-09-05 11:10 全玉 阅读(4615) 评论(0) 推荐(1) 编辑
摘要: tmux命令可以启动一个tmux服务,tmux服务包含多个session,session包含多个window,window包含多个pane。 常用命令tmux ls #显示已有tmux列表(C-b s)tmux a -t [name] #选择tmuxC-b c 创建一个新的窗口C-b n 切换到下一 阅读全文
posted @ 2016-09-02 13:56 全玉 阅读(2643) 评论(0) 推荐(0) 编辑
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 87 下一页