08 2018 档案

2018-8-20 21:32:39 面试
摘要:2020-08-02 21:36:52 准备的面试题: 1. new和malloc的区别 malloc是一个函数,new是一个关键字,需要编译器的支持。 new出来的东西放在自由存取区上, malloc放在堆上。 new返回的是对象指针,malloc返回的是void* new可以重载 2. 左值引用 阅读全文

posted @ 2018-08-20 21:36 stupid_one 阅读(261) 评论(6) 推荐(1) 编辑

386. Lexicographical Numbers 把1--n按字典序排序
摘要:https://leetcode.com/problems/lexicographical-numbers/description/ 前20个是 1, 10, 11, 12, 13, 14, .....19 2, 20, 3, 4, 5, 6, ....9 阅读全文

posted @ 2018-08-19 20:47 stupid_one 阅读(361) 评论(0) 推荐(0) 编辑

mysql
摘要:一些命令: show create teble table_name \G; MYSQL压力测试之mysqlslap create table user2(userid int(4) primary key not null auto_increment, id int); package main 阅读全文

posted @ 2018-08-14 12:58 stupid_one 阅读(145) 评论(0) 推荐(0) 编辑

nginx
摘要:※:docker中跑nginx,即使volume了,还是需要进去nginx哪里reload,才能使配置文件生效,语法是:nginx -s reload,用service nginx reload也可以,但是这样不会检查nginx语法,就是dafault.conf有错误也不能被识别出来。 nginx配 阅读全文

posted @ 2018-08-13 16:31 stupid_one 阅读(109) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示