- 博客(34)
- 收藏
- 关注
原创 Dreaming of Being the Boss -Part1?
Many quickly conclude that they want to be an executive of some sort. conclude: /kənˈkluːd/ vt 推断 executive : /ɪɡˈzekjətɪv/ adj.经营管理的 n. 主管 They see all of the perks of the e...
2020-03-17 11:46:14
356
原创 Axure AxureRP9 密钥
被授权人:Axure授权密钥:gjqpIxSSUUqFwPoZPi8XwBBhRE2VNmOQsrord0JqShk4QC+Xxrw6R1tTSDU4zmzU被授权人:abc授权密钥:FLGc7SnCk30P1zlsPVxnsqToF6bj+dCfzbBLqSfNmqWbTrSgYQNNxrzGiTSA2RyE...
2019-11-28 08:53:39
13605
4
原创 windows mysql 5.7的安装
win10 mysql 5.7的安装1.mysql下载地址官网:https://dev.mysql.com/downloads/mysql/5.7.html#downloads百度网盘:链接: https://pan.baidu.com/s/1-dxI255QqoMm2VJYfg7Msg 提取码: icdh2.可以把解压的内容随便放到一个目录,我的是如下目录(放到C盘的话,可能在修改ini...
2019-11-27 10:58:24
277
原创 VueCli3.0 安装使用
VueCli3.0 安装使用1.安装node v10.16.2稳定版本查看是存安装成功:node -v2.安装cnpm我们在windows系统安装完node.js和npm后,由于需要加速从而选择安装cnpm,命令如下:npm install -g cnpm --registry=https://registry.npm.taobao.org安装完之后命令行窗口执行,cnpm 命令时提示...
2019-11-06 23:58:56
634
原创 tomcat 1.8.0开机启动 与 Nginx的安装
tomcat 1.8.0_231 开机启动1.开始设置开机启动在CentOS下设置Tomcat8自启动。cd /etc/init.dvi tomcat83.粘贴自启动命令 注意替换自己的Java环境变量和 TOMCAT的HOME#!/bin/bash # # tomcat startup script for the Tomcat server # # chkco...
2019-11-02 10:05:27
324
原创 Centos7安装Redis3.2.8
一、系统环境和版本说明 Redis的版本选取目前的官网版本redis-3.2.8。二、Redis的安装步骤 2.1 在线下载Redis的安装包[](javascript:void(0)????[root@localhost lzh]# wget http://download.redis.io/releases/redis-3.2.8.tar.gz--2017-04-1...
2019-10-20 11:19:50
321
原创 CentOS7安装JDK1.8
CentOS7安装JDK1.8Jdk8下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html选择linux x64版本,尾缀名为tar.gz1.使用root账户登录su root#输入密码2.查看版本java -version3.删除openjdk1)首...
2019-10-20 02:36:33
228
原创 centos7 mysql5.7.11安装
centos7 mysql5.7.11安装一、安装的下载: wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz二、安装 mysql2.1 解压安装包,并移动至 home 目录下解压 mysql 的 gz 安装包: [root@localhost pub]...
2019-10-20 00:48:15
630
1
原创 Docker-Compose的使用
docker-compose的安装:官网文档:https://docs.docker.com/compose/install/sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/dock...
2019-09-09 00:14:49
260
原创 dcoker 数据持久化---dcoker-compose使用
数据持久化:Data Volumevolume 关键字指定某一个容器里面,产生的数据—》让它挂载到linux主机上的某一个目录上面,创建一个叫做Data Volume的对象(VOLUME /var/lib/mysql)运行一个mysql 的container :docker run -d --name mysql1 -e MYSQL_ALLOW_EMPTY_PASSWORD=true mys...
2019-09-08 10:43:57
351
原创 vagrant的下centos7安装docker ce
vagrant的使用vagrant up 启动一个centos7或其它的虚机系统,需要一个dockerfile文件vagrant ssh 进入到这个虚机。进入到centos7 后安装docker安装docker网址: https://docs.docker.com/install/linux/docker-ce/centos/docker CE centos7的安装:sudo yum...
2019-09-08 10:37:26
347
原创 QT学习之路Day01
QT学习之路1.day011.快键的使用=Qtcreator中常用快捷键总结===============F1 查看帮助F2 跳转到函数定义(和Ctrl+鼠标左键一样的效果)Shift+F2 声明和定义之间切换F4 头文件和源文件之间切换-------------------------------------------------...
2019-08-23 19:22:26
274
原创 go语言的学习day01
go语言的学习一、day011.变量声明:package mainimport "fmt"var nWher = "test my "//定义二个返回值func foo()(string,int) { return "alx",9000}func main() { //声明必须要使用 var name string var age int //批量声明 必须要...
2019-08-22 09:58:03
251
翻译 Google Protobuf 3版本介绍
Google Protobuf 3版本介绍本文编写时, Google 官方的 protobuf 版本是3.0.0beta下面介绍下proto3的一些细节变化Proto3的语法变化语法标记这个版本的protoc的protobuf编译器已经可以支持proto2语法和proto3的语法如果你的proto文件没有添加syntax说明的话, 用这个版本的编译器会报错, 提示你默认prot...
2019-08-19 11:50:56
2931
原创 protobuf的使用
int main(int argc, char *argv[]){ GOOGLE_PROTOBUF_VERIFY_VERSION; string filename("D:\\prototest1.txt"); //序列化保存到本地文件 fstream output(filename, ios::out | ios::trunc | ios::binary); ComplexOb...
2019-08-19 10:57:44
210
原创 google::protobuf的使用 c+ https://blog.youkuaiyun.com/u011573853/article/details/73060934
// 如果使用此注释,则使用proto3; 否则使用proto2syntax = "proto3";// 引入外部的proto对象import "google/protobuf/any.proto";// 生成类的包名option java_package = "proto.complex";//生成的数据访问类的类名 option java_outer_classname...
2019-08-16 17:44:12
765
原创 一个规模大的计算任务 std::async
//一个规模大的计算任务//std::async很方便,把更多的计算工作放在更多的肩上来承担。//下面例子中演示了四个异步调用对标积的计算#include <chrono>#include <iostream>#include <future>#include <random>#include <vector>#inc...
2019-06-18 21:05:48
174
原创 std::future的使用
//传递类参数,智能指针作为线程参数#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>#include <future>using namespace std;void f(int n){ cout << n <...
2019-06-18 20:39:34
999
原创 std::atomic<int> m_count 原子操作
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>#include <mutex>#include <list>#include <atomic>using namespace std;class A{...
2019-06-18 19:13:50
973
转载 gitlab的安装 centos7安装Nginx
centos7安装Nginxhttps://www.cnblogs.com/kaid/p/7640723.htmlgitlab的安装https://blog.youkuaiyun.com/duyusean/article/details/80011540注意IP是外网IP,还有端口号,阿里云禁止80端口,要注意编辑gitlab的配置vi /etc/gitlab/gitlab.rb...
2019-06-16 17:38:05
390
转载 c++ 智能指针
https://blog.youkuaiyun.com/xu1105775448/article/details/80625936
2019-06-09 16:21:34
150
原创 单例 多线程 互斥 之 call_once(不建义)
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>#include <mutex>#include <list>using namespace std;std::mutex m_mutex;std::once_fla...
2019-06-09 16:10:59
267
原创 单例 多线程 互斥
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>#include <mutex>#include <list>using namespace std;std::mutex m_mutex;class MySign...
2019-06-09 15:58:31
230
原创 c++11 线程保护,入口,; 智能指针
//传递类参数,智能指针作为线程参数#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>#include <mutex>#include <list>using namespace std;class A{publi...
2019-06-09 14:47:00
290
原创 C++11新标准线程库之方法五
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>using namespace std;class A{public: //类型转换构造函数 A(int i) :m_i(i) { cout << "构造函数执行"<&...
2019-06-06 19:48:28
362
原创 C++11新标准线程库之方法四 - 有参数
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>using namespace std;void myprint(const int & i, char * pmybuf){ cout << i << endl;...
2019-06-06 19:33:08
196
原创 C++11新标准线程库之方法三
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>using namespace std;int main(){ auto mylamthread = []{ cout << "Start" << endl;...
2019-06-06 19:25:54
232
原创 C++11新标准线程库之方法二
#include<cstdio>#include<cstdlib>#include<iostream>#include <thread>using namespace std;class TA{public: TA(int i) { cout << i << endl; } void opera...
2019-06-06 19:19:59
168
原创 C++11新标准线程库之方法一
//并发//两个或者更多的任务(独立的活动)同时发生(进行)//一个程序同时执行多个独立任务//单核CPU,并发的假象,这种上下文切换是有时间开销的//多核;一块芯片上有双核,4核,8,16//1. 多进程并发//多个进程实现并发//打开多个word ,打开多个IE浏览器//账号服务器,游戏逻辑服务器,服务器之间的通信//进程:(同一台电脑:管道,文件,消息对列,共享内存//...
2019-06-06 19:09:32
966
原创 编写类String的构造函数、析构函数和赋值函数
#include <cstdio>#include <cstdlib>#include <sstream>class String{public: String(const char * s = NULL); String(const String& other); String & operator=(const Strin...
2019-06-05 21:05:01
371
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人