会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
BOYE
Believe in yourself,Nothing is impossible
博客园
首页
新随笔
新文章
联系
管理
订阅
上一页
1
···
12
13
14
15
16
17
18
19
20
···
29
下一页
2022年9月2日
mysql 设置 update操作时自动更新时间字段
摘要: 建表 CREATE TABLE `time_update` ( `id` int(10) unsigned NOT NULL DEFAULT '0', `name_seq` int(10) unsigned NOT NULL DEFAULT '0', `mod_time` timestamp NOT
阅读全文
posted @ 2022-09-02 09:49 boye169
阅读(1269)
评论(0)
推荐(0)
编辑
2022年8月11日
修改mysql数据库密码
摘要: 1.在数据库外修改密码 mysqladmin -u root -p旧密码 password 新密码; [boye@boye ~]$ mysqladmin -u root -p123456 password admin 2.数据库内修改密码 1.新建用户设置密码 create user root@'l
阅读全文
posted @ 2022-08-11 18:24 boye169
阅读(575)
评论(0)
推荐(0)
编辑
php常用全局函数
摘要: print_r (count(array_keys([1]))); //打印数组 str_replace("world","Shanghai","Hello world!") //把字符串 "Hello world!" 中的字符 "world" 替换为 "Shanghai" array_keys()
阅读全文
posted @ 2022-08-11 10:03 boye169
阅读(81)
评论(0)
推荐(0)
编辑
mysql insert ignore
摘要: INSERT INGORE语句,则会忽略导致错误的行,并将其余行插入到表中 INSERT IGNORE INTO `test` (`id`,`name`,`mod_time`) VALUES(12,'tom',NOW()); --id为主键 INSERT IGNORE INTO `test` (`i
阅读全文
posted @ 2022-08-11 09:59 boye169
阅读(128)
评论(0)
推荐(0)
编辑
2022年7月7日
git将master分支合并到其他分支
摘要: 1、首先切换到master分支 #git checkout master 2、将master的更新pull到本地 #git pull origin master 3、切换到目标分支 #git checkout 目标分支名 4、将master合并到目标分支 #git merge master 合并可能
阅读全文
posted @ 2022-07-07 19:48 boye169
阅读(1952)
评论(0)
推荐(0)
编辑
2022年7月1日
git 根据tag创建分支
摘要: 克隆分支 //克隆主分支 git clone git@test.com:ptc/boye.git //克隆指定分支 git clone -b test_brance git@test.com:ptc/boye.git test_brance 创建新的分支 git branch newbranch v
阅读全文
posted @ 2022-07-01 11:07 boye169
阅读(771)
评论(0)
推荐(0)
编辑
2022年6月7日
typescript 单例模式
摘要: class Demo{ private static instance:Demo; public constructor(name:string){ console.log('name:',name) } public static getinstance(){ if(!this.instance)
阅读全文
posted @ 2022-06-07 09:58 boye169
阅读(48)
评论(0)
推荐(0)
编辑
2022年5月19日
typescript https上传文件
摘要: export const requestFormData = async(host:string,path:string,formData:any):Promise<any> =>{ return new Promise( async (resolve) => { const https = req
阅读全文
posted @ 2022-05-19 14:51 boye169
阅读(102)
评论(0)
推荐(0)
编辑
typescript https请求
摘要: https.request(url[, options][, callback]) url <string> | <URL> options <Object> | <string> | <URL> 接受来自 http.request() 的所有 options,默认值有一些不同: protocol
阅读全文
posted @ 2022-05-19 14:40 boye169
阅读(139)
评论(0)
推荐(0)
编辑
2022年4月26日
typescript 数组排序
摘要: let array=[ {name:"张三",age:18},{name:"王五",age:28},{name:"Tom",age:22},{name:"Jack",age:19},{name:"李明",age:35},{name:"小兰",age:20} ] array.sort((a,b)=>{
阅读全文
posted @ 2022-04-26 14:21 boye169
阅读(397)
评论(0)
推荐(0)
编辑
上一页
1
···
12
13
14
15
16
17
18
19
20
···
29
下一页
公告