自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

原创 git删除中间某个commit

1.git log获取commit信息 2.git rebase -i (commit-id) commit-id 为要删除的commit的下一个commit号 3.编辑文件,将要删除的commit之前的单词改为drop 4.保存文件退出大功告成 5.git log查看

2017-01-18 11:30:23 27765 4

原创 golang url parameters中包含array

url parameter中这样定义:arrayname=…&arrayname=…package mainimport ( "fmt" "net/url")func main() { v := url.Values{} v.Set("name", "Ava") v.Add("friend", "Jess") v.Add("friend", "Sar

2017-01-16 14:54:29 3219

转载 .h .lib .dll文件作用和区别

简而言之(1).h是头文件,lib和dll都是库文件。(2)头文件包含声明,库文件则包含实现。(3)lib是静态链接时使用的,如果采用静态链接库,则lib包含了实际执行代码和符号表等,无论你愿不愿意,lib 中的指令都全部被直接包含在最终生成的 EXE 文件中了(因此比较耗费内存)。dll用于动态链接,该 dll 不必被包含在最终 EXE 文件中,EXE 文件执行时

2017-01-12 22:42:18 668

转载 rabbitmq的模型

AMQP 0-9-1 Model in Brief The AMQP 0-9-1 Model has the following view of the world: messages are published to exchanges, which are often compared to post offices or mailboxes. Exchanges then distribut

2017-01-12 18:48:17 939 3

原创 golang noblocking send

// Basic sends and receives on channels are blocking.// However, we can use `select` with a `default` clause to// implement _non-blocking_ sends, receives, and even// non-blocking multi-way `select`

2017-01-06 16:44:35 687

原创 git pull request下有多个commit

如果pull request没有合并,那么每次git commit 都会在该pr下生成一个新的commit,若是git commit --amend那么就是追加在上次的commit下。还有一种可能是本地代码不是最新的,然后提交git commit;git push,发现pr下包含了上次的commit,那么解决方案是拉取最新代码,然后rebase,再git push -f

2017-01-05 15:09:30 3825

install-tl-unx.tar.gz

texlive的linux/unix版网络安装包,解压可用

2015-04-29

软件测试人员(Java)_3级_操作技能鉴定1.1.1试题单

软件测试人员(Java)_3级_操作技能鉴定1.1.1试题单

2012-11-09

shell编程实验题目

shell编程,提供了一些可以习题和参考

2011-06-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除