随笔分类 -  编程

摘要: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 阅读(310) 评论(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 阅读(219) 评论(0) 推荐(0)