随笔分类 -  工具

摘要:---今天需要从一个文件复制到另一个文件内容,直接鼠标不能复制,就查了下----两个文件 一个old.py 一个new.py需要从old.py复制到new.py----##步骤>* `vim new.py`>* 在new.py中 `:sp old.py`>* 然后 `Ctrl+w+w` 切换到 o... 阅读全文
posted @ 2015-02-18 15:01 YeungHsin 阅读(575) 评论(0) 推荐(0)
摘要:---才知道博客园支持```markdown```markdown真的不错啊推荐一个[在线编辑器](https://www.zybuluo.com/mdeditor)可以学习 阅读全文
posted @ 2015-02-18 14:49 YeungHsin 阅读(118) 评论(0) 推荐(0)
摘要:hexo github pages 搭配起来,写博客,相当的不错安装先不写了,以后补上,网上有好多教程写下使用相关的,防止自己忘了什么的先Node.js 环境,之前老是忘记这个,找不到命令,额,不了解Node.jsnvm install 0.10bash clean Remove gene... 阅读全文
posted @ 2015-02-18 13:18 YeungHsin 阅读(309) 评论(0) 推荐(0)
摘要:1 #!/usr/bin/env python 2 #-*- coding: utf-8 -*- 3 'a translate module ' 4 import sys 5 import urllib2 6 import json 7 def translate(word): 8 url="... 阅读全文
posted @ 2015-02-17 18:35 YeungHsin 阅读(326) 评论(0) 推荐(0)
摘要:githubweibocnblogsv2exzhihustackoverflowtwitterfeedlypocketadblockssh foxyproxygooglr translate for firefox 阅读全文
posted @ 2015-01-27 15:49 YeungHsin 阅读(163) 评论(0) 推荐(0)
摘要:首先得有一个国外的vps直接在aws上就可以申请到,一年免费Debian 下cd .sshvim config输入以下Host aws //名字,随意 一会儿运行时 用HostName Ip //在aws dashboard中可以看到ip,或者写public dnsuser ubuntu //ubu... 阅读全文
posted @ 2015-01-26 14:13 YeungHsin 阅读(234) 评论(0) 推荐(0)
摘要:首先说下我的原因是因为配置中set nocompatible " be iMproved, requiredfiletype off " required" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bu... 阅读全文
posted @ 2015-01-24 22:52 YeungHsin 阅读(1541) 评论(0) 推荐(0)
摘要:http://jingyan.baidu.com/article/4b07be3c60da3f48b380f3f0.htmlsudo apt-get install fcitx-table-wbpy中文超级棒debian下安装时候得添加下输入法 阅读全文
posted @ 2015-01-19 12:30 YeungHsin 阅读(238) 评论(0) 推荐(0)
摘要:按照以下两步骤就可以用了,之前git没安装命令行的,老出错https://github.com/gmarik/Vundle.vim/wiki/Vundle-for-Windowshttps://github.com/gmarik/Vundle.vim这里找插件http://vim-scripts.o... 阅读全文
posted @ 2014-10-31 11:36 YeungHsin 阅读(774) 评论(0) 推荐(0)
摘要:vim练级http://blog.jobbole.com/78960/窗口操作http://coolshell.cn/articles/1679.htmlvim简明教程http://coolshell.cn/articles/5426.html无插件vim编程http://coolshell.cn/... 阅读全文
posted @ 2014-10-30 12:35 YeungHsin 阅读(138) 评论(0) 推荐(0)
摘要:push的时候https每次都输入密码,很烦所以用ssh首先先cd ~/.ssh 看是否已经有密钥了如果没ssh-keygen -t rsa -C "example@example.com"然后三次enter,最好这样,先不管其它的然后ssh-add id_rsa //添加密钥到ssh,在git b... 阅读全文
posted @ 2014-10-30 12:25 YeungHsin 阅读(225) 评论(0) 推荐(0)
摘要:锐捷客户端不支持多网卡,而安装WindowsPhoneSDK的时候,HyperV中WP模拟器会增加几个虚拟网络适配器,最简单的办法就是直接删掉这几个虚拟适配器。或者可以让锐捷支持多网卡,网上应该有相关补丁,我没了解过。1:打开HyperV管理器2:在虚拟机一栏选择Emulator 8.1***(可能... 阅读全文
posted @ 2014-07-24 15:10 YeungHsin 阅读(327) 评论(0) 推荐(0)