2021年12月26日

摘要: C:\Users\Administrator>pip install virtualenvCollecting virtualenv Downloading virtualenv-20.10.0-py2.py3-none-any.whl (5.6 MB) |█████████████████████ 阅读全文
posted @ 2021-12-26 20:05 shenggong 阅读(462) 评论(0) 推荐(0) 编辑

2021年9月3日

摘要: obclient> SHOW VARIABLES LIKE '%recyclebin%';+ + +| Variable_name | Value |+ + +| recyclebin | OFF |+ + +1 row in set (0.01 sec)obclient> SET @@RECYCL 阅读全文
posted @ 2021-09-03 16:58 shenggong 阅读(128) 评论(0) 推荐(0) 编辑

2021年8月11日

摘要: docker run --name mydb -p 3306:3306 -v /data/db/mariadb:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -itd mariadb /bin/bash root@6f494cc13cb4:/var/lib 阅读全文
posted @ 2021-08-11 17:02 shenggong 阅读(877) 评论(0) 推荐(0) 编辑

2021年7月20日

摘要: yum whatprovides "*/g++"Last metadata expiration check: 2:14:47 ago on Tue 20 Jul 2021 07:04:45 AM CST.bash-completion-1:2.8-9.ky10.noarch : Completio 阅读全文
posted @ 2021-07-20 09:21 shenggong 阅读(522) 评论(0) 推荐(0) 编辑
摘要: select table_schema, table_name from information_schema.tables where table_name not in (select distinct table_name from information_schema.columns whe 阅读全文
posted @ 2021-07-20 09:14 shenggong 阅读(205) 评论(0) 推荐(0) 编辑

2020年11月25日

摘要: mysql> show databases;+ +| Database |+ +| information_schema || mydb || mysql || performance_schema || test |+ +5 rows in set (0.01 sec)mysql> use myd 阅读全文
posted @ 2020-11-25 09:47 shenggong 阅读(1168) 评论(0) 推荐(0) 编辑

2020年9月12日

摘要: mysql> select CEIL(1.2);+ +| CEIL(1.2) |+ +| 2 |+ +1 row in set (0.00 sec)mysql> SELECT CEIL(-1.2);+ +| CEIL(-1.2) |+ +| -1 |+ +1 row in set (0.00 sec 阅读全文
posted @ 2020-09-12 06:48 shenggong 阅读(362) 评论(0) 推荐(0) 编辑

2020年8月28日

摘要: marksheet = [] for _ in range(0,int(input())): marksheet.append([input(),float(input())]) second_highest=sorted(list(set(marks for name,marks in marks 阅读全文
posted @ 2020-08-28 16:58 shenggong 阅读(287) 评论(0) 推荐(0) 编辑

2020年8月20日

摘要: https://www.hackerrank.com/challenges/matching-range-of-characters/problem?h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen code: import re Regex 阅读全文
posted @ 2020-08-20 10:46 shenggong 阅读(96) 评论(0) 推荐(0) 编辑

2020年8月13日

摘要: Sock Merchant def sockMerchant(n, ar): A=set(ar) pairs=0 for element in A: #集合没有重复字符串 pairs += ar.count(element) // 2 return pairs 阅读全文
posted @ 2020-08-13 07:03 shenggong 阅读(91) 评论(0) 推荐(0) 编辑

导航