自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(741)
  • 资源 (1)
  • 收藏
  • 关注

原创 VS2022+boost1.80

VS2022+boost1.80

2022-09-03 11:13:48 1512 3

原创 VC++ cpp-httplib

VC++ cpp-httplib。

2022-09-01 17:45:52 936

原创 meson安装

cd ~/.sshls id_rsa id_rsa.pub生成的id_rsa和id_rsa.pub必须是默认的文件名,不可以重命名

2022-08-27 16:07:19 1352

原创 hdu1401双向BFS

#include <iostream>#include <queue>#include <vector>#include <set>#include <algorithm>#include <stdio.h>#include <stack>#include <map>#include <string>#include <string.h>using namespa.

2022-04-02 20:33:49 311

原创 pistache Web服务

python3 -m pip install meson ninjavi /etc/profileexport PATH=/usr/local/bin:$PATHsource /etc/profileninja --versionmeson --versiongit config --global url."https://github.com.cnpmjs.org/".insteadOf "https://github.com/"git clone --recurse-submodules.

2021-12-08 13:29:04 600

原创 centos升级C++17

yum install centos-release-sclyum-config-manager --enable rhel-server-rhscl-7-rpmsyum install devtoolset-7scl enable devtoolset-7 bashln -s /opt/rh/devtoolset-7/root/bin/gcc /usr/bin/gccln -s /opt/rh/devtoolset-7/root/bin/g++ /usr/bin/g++ln -s /o...

2021-12-08 13:26:42 2201

原创 linux C++常用包

yum install mysql-develcd /optwget https://tangentsoft.com/mysqlpp/releases/mysql++-3.3.0.tar.gztar -zxvf mysql++-3.3.0.tar.gzcd mysql++-3.3.0./configure --enable-thread-check --enable-disasm LDFLAGS='-pthread'makemake install

2021-09-17 16:14:14 162

原创 tars 安装

docker pull tarscloud/framework:latest docker run -d -p 3306:3306 \ --net=host \ -e MYSQL_ROOT_PASSWORD="root" \ -v /data/framework-mysql:/var/lib/mysql \ -v /etc/localtime:/etc/localtime \ --name=tars-mysql \ mysql:5.6...

2021-09-13 13:17:26 173

原创 linux安装docker

sudo yum install -y yum-utils device-mapper-persistent-data lvm2sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repoyum list docker-ce --showduplicates | sort -rsudo yum install docker-cesudo systemctl start docke.

2021-09-13 13:00:09 66

原创 linux升级g++

sudo yum install centos-release-sclsudo yum install devtoolset-8-gcc*scl enable devtoolset-8 bashgcc -vcd devtoolset-8source ./enablemv /usr/bin/gcc /usr/bin/gcc-4.8.5ln -s /opt/rh/devtoolset-8/root/bin/gcc /usr/bin/gccmv /usr/bin/g++ /usr/bin/g++-

2021-09-09 10:55:38 1092

原创 洛谷P1036

https://www.luogu.com.cn/problem/P1036#include <iostream>#include <map>#include <string.h>#include <string>#include <vector>#include <stdio.h>#include <algorithm>#include <queue>#include <set&gt

2020-10-12 17:47:30 241 1

原创 zoj1136

https://zoj.pintia.cn/problem-sets/91827364500/problems/91827364635#include <iostream>#include <map>#include <string.h>#include <string>#include <vector>#include <stdio.h>#include <algorithm>#include <

2020-10-12 15:12:05 159

原创 HDU4403

http://acm.hdu.edu.cn/showproblem.php?pid=4403#include <iostream>#include <map>#include <string.h>#include <string>#include <vector>#include <stdio.h>#include <algorithm>#include <queue>#include.

2020-10-09 13:51:07 150

原创 boost问题

(1)问题:无法打开包括文件: “pyconfig.h”C:\tools\boost_1_70_0\boost\python\detail\wrap_python.hpp(57,11): fatal error C1083: 无法打开包括文件: “pyconfig.h”: No such file or directory

