docker images根据镜像创建容器:docker create -it mysql:5.7启动容器:docker run --name mysqlserver -e MYSQL_ROOT_PASSWORD=sgcc -d -i -p 3306:3306 mysql:5.7进入容器:docke Read More
posted @ 2018-10-25 11:03 BlueBerry006 Views(131) Comments(0) Diggs(0) Edit
git ssh key常用命令git config --global --unset user.namegit config --global --unset user.emailssh-keygen -t rsa -C "yourmail@gmail.com" exec ssh-agent bas Read More
posted @ 2018-10-25 11:02 BlueBerry006 Views(166) Comments(0) Diggs(0) Edit
架设Git服务器项目 Git Candy:http://github.com/Aimeast/GitCandy/ AE大神的作品, Git Candy© 是一个基于ASP.NET MVC的Git分布式版本控制平台,Git Candy的目标是轻松干掉Bonobo,逐渐追赶Github,并用微创新超过G Read More
posted @ 2018-09-25 17:06 BlueBerry006 Views(245) Comments(0) Diggs(0) Edit
centos系统下安装redis 1、安装单机版redis2、redis的生产环境启动方案3、redis cli的使用 大家可以自己去官网下载,当然也可以用课程提供的压缩包 wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gzta Read More
posted @ 2018-07-28 10:30 BlueBerry006 Views(138) Comments(0) Diggs(0) Edit
基本查询 去除重复记录 >SELECT DISTINCT vend_id FROM products; 分页 >SELECT * FROM products LIMIT 5; >SELECT * FROM products LIMIT 0,5; >SELECT * FROM products LIM Read More
posted @ 2018-04-07 22:56 BlueBerry006 Views(502) Comments(0) Diggs(0) Edit
下载地址 http://www.mysql.com/downloads/mysql/ 端口号:3306 用户名:root 密码:自定义 连接到MySQL服务器 >mysql -uroot -proot [-h127.0.0.1] 断开连接 >exit 或者>quit 命令 显示MySQL中所有的数据 Read More
posted @ 2018-04-07 22:25 BlueBerry006 Views(172) Comments(0) Diggs(0) Edit
获取泛型类 Read More
posted @ 2017-11-16 15:30 BlueBerry006 Views(3256) Comments(0) Diggs(0) Edit
1,引用分为两种 firs:include<fileName.h> 引用系统头文件一般用<>。 second:include"fileName.h" 引用自己定义的头文件一般用" "。 区别是<>首先去系统中去找," "则在自己当前文件夹找。 2,只引用一次头文件 如果一个头文件被引用两次,编译器会 Read More
posted @ 2017-11-14 09:24 BlueBerry006 Views(7358) Comments(0) Diggs(0) Edit
他们有共同的好处就是“一改全改,避免输入错误”哪两者有不同之处吗?有的。 主要区别就在于,宏定义是在编译之前进行的,而const是在编译阶段处理的 宏定义不占用内存单元而const定义的常量占用内存单元 宏定义与const常量有着相同的作用 用一个符号表示数据,但是,有些书上说定义数组常量不能用co Read More
posted @ 2017-11-12 18:00 BlueBerry006 Views(8431) Comments(0) Diggs(0) Edit
C 程序员如何创建、打开、关闭文本文件或二进制文件。一个文件,无论它是文本文件还是二进制文件,都是代表了一系列的字节。C 语言不仅提供了访问顶层的函数,也提供了底层(OS)调用来处理存储设备上的文件。本章将讲解文件管理的重要调用。 frist step: 您可以使用 fopen( ) 函数来创建一个 Read More
posted @ 2017-11-09 11:29 BlueBerry006 Views(260) Comments(0) Diggs(0) Edit