
杂
MoYummy
这个作者很懒,什么都没留下…
展开
-
GitHub Merge
Merge from master打开GitShell 进入目录 git checkout master git pull git checkout mybranch git merge master git status 打开GitHub软件切换到mybranch 点击Sync原创 2015-11-24 16:29:32 · 823 阅读 · 0 评论 -
我的sublime setting
{ "ignored_packages": [ "Vintage" ], "translate_tabs_to_spaces": true, "draw_white_space": "all", "indent_to_bracket": true, "word_wrap": true, "highlight_modifie原创 2017-01-10 13:32:59 · 785 阅读 · 0 评论 -
Centos搭建docker环境
sudo yum install -y yum-utilssudo yum-config-manager --add-repo https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.reposudo yum makecache fastsudo yum -y install docker-engin原创 2017-02-04 16:30:20 · 1548 阅读 · 0 评论 -
vim安装Typescript语法高亮
下载vim-plugcurl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim下载typescript的plugingit clone https://github.com/leafgarland/typescrip原创 2016-12-28 01:29:55 · 4644 阅读 · 0 评论 -
小技巧
在vim中已经设了expandtab,打ctrl-v和tab能打出制表符待续…原创 2016-01-06 15:22:45 · 318 阅读 · 0 评论 -
Github Reset
git reset [commit] # reset local to that commitgit stash # save changesgit push -f # force push to remotegit stash pop # load changesgit status # commit list has change to commit with changes after原创 2016-11-23 14:02:17 · 696 阅读 · 0 评论 -
Centos搭建git环境
安装gitsudo -iyum install git创建ssh keycd ~mkdir .sshchmod 700 .sshcd .sshssh-keygen # enter, enter, entermv id_rsa moyummygitmv id_rsa.pub moyummygit.pubcat moyummygit.pub # "ssh-rsa [blahblahbla原创 2016-11-29 14:00:30 · 630 阅读 · 0 评论 -
Centos搭建Ruby环境
安装rvm和rubysudo -iyum groupinstall -y development # or yum groupinstall -y 'development tools'gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3curl -L get.rvm原创 2016-11-29 13:37:07 · 436 阅读 · 0 评论 -
Jenkins-Git trouble shooting
目标:在jenkins上搭建git的project并能执行dummy.bat和dummy.sh创建slave之后,建立.ssh之后,在slave上成功git clone repository,但在jenkins上无法cloneStarted by user anonymousBuilding remotely on Moyummy_Slave (Moyummy) in workspace C:\J原创 2016-09-06 13:44:07 · 5229 阅读 · 0 评论 -
GitHub Deploy
下载安装 http://www.git-scm.com/download/win添加到PATH:C:\Program Files\Git\cmd;C:\Program Files\Git\bin;设置账户git config --global user.name "Mo Yummy"git config --global user.email "mo.yummy@example.com"原创 2015-12-09 11:08:38 · 820 阅读 · 0 评论 -
WinServer2012重启trouble shooting
调出Event Viewer -> Windows Logs -> System找到一条Kernel-Power 的 InformationLog Name: SystemSource: Microsoft-Windows-Kernel-PowerDate: 9/8/2016 6:33:33 PMEvent ID: 109Task Cate原创 2016-09-09 10:16:23 · 3327 阅读 · 0 评论 -
我的.vimrc
我的.vimrcset numberset rulerset laststatus=2set enc=utf-8set history=1000syntax onfiletype onset autoindentset smartindentset cindentset tabstop=4set shiftwidth=4set softtabstop=4set expandta原创 2015-11-24 15:48:20 · 301 阅读 · 0 评论 -
Windows远程登录Mac
ssh到Mac上启用VNC:https://gist.github.com/nateware/3915757# Step 1: Set priveleges$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor转载 2016-03-14 18:13:00 · 885 阅读 · 0 评论 -
Linux命令行格式及颜色
在.bash_profile里添加:export PS1='[\[\e[31;40m\]\u\[\e[37;40m\]@\[\e[36;40m\]\H \[\e[33;40m\]\w\[\e[37;40m\]]\$ \[\e[32;40m\]'效果:原创 2016-01-06 14:52:46 · 603 阅读 · 0 评论 -
VBox的Linux虚拟机,共享文件夹
设置共享文件夹 挂载共享文件夹linux-kyyw:~/test # mkdir /mnt/sharedlinux-kyyw:~/test # mount -t vboxsf shared /mnt/shared原创 2015-11-25 17:26:32 · 530 阅读 · 0 评论 -
macos安装xcode command line tool的两种方法
Terminal 运行 xcode-select --install 然后点击安装登录https://developer.apple.com/download/more/ 然后下载 dmg 安装原创 2017-01-10 21:07:32 · 39014 阅读 · 4 评论