2020-09-20 08:57:46 229

原创 mysql修改密码

/usr/local/mysql/bin/mysql -u root -pALTER USER 'root'@'localhost' IDENTIFIED BY 'python123456' PASSWORD EXPIRE NEVER;ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'python123456'; alter user 'root'@'localhost' identified by 'py.

2020-07-25 10:11:32 126

原创 cmake linux安装

yum install -y gcc gcc-c++ make automake yum install -y wgetwget https://cmake.org/files/v3.18/cmake-3.18.0-rc1.tar.gztar -zxvf cmake-3.18.0-rc1.tar.gzcd cmake-3.18.0-rc1./bootstrapgmakegmake installln -s /opt/cmake-3.18.0-rc1/bin/cmake /usr/bin.

2020-06-21 22:33:13 166

原创 macOS升级后SVN升级

问题svn: error: The subversion command line tools are no longer provided by Xcode.解决sudo chown -R $(whoami) /usr/local/Cellarbrew install svn

2020-06-19 15:53:02 431

原创 mac安装brew 与 HomeBrew

curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh >> brew_installBREW_REPO="https://github.com/Homebrew/brew"修改为BREW_REPO="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"在BREW_REPO下添加CO...

2020-06-15 15:04:14 210

原创 maven oracle

mvn install:install-file -Dfile=/Users/liyang/Documents/libs/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar

2020-01-16 10:00:13 135

原创 linux防火墙

一、iptables防火墙1、基本操作# 查看防火墙状态service iptables status# 停止防火墙service iptables stop# 启动防火墙service iptables start# 重启防火墙service iptables restart# 永久关闭防火墙chkconfig iptables off...

2019-09-16 10:53:03 293

原创 chromedriver Linux

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpmyum install ./google-chrome-stable_current_x86_64.rpmgoogle-chrome -versionwget https://npm.taobao.org/mirrors/chrome...

2019-07-26 17:01:43 162

原创 Node Linux相关安装

下载经编译好的文件cd /optwget https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.gztar -xvf node-v10.15.3-linux-x64.tar.gzln -s /opt/node-v10.15.3-linux-x64/bin/npm /usr/local/bin/ln -s /opt/no...

2019-07-08 09:16:55 176

原创 Python-3.6.3Linux安装

cd /optwget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgztar -zxvf Python-3.6.3.tgzmkdir /usr/local/python3cd Python-3.6.3./configure --prefix=/usr/local/python3make && make ...

2019-07-08 09:14:26 883

原创 confluence

create database confluence character set utf8 collate utf8_bin;SET GLOBAL tx_isolation='READ-COMMITTED'

2019-06-12 13:52:20 484

原创 idea下svn的使用

创建项目设置ignore文件创建分支切换到分支查看当前分支创建项目设置ignore文件.idea.mvntarget.gitignore*.imlmvnw.cmdmvnw创建分支切换到分支查看当前分支...

2019-03-11 09:27:53 181

原创 linux常用命令

查看端口netstat -ntlp netstat -ntulp | grep 8088添加权限sudo chmod -R 777 某一目录du -sh 查看当前文件夹大小du -sh * | sort -n 统计当前文件夹(目录)大小,并按文件大小排序du -sk filename 查看指定文件大小du -sh .[!.]* 查看隐藏的文件大小df -h ...

2019-03-01 09:04:42 220

原创 poi excel

  &lt;dependency&gt; &lt;groupId&gt;org.apache.poi&lt;/groupId&gt; &lt;artifactId&gt;poi&lt;/artifactId&gt; &lt;version&gt;3.8&lt;/version&gt; &am

2019-01-04 11:34:58 231 2

原创 mac IDEA this license XXXXXXXX has been cancelled解决办法

sudo vim /etc/hosts在最后面加上0.0.0.0 account.jetbrains.com 2个站点可以获取激活码http://idea.lanyus.com/http://idea.iteblog.com/

2019-01-04 09:52:24 8377 1

