码迷,mamicode.com
首页 >  
搜索关键字:cat    ( 24058个结果
判断是否为时间格式
public static boolean isValidDate(String str) { DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); try{ Date date = (Date)formatter.parse(str)... ...
分类:其他好文   时间:2018-11-16 20:46:39    阅读次数:169
安装请求库
环境说明[root@localhostPython-3.6.6]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.4(Maipo)[root@localhostPython-3.6.6]#uname-aLinuxlocalhost.localdomain3.10.0-693.el7.x86_64#1SMPThuJul619:56:
分类:其他好文   时间:2018-11-16 20:45:08    阅读次数:178
邻接表创建无向图,广度优先搜索遍历输出
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define MVNum 100 7 int vis[MVNum]; 8 typedef struct ArcNode 9 { 10 int adjvex; 1... ...
分类:其他好文   时间:2018-11-16 19:13:45    阅读次数:228
linux个性化配置初始化脚本
#!/bin/bash#====================================================#Author:Mr.Song#CreateDate:2018-11-16#Description:#====================================================#################################
分类:系统相关   时间:2018-11-16 17:46:13    阅读次数:209
ubuntu安装nginx及其默认目录结构
一. 安装包安装 1.1 安装Nginx Ubuntu安装之后的文件结构大致为: 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 程序文件在/usr/sbin/nginx 日志放在了/var/log/nginx中 并已经在 ...
分类:系统相关   时间:2018-11-16 17:36:55    阅读次数:280
05-树9 Huffman Codes (30 分)
In 1953, David A. Huffman published his paper "A Method for the Construction of Minimum-Redundancy Codes", and hence printed his name in the history o ...
分类:其他好文   时间:2018-11-16 15:14:12    阅读次数:230
如何用navicat连接阿里云内网的mysql数据库
1.首先用ssh连接阿里云服务器 2.连接mysql数据库 设置完这两项就可以连接阿里云内网mysql数据库 ...
分类:数据库   时间:2018-11-16 15:07:16    阅读次数:184
linux 下 ifcfg-ethx配置和解析
网络接口配置文件[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)TYPE=Ethernet ...
分类:系统相关   时间:2018-11-16 15:04:57    阅读次数:255
Linux基础教程之linux文件权限深度解读
基本命令——来源于马哥教育官网 1.cut : cat /etc/passwd | cut -d’:’ -f7| uniq -c| sort -nr 2.authconfig 修改加密方式 –passalgo=sha256 — update 3.scp 上传文件 -r dir ip:path 传目录 file ip:path传文件 -P port 指定端口 4.rsync 同步文件 -avz 源文件 ip:path scp和rsync都是基于ssh协议
分类:系统相关   时间:2018-11-16 15:03:07    阅读次数:204
nginx 访问http强制跳转https
nginx 访问http强制跳转https
分类:Web程序   时间:2018-11-16 11:39:19    阅读次数:262
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!