摘要:
*** https://visualstudio.microsoft.com/zh-hans/downloads/ *** 1.vs中手动安装第三方插件: 2.常用查找方式: ①:ctrl+f ②:ctrl+f再ctrl+shift+f 3.代码对齐 第一步:Ctrl+a (全选代码) 第二步:Ct
阅读全文
posted @ 2019-07-01 14:37
ArSang-Blog
阅读(213)
推荐(0)
摘要:
1.c#隐藏手机号码中间四位数为*,使用正则:
阅读全文
posted @ 2019-06-29 17:12
ArSang-Blog
阅读(111)
推荐(0)
摘要:
1.net连接sqlserver2016时‘sa’登录失败问题 <connectionStrings> <add name="master" connectionString="Server=ip,49162;Database=master;User Id=sa;Password=123456;Co
阅读全文
posted @ 2019-06-10 19:33
ArSang-Blog
阅读(163)
推荐(0)
摘要:
1.`"""" """`三引号+__doc__: # 三引号的使用 + __doc__ def in_fridge(): """this is a function to see fridge has to be a doctionary fir is in the string wanted_fo
阅读全文
posted @ 2019-05-20 14:47
ArSang-Blog
阅读(125)
推荐(0)
摘要:
1.mysql查询表大小行数: ①.查询表rows use information_schema; select table_name,table_rows from tables where TABLE_SCHEMA = 'koaladb' order by table_rows desc; Vi
阅读全文
posted @ 2019-04-08 16:03
ArSang-Blog
阅读(207)
推荐(0)
摘要:
1.if判断 #!/bin/bash - # - 表示安全 i=$1 #$1 参数符 if [ $i -eq 0 ];then echo "0" elif [ $i -eq 1 ];then echo "1" else echo "!=" fi exit 0 #正常运行程序并退出程序 exit 1
阅读全文
posted @ 2019-03-29 15:22
ArSang-Blog
阅读(116)
推荐(0)
摘要:
1.vim创建shell脚本: vim创建shell脚本: # vim xxx.sh 执行shell脚本: ①# sh xxx.sh ②# chmod +x ./xxx.sh 执行 ./xxx.sh 2.vim使用技巧: ①.' i' 键:将vim环境变为可插入的模式来编写shell脚本 ②.'Es
阅读全文
posted @ 2019-03-29 14:19
ArSang-Blog
阅读(1382)
推荐(0)
摘要:
1.python中条件判断语句:if-elif-else **python中没有:switch..case语句 a,b=7,-1 print(' ') while a!=b: x = int(input("请输入一个数字:")) if x == a: print('输入正确!') elif x >
阅读全文
posted @ 2019-03-28 17:09
ArSang-Blog
阅读(210)
推荐(0)
摘要:
1.使用yum install时报错:yum.pid已锁住
阅读全文
posted @ 2019-03-21 17:08
ArSang-Blog
阅读(115)
推荐(0)
摘要:
1.查看centos中自带的Python地址:which python(一般在 /usr/bin/python) 2.切换到python安装目录:cd /usr/bin 3.查看对应的Python版本指向:ls -l python* 4.创建一个空目录:mkdir /usr/local/python
阅读全文
posted @ 2019-03-18 19:07
ArSang-Blog
阅读(819)
推荐(0)