原创 leetcode105 从前序与中序遍历序列构造二叉树

根据一棵树的前序遍历与中序遍历构造二叉树。注意:你可以假设树中没有重复的元素。例如,给出前序遍历 preorder = [3,9,20,15,7]中序遍历 inorder = [9,3,15,20,7]返回如下的二叉树: 3 / \ 9 20 / \ 15 7 class Solution { public Tre...

2018-12-11 11:42:37 133

原创 mysql字段新增修改相关

1添加表字段alter table table1 add transactor varchar(10) not Null;alter table table1 add id int unsigned not Null auto_increment primary key2.修改某个表的字段类型及指定为空或非空alter table 表名称 change 字段名称 字段名称...

2018-11-01 16:51:59 1854

原创 多线程整理

整理工作中常用的多线程场景1、异步操作ExecutorService 的corePoolSize核心线程数可以理解为【同一时刻】最多处理的个数,规则:1.线程数量未达到corePoolSize,则新建一个线程(核心线程)执行任务 2.线程数量达到了corePools,则将任务移入队列等待import org.apache.commons.lang3.time.DateFormat...

2018-07-27 15:14:39 548

原创 git ssh key相关

step1、进入.ssh文件夹 (windows下 下载git客户端) cd ~/.ssh(windows mkdir ~/.ssh)step2、配置name和emailgit config --global user.name "你的名称"git config --global user.email "你的邮箱" step3、生成keyssh-key...

2018-07-16 10:45:57 166

原创 maven依赖项目路径jar

&lt;dependency&gt; &lt;groupId&gt;com.github.noraui&lt;/groupId&gt; &lt;artifactId&gt;ojdbc7&lt;/artifactId&gt; &lt;scope&gt;system&lt;/scope&gt;

2018-07-15 11:44:55 1617

原创 webmagic爬虫

&lt;dependency&gt; &lt;groupId&gt;us.codecraft&lt;/groupId&gt; &lt;artifactId&gt;webmagic-core&lt;/artifactId&gt; &lt;version&gt;0.7.3&lt;/version&gt; &a

2018-06-20 21:18:56 246

原创 CompletionService

CompletionService维护一个保存Future对象的BlockingQueue。只有当这个Future对象状态是结束的时候,才会加入到这个Queue中,take()方法其实就是Producer-Consumer中的Consumer。它会从Queue中取出Future对象,如果Queue是空的,就会阻塞在那里,直到有完成的Future对象加入到Queue中。所以,先完成的必定先被取出。这...

2018-04-24 17:46:52 343

原创 intellij idea generatorConfig.xml

generatorConfig.xml&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis...

2018-04-19 14:17:21 6174

原创 git可视化记录

2018-04-18 20:25:33 544

原创 多线程解析报表

假如有这样一个需求,当我们需要解析一个Excel里多个sheet的数据时,可以考虑使用多线程,每个线程解析一个sheet里的数据,等到所有的sheet都解析完之后,程序需要提示解析完成。Way1joinimport java.time.LocalTime;public class Main { public static void main(String[] args) throws...

2018-04-13 17:23:46 359

原创 leetcode29. 两数相除

不使用乘号,除号和取模符号将两数相除。如果溢出返回 MAX_INT。模拟class Solution { public int divide(int dividendInt, int divisorInt) { Long dividend = Long.valueOf(dividendInt) ; Long divisor = Long.valueOf(di...

2018-04-12 20:58:01 460

原创 工作常用指令与快捷键

Git提交代码git fetch git add . git commit -m “desc” git pull git pushGit查看当前分支git symbolic-ref --short -q HEADGit创建新的分支并切换git checkout -b XXXXXXXXXXXXXXgit push origin XXXXXXXXXXXXXXgit branch --set-upstr...

2018-04-11 15:01:02 481

数字图像处理MATLAB版冈萨雷斯.pdf

挺好的图像处理权威图书,计算机视觉必备图书,我顶

2014-08-13

空空如也

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

TA关注的人

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