This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git tag # 在控制台打印出当前仓库的所有标签 | |
git tag release1.0 # 创建轻量标签 | |
git tag -a release1.0 -m "version 1.0.4 ->release for 1.0" # 创建附注标签 | |
git checkout tagName # 切换 | |
git show release1.0 # git show命令可以查看标签的版本信息 | |
git tag -d release1.0 # 删除标签 | |
git tag -a release1.0 commitID # 基于提交ID创建 | |
git push origin tagName # 提交到服务器 | |
git push origin –tags # 将本地所有标签一次性提交到服务器 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1000:未知错误 | |
2xxx:常规错误 | |
2001:找不到文件 | |
2002:版本不匹配 | |
3xxx:程序错误 | |
3000: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server 初始化配置 及 VPN的搭建 | |
先给ubuntu用户设置密码 | |
sudo passwd ubuntu | |
更改ssh 允许用户名密码登录 | |
sudo vi /etc/ssh/sshd_config | |
PasswordAuthentication 改成 yes | |
重启ssh 服务 | |
sudo service ssh restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install gcc | |
apt-get install -y gcc | |
# install make | |
apt-get install -y make | |
# install jdk | |
cd /usr/local/bin/ | |
mkdir java | |
cd java/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1: # vim install | |
sudo apt-get install vim | |
2: # alias setting | |
alias la='ls -al' | |
alias ll='ls -l' | |
# global setting | |
vim /etc/bashrc | |
source /etc/bashrc | |
3: # install input methos | |
http://code.google.com/p/libgooglepinyin/wiki/INSTALL#ibus-googlepinyin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bash_profile | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
PATH=$PATH:$HOME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vpn01:http://isoredirect.centos.org/centos/6/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso | |
02:yum update | |
03:yum install "@Chinese Support" | |
04:yum remove java | |
05:vim /etc/inittab (id:3:initdefault) | |
06:yum -y install glibc.i686 | |
07:yum -y install libstdc++.so.6 | |
yum -y install glibc-devel.i686 glibc-devel | |
yum -y install zlib.i686 | |
08:# update firefox(http://www.mozilla.org/en-US/firefox/all/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
参考链接:http://books.sonatype.com/mvnref-book/reference/android-dev.html | |
1:修改DgroupId和DartifactID为合适的值然后执行 | |
mvn archetype:generate \ | |
-DarchetypeArtifactId=android-quickstart \ | |
-DarchetypeGroupId=de.akquinet.android.archetypes \ | |
-DarchetypeVersion=1.0.6 \ | |
-DgroupId=my.pk.name \ | |
-DartifactId=my-app-name | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -genkey -v -keystore com-dingpw-android.keystore -alias com.dingpw.android.keystore -keyalg RSA -keysize 2048 -validity 20000 | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore com-dingpw-android.keystore target/android-dping-1.0-SNAPSHOT-2014-08-16_08-57.apk com.dingpw.android.keystore | |
JSON ONLINE:http://www.jsoneditoronline.org/ | |
JSON ONLINE:http://jsonviewer.stack.hu/ | |
VISIO ONLINE:https://creately.com/app/# | |
UML ONLINE:https://app.genmymodel.com/genmymodel | |
maven仓库搜索服务:http://mvnrepository.com/ |