E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Pri
Mybatisplus代码生成器主类CodeGenerator配置
Scannerscanner=newScanner(System.in);StringBuilderhelp=newStringBuilder();help.append("请输入"+tip+":");System.out.
pri
weixin_30699831
·
2020-08-26 15:41
最简易结构lua数据表
1003]=3},[1]={1001,"小李",31,18087777777},[2]={1002,"小叶",33,18908888888},[3]={1003,"小卢",35,13699999999},}
pri
人气小哥
·
2020-08-26 14:32
python 函数的定义和应用
print("sub_test=",sub_test)defmultply(mul_a,mul_b):mul_res=mul_a*mul_breturnmul_resmul_test=multply(2,4)
pri
陌上花开缓缓归以
·
2020-08-26 11:38
python学习入门
pyhton实战之读取基金网站数据(一)
/test.txt","r")
pri
谜00016
·
2020-08-26 08:42
Python Paramiko模块使用
paramiko.AutoAddPolicy())ssh.connect("某IP地址",22,"用户名","口令")stdin,stdout,stderr=ssh.exec_command("你的命令")
pri
MHyourh
·
2020-08-26 08:33
sklearn.neighbors 模块中使用 KNeighborsClassifier
pri
飞花念惜
·
2020-08-26 07:29
python
Knn
Jmeter对Json格式数据的三种处理方式
{:"code":"000000",:"data"::{::"pageCount":"1",::"
pri
nielinqi520
·
2020-08-25 17:52
Jmeter
Python 数据分析 numpy and pandas
Seriesimportpandasaspdimportnumpyasnps=pd.Series([1,2,3,np.nan,44,1])
pri
爱秋刀鱼的猫
·
2020-08-25 17:32
sqli-Labs————less-40
$row[1]);echo"";printf("YourPasswordis:%s",$row[2]);echo"";echo"";}//mysqli_free_result($result);}/*
pri
FLy_鹏程万里
·
2020-08-25 17:55
【信息安全】
【渗透测试实战1】
———Sqli-labs实战
python-练习3
formatchange,['adam','LISA','barT'])2.prod()函数的求积源代码defprod(s):b=1foriins:b=i*breturnba=[1,2,3,4,5,5]
pri
猫上的树
·
2020-08-25 16:19
python
Python3 isspace()方法
pri
weixin_30710457
·
2020-08-25 15:44
java基础之类初始化(static块,代码块等)
intc;staticintcc=999;//静态变量publicTestOneDay(){System.out.println("AAA"+c);//第四个执行}{intb=2;System.out.
pri
爱写码的小强
·
2020-08-25 14:09
个人学习篇
java多线程-理解
publicclassMyThreadextendsThread{privateinti=0;@Overridepublicvoidrun(){for(i=0;i<100;i++){System.out.
pri
heping_csdn
·
2020-08-25 14:54
java——线程
空闲任务(Idle Task)和统计任务
这个空闲任务[OSTaskIdle()]永远设为最低优先级,即OS_LOWEST_
PRI
0。
风吹散了我们的记忆
·
2020-08-25 14:01
Java复习 多线程实现简易版龟兔赛跑
Overridepublicvoidrun(){for(intsteps=1;steps"+steps);//比赛是否结束booleanflag=gameOver(steps);if(flag){break;}}}
pri
liujunwei6
·
2020-08-25 12:13
java
csv 导入到MySQL
idINTNOTNULLAUTO_INCREMENT,titleVARCHAR(255)NOTNULL,expired_dateDATENOTNULL,amountDECIMAL(10,2)NULL,
PRI
dingtom
·
2020-08-25 09:22
使用Volatile关键字的案例分析
publicclassTestVolatile{volatilebooleanb=true;voidm(){System.out.println("start");while(b){}System.out.
pri
钟HL
·
2020-08-25 07:16
多线程
安卓开发01——上传圆角头像到服务器
第二步剪切圆角第三部上传图片这里我使用的是OkHttp(一款强大的网络请求三方)来进行网络请求GitHub地址代码如下:类属性//页面返回参数privatefinalintCHOOSE_PICTURE=0;
pri
敲代码的小三爷
·
2020-08-25 06:52
PAT数组-02. 打印杨辉三角(20)
输入在一行中给出N(1intmain(){intN;scanf("%d",&N);inta[10][10];inti,j;for(i=0;i
pri
old_boy_1991
·
2020-08-25 04:44
PAT基础题
java二维数组实现杨辉三角
publicclassYangHui2{publicstaticvoidmain(String[]args){int[][]array=YangHuiArray(9);
pri
蓝蓝223
·
2020-08-25 03:47
买卖股票的最佳时机2贪心算法
C++代码:inti,
pri
=0,num;if(prices.size()0){
pri
=
pri
+num;}}returnpri;贪心算法
ly521_
·
2020-08-25 03:35
HDU 4569 Special equations
题解:如果x满足f(x)%(
pri
*
pri
)==0,那么一定有f(x)%p==0,那么一定会有f(x+p)%
pri
==0,于是可以先找到0到prime中满足f(x)%p==0的x,然后从x开始遍历到
pri
zamac1993
·
2020-08-25 00:35
CorelDRAW VBA - 打印文档
代码演示Submain()'设置打印属性WithActiveDocument.
Pri
Zebe
·
2020-08-24 23:54
CorelDRAW
VBA
CorelDraw
VBA
android学习笔记11 - LayoutParams布局控制
这里就需要用到LayoutParams了://创建一个线性布局
pri
小小泡泡
·
2020-08-24 23:35
学习笔记
Python——赋值
>>>x,y,z=1,2,3#多个赋值操作同时进行>>>
pri
时光·漫步zth
·
2020-08-24 22:43
Python3
将一个fragment加载到activity(使用framelayout的方法)
SuppressLint("ValidFragment")publicclassFirstFragmentextendsFragment{privateStringcontext;//用于设置textview的值
pri
qq_34793358
·
2020-08-24 22:36
HDU4569-Special equations-小优化简单题
+a1x+a0的值modpri*
pri
为0其中priusingnamespacestd;intt;longlongm,mm;intn;intkase=0;intfa;longlonga[10];longlongsov
lyc1635566ty
·
2020-08-24 21:29
简单数学题
ruby中rsa加签解签方法
8require'openssl'require'base64'#rsa签名,文本内容和私钥路径defrsa_sign(data,private_key_path)private_key=File.read(private_key_path)
pri
宵蓝
·
2020-08-24 20:23
android studio上HierarchyViewer的使用实例
privatefinalHashMapmWindows=newHashMap();privatefinalReentrantReadWriteLockmWindowsLock=newReentrantReadWriteLock();
pri
Dash_Yagi
·
2020-08-24 20:55
android
studio
android
python遍历目录和文件
,dirs,filesinos.walk(path,topdown=False):fornameinfiles:print(os.path.join(root,name))fornameindirs:
pri
随风漂流的
·
2020-08-24 18:20
Python
杭电ACM 1001题
System.in);while(sc.hasNext()){intsum=0;intb=sc.nextInt();for(inti=1;i<=b;i++){sum=sum+i;}System.out.
pri
余-雷
·
2020-08-24 18:40
杭电ACM
python的rsa公钥解密方法
#-*-coding:UTF-8-*-importM2Cryptoimportbase64#私钥加密,公钥解密defpri_encrypt(msg,file_name):rsa_
pri
=M2Crypto
爱学习编程
·
2020-08-24 18:29
mybatis 实体嵌套查询
{privateStringpostId;privateStringpostTitle;privateintupTime;privateintpostType;privateintpointsNum;
pri
weixin_34067102
·
2020-08-24 17:19
Minecraft Fabric 教程 #9 添加盔甲
privatestaticfinalint[]BASE_DURABILITY={13,15,16,11};privatefinalStringname;privatefinalintdurabilityMultiplier;
pri
Enaium
·
2020-08-24 16:32
minecraft
fabric
java
Java8——方法引用
方法引用的三种语法格式1.对象::实例方法名lamdba写法:@Testvoidtest1(){Consumercon=x->System.out.println(x);}方法引用写法:@Testvoidtest2(){
Pri
Java旅途
·
2020-08-24 16:15
java8
实现自己的权限管理系统(六):部门模块开发
部门名称不可以为空")@Length(max=15,min=2,message="部门名称长度需要在2-15个字之间")privateStringname;//指定parentId初始值,避免空值异常
pri
Lin_Dong_Tian
·
2020-08-24 15:04
实现自己的权限管理系统
UVA 815
1:-1);}intmain(){intm,n,kase=0;while(scanf("%d%d",&n,&m)==2&&n){inti,j;doublevo;for(i=0;iavg)break;}
pri
bocmingbetter
·
2020-08-24 15:33
UVA
laravel-permission 和 bouncer 使用小结
上手使用感觉laravel-permission数据表设计,更加复杂一些数据表进行设计的时候,并不是每张表都有id作为
PRI
,导致部分CRUD工具无法识别主键guard会默认从配置中获取web,这就要求
jaysun
·
2020-08-24 15:59
laravel
gii
vue.js
Python实现冒泡排序算法
foriinxrange(j):ifnumbers[i]>numbers[i+1]:#把数值小的数字放到顶端numbers[i],numbers[i+1]=numbers[i+1],numbers[i]
pri
liaoqix
·
2020-08-24 14:36
Python
应用实例
awk sed grep 详解
,列的分隔符RS横着切,行的分隔符【语法格式】awk[–F][“[分隔符]”][’{print1,1,1,NF}’][目标文件]awk‘BEGIN{FS="[列分隔符]+";RS="[行分隔符]+";
pri
懵逼的运维弟弟
·
2020-08-24 13:03
Linux
3. PKI - 密钥、证书文件格式和编码的转换
#8privatekey③transformbetweenpkcs#1privatekeyandpkcs#8privatekeyencrypted④extractx.509publickeyfrompkcs#1
pri
阿湯哥
·
2020-08-24 12:12
PKI
Android中自定义圆形选择器(可用于数字选择,评价选择等)
publicclassCustom_SelectNnm_CircleextendsView{privatestaticfinaldoubleRADIAN=180/Math.PI;privateContextcontext;privatePaintcircle_Paint;//圆环的画笔
pri
Android_gjw
·
2020-08-24 12:27
UI
用python画一个菱形
a=int(input('输入奇数'))foriinrange(1,a+1,2):t=(a-i)//2print(''*t+'*'*i)foryinrange(a-2,0,-2):x=(a-y)//2
pri
TTTTTZ
·
2020-08-24 11:13
Python打印菱形
foriinrange(rows):forjinrange(rows-i):print"",j+=1forkinrange(2*i-1):ifk==0ork==2*i-2:print"*",else:
pri
weixin_34146986
·
2020-08-24 11:59
lsnu暑假集训第二天(排序,二分,折半,Huffman)
maxn];intn;while(cin>>n){if(n==0)return;for(inti=0;i>a[i];for(inti=0;i=0;i--)printf("%d",pa[i].second);
pri
onlysky_yy
·
2020-08-24 09:39
做题笔记
Python(4)_Print和注释
放输出遇到逗号","时会输出一个空格,例如下面print('1','+',"2","=",1+2)运行结果:1+2=3二、注释Python的注释以#开头,后面的文字直到行尾都算注释#这一行全部都是注释...
pri
君莫看
·
2020-08-24 08:30
编译原理课设
1.3、开发环境:Java(jdk1.8)Windows10二、数据结构设计2.1、类2.1.1、文法对象类publicclassGrammar{privateStringleft;
pri
a597097186
·
2020-08-24 07:17
java
c/c++
数据结构与算法
Python输出菱形程序
end=’’)j+=1print()else:while(k<=3-(7-i)):print(’‘,end=’’)k+=1while(j<=(7-i)2+1):print(’’,end=’’)j+=1
pri
孔旗
·
2020-08-24 07:34
后台开发
Go语言开发4---语句
true则执行以下语句*/fmt.Printf("a小于20\n")}fmt.Printf("a的值为:%d\n",a)/*ifelse语句*/ifa<20{/*如果条件为true则执行以下语句*/fmt.
Pri
陈皮的柚子怪
·
2020-08-24 07:14
向量化与for循环耗时对比——python实现
=np.random.rand(1000000)b=np.random.rand(1000000)tic=time.time()c=np.dot(a,b)toc=time.time()print(c)
pri
Nani_xiao
·
2020-08-24 06:59
Python
上一页
31
32
33
34
35
36
37
38
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他