首先不同网站,当然可以使用同一个邮箱,比如我的github,gitlab,bitbucket的账号都是monkeysuzie[at]gmail.com 这时候不用担心密钥的问题,因为这些网站push pull 认证的唯一性的是邮箱 比如我的windows 上 2个账号一个gitlab 一个github (用的都是id_rsa)
host github
hostname github.com
Port 22
host gitlab.zjut.com
{ | |
"alignment_chars" : ["=", ":"] | |
} |
// vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8: | |
// Author: Binux<[email protected]> | |
// http://binux.me | |
// Created on 2013-11-11 18:50:58 | |
(function(){ | |
function getOffset(elem) { | |
var top = 0; | |
var left = 0; | |
do { |
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo: | |
cd /etc/yum.repos.d/ | |
vim nginx.repo | |
填写如下内容: | |
[nginx] | |
name=nginx repo |
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
package com.foocoders.text; | |
import java.text.AttributedCharacterIterator; | |
import java.text.DateFormatSymbols; | |
import java.text.FieldPosition; | |
import java.text.NumberFormat; | |
import java.text.ParseException; | |
import java.text.ParsePosition; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; |
package app; | |
import dao.HeroUserMapper; | |
import entity.HeroUser; | |
import entity.HeroUserExample; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.support.ClassPathXmlApplicationContext; | |
/** | |
* Created with IntelliJ IDEA. |
sudo chown -RL root:mysql /usr/local/mysql | |
sudo chown -RL mysql:mysql /usr/local/mysql/data | |
sudo /usr/local/mysql/support-files/mysql.server start |
package example; | |
import io.netty.channel.ChannelHandler; | |
import io.netty.channel.ChannelInitializer; | |
import io.netty.channel.socket.SocketChannel; | |
import io.netty.handler.codec.LengthFieldBasedFrameDecoder; | |
import io.netty.handler.codec.LengthFieldPrepender; | |
import io.netty.handler.codec.string.StringDecoder; | |
import io.netty.handler.codec.string.StringEncoder; | |
import io.netty.util.CharsetUtil; |
MYSQL_ROOT_PASSWORD=rootpass |