码迷,mamicode.com
首页 >  
搜索关键字:style    ( 244891个结果
python记录
aa=[1,2,3,4] bb=aa.pop()#删除最后一个元素,并将这个值给变量bb aaa=aa.pop(0)#删除第一个元素,并将这个值给变量aaa print(aa,bb,aaa) mm="12312" aa="aadf dsfdf {}".format(mm) #原有格式format写法 ...
分类:编程语言   时间:2021-01-05 10:46:25    阅读次数:0
好数对的数目
给你一个整数数组 nums 。 如果一组数字 (i,j) 满足 nums[i] == nums[j] 且 i < j ,就可以认为这是一组 好数对 。 返回好数对的数目。 示例 1: 输入:nums = [1,2,3,1,1,3]输出:4解释:有 4 组好数对,分别是 (0,3), (0,4), ( ...
分类:其他好文   时间:2021-01-05 10:45:49    阅读次数:0
快速排序
#include<bits/stdc++.h> using namespace std; int n; void mysort(int a[],int l,int r)//自己写的快排 { int mid=a[(l+r)/2];//找中间的数进行2分 int i=l,j=r; do{ while(a ...
分类:编程语言   时间:2021-01-05 10:39:05    阅读次数:0
VUE项目编译后刷新404
在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } ...
分类:其他好文   时间:2021-01-04 11:32:56    阅读次数:0
Apache Tomcat 远程代码执行漏洞(CVE-2019-0232)漏洞复现
漏洞概述: Apache Tomcat是美国阿帕奇(Apache)软件基金会的一款轻量级Web应用服务器。该程序实现了对Servlet和JavaServer Page(JSP)的支持。 4月11日,Apache官方发布通告称将在最新版本中修复一个远程代码执行漏洞(CVE-2019-0232),由于J ...
分类:Web程序   时间:2021-01-04 11:17:21    阅读次数:0
【Flutter】ShaderMash 着色器实现渐变色文字
ShaderMask( child: Text("爱音乐的孩子是小白", style: TextStyle(color: Colors.blue)), shaderCallback: (bounds) => RadialGradient( center: Alignment.topLeft, rad ...
分类:其他好文   时间:2021-01-04 11:16:41    阅读次数:0
countDownLatch
1.背景: countDownLatch是在java1.5被引入,跟它一起被引入的工具类还有CyclicBarrier、Semaphore、concurrentHashMap和BlockingQueue。 存在于java.util.cucurrent包下。 2.概念 countDownLatch这个 ...
分类:其他好文   时间:2021-01-04 11:15:53    阅读次数:0
The current path, page/, didn't match any of these
最近在学习python,按照网上的步骤进行操作 url.py的代码 但是一直报如下的错。 Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/page/ Using the URLconf defin ...
分类:其他好文   时间:2021-01-04 11:14:18    阅读次数:0
Linux 执行Shell脚本文件
Linux中的脚本文件一般都是以.sh结尾的。sh 是Unix 标准默认的shell脚本语言。创建一个hello.sh 文件,输入以下脚本。 #!/bin/bash # remark echo hello 使用 chmod +x hello.sh 添加脚本权限。 使用以下任一方式执行脚本,建议使用第 ...
分类:系统相关   时间:2021-01-04 11:08:40    阅读次数:0
前端下拉框实现联查(二级联动,三级联动)
本次写的也算是困扰我一段时间的一个小问题,也是为还在因此而困扰的朋友提供一个解决方案。 在HTML中写两个下拉框: <div class='fields'> <div class='field'> <label class="ep_lable " style="width:100px">文件类型</ ...
分类:其他好文   时间:2021-01-04 10:54:33    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!