最近在做移动端的需求时,有一个长按的需求,总是会触发移动端浏览器自带的长按效果,而且文字也会被选中,所以需要修改为文字不能被选中,浏览器默认长按效果禁止掉。 *{ -webkit-touch-callout:none;/*系统默认菜单被禁用*/ -webkit-user-select:none;/* ...
分类:
移动开发 时间:
2021-02-09 12:33:15
阅读次数:
0
1:oracle 分页 select * from (select t.*, rownum rn from (select * from menu order by id desc) t where rownum < 10) where rn >=5 2: mysql 分页 select * fro ...
分类:
数据库 时间:
2021-02-09 12:24:17
阅读次数:
0
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:
其他好文 时间:
2021-02-09 12:12:28
阅读次数:
0
# 查询主表相关信息,并且显示最新的记录 SELECT type.number as '序号', type.date as '时间', type.name as '名称', main.content as '项目名称', main.manager as '负责人', unit.name as '单位 ...
分类:
数据库 时间:
2021-02-09 12:01:19
阅读次数:
0
### 新建vue项目 npm install @vue/cli -g // 如果安装过脚手架,不必再次安装 vue create vision 手动选择一些特性 > Manually select features 空格选择一些插件 Check the features needed for yo ...
分类:
其他好文 时间:
2021-02-09 11:46:36
阅读次数:
0
#clickhouse: 默认端口8123 或90001.在sql语句连接其他clickhouse数据库,参数:ip端口,数据库表,用户名,密码select * from remote('192.168.1.12:8123',mysql_test.r_app_rank,'root','123456' ...
分类:
数据库 时间:
2021-02-08 12:25:24
阅读次数:
0
元素 元素 作用 备注 if 判断语句 单条件分支判断 choose、when、otherwise 相当于 java 的 case when 多条件分支判断 Trim、where、set 辅助元素 用于处理 sql 拼装问题 foreach 循环语句 在 in 语句等列举条件常用,常用于实现批量操作 ...
分类:
数据库 时间:
2021-02-08 12:13:21
阅读次数:
0
VS2015 提供的性能探查器,可以看到程序的哪部分代码占用了多少的cpu 可以看到 FD_SET select FD_ISSET recv这几个个函数占用的cpu比较高 将服务端改造成多线程: 1.分离处理客户端连接的函数,放到线程中。减少客户端并发连接时间。 2.分摊占用cpu的操作,放到几个线 ...
分类:
编程语言 时间:
2021-02-08 11:58:13
阅读次数:
0
Suppose you have to evaluate an expression like ABCDE where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which ...
分类:
其他好文 时间:
2021-02-08 11:54:10
阅读次数:
0
There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and i ...
分类:
其他好文 时间:
2021-02-08 11:44:08
阅读次数:
0