2020年08月20日
摘要:新建bat文件,代码如下:@echooffif"%1"=="h"gotobeginmshtavbscript:createobject("wscript.shell").run("%~nx0h",0)(window.close)&&
阅读全文Writer @ ybzai 21:24 文章
2020年07月15日
摘要:WindowsXP家庭版和标准版SP3,.NETFramework1.1+SP1WindowsServer2003x86,.NETFramework1.1WindowsServer2003R2,.NETFramework2.0WindowsVistaSP1,.NETFramework2.0SP1and3.0SP1WindowsServer2008和WindowsServer2008SP1,.NET
阅读全文Writer @ ybzai 22:23 文章
2020年06月05日
摘要:ssh-keygen-trsa找到那个代码,再github中设置gitclonehttps://github.com/zhenhaihou/think-auth.git修改代码后gitstatus命令查看仓库状态gitadd.gitcommit-m“修改readme文件”输入gitlog命令查看仓库日志gitstatus(显示nothingtocommit,workingtreeclean才对)g
阅读全文Writer @ ybzai 21:28 文章
2020年06月05日
摘要:Docker分为CE和EE两大版本。CE即社区版(免费,支持周期7个月),EE即企业版,强调安全,付费使用,支持周期24个月。DockerCE分为stable,test,和nightly三个更新频道。每六个月发布一个stable版本
阅读全文Writer @ ybzai 22:37 文章
2020年04月27日
摘要:安装nodejs,就有了npm安装tsnpminstall-gtypescript查看版本tsc-v执行,生成index.jstscindex.ts输出执行nodeindex.js安装模块npminit生成package.json文件npminstalltypescriptwebpackawesome-typescript-loadersource-map-loader--save-devnpmi
阅读全文Writer @ ybzai 21:36 文章
2020年04月27日
摘要:【示例】#include<stdio.h>intmain(){printf("Hello,World!\\n");inta=5*10;printf("你%d好,\\n",a);return0;}linux下最方便。yumgcc。编译gcchello.c执行./a.out定义名字gcchello.c-ohello.outwindow下\\r\\nLinux下\\n换行在C中,有两种简单的定义常量的
阅读全文Writer @ ybzai 23:04 文章
2020年04月03日
摘要:只需要在页面加入一段css<styletype="text/css">html{filter:grayscale(100%);-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:url("data:im
阅读全文Writer @ ybzai 23:09 文章
2020年03月26日
摘要:查看64位还是32位,uname-a运行命令cat/etc/redhat-release查看系统版本。【关闭防火墙】运行systemctlstatusfirewalld命令查看当前防火墙的状态。如果防火墙的状态参数是inactive,则防火墙为关闭状态。如果防火墙的状态参数是active,则防火墙为开启状态。临时关闭防火墙,运行命令systemctlstopfirewalld永久关闭防火墙,运行命
阅读全文Writer @ ybzai 22:09 文章
2020年03月22日
摘要:在Centos7下搭建Apache+PHP运行环境查看centos版本cat/etc/redhat-release检查是否安装过apacherpm-qa|grephttpd检查是否安装过Mysqlservicemysqldstart清理Mysql痕迹yumremovemysqlrm-f/etc/my.cnf卸载Apache包rpm-qa|grephttpd安装Apacheyum-yinstallh
阅读全文Writer @ ybzai 23:29 文章
2020年03月22日
摘要:插入表insertinto\'表名\'values(1,\'ddd\');添加索引索引类型NORMAL:普通索引。最常用UNIQUE:唯一索引。和普通索引类似,值必须唯一FULLTEXT:全文索引。目前只有MyISAM引擎支持。只有CHAR、VARCHAR,TEXT列上可以创建全文索引。它的出现是为了解决WHEREnameLIKE“%word%”这类针对文本的模糊查询效率较低的问题;索引方法BTREE是M
阅读全文Writer @ ybzai 23:30 文章
2020年03月21日
摘要:js控制台打印输出console.log("测试");js,css加上版本号,防止修改它们后,浏览器有缓存不更新
阅读全文Writer @ ybzai 23:32 文章
2020年03月21日
摘要:phpQuery::newDocumentFile($htmlFile);//之后phpQuery::$documents=array();//或者unset(phpQuery::$documents);while(true){phpQuery::newDocumentFile($htmlFile);//处理网页元素...phpQuery::$documents=array();echomemor
阅读全文Writer @ ybzai 23:32 文章