单选框 1 package com.kuang.lesson05; 2 3 import javax.swing.*; 4 import java.awt.*; 5 import java.net.URL; 6 7 public class JButtonDemo02 extends JFrame ...
分类:
其他好文 时间:
2021-04-16 12:11:51
阅读次数:
0
1. 虚函数中存在默认值时,需要注意其函数调用中默认值: class cbase { public: virtual void func(int a = 10) { cout << "this is cbase func:" << a << endl; } }; class csub : publi ...
分类:
编程语言 时间:
2021-04-16 12:03:44
阅读次数:
0
merge函数的作用是:将两个已经排好序的序列合并为一个有序的序列。 函数参数:merge(first1,last1,first2,last2,result,compare); firs1t为第一个容器的首迭代器,last1为第一个容器的末迭代器; first2为第二个容器的首迭代器,last2为容 ...
分类:
其他好文 时间:
2021-04-16 11:46:46
阅读次数:
0
系统变量:全局变量、会话变量 自定义变量:用户变量、局部变量 一、系统变量 说明:变量由系统提供,不是用户定义,属于服务器层面,当服务器启动的时候,服务器会提供这样的系统变量,并赋予默认值,供我们使用。 1.全局变量 作用域:服务器每次启动将为所有全局变量赋初值,针对于所有会话(连接)有效,但不能跨 ...
分类:
其他好文 时间:
2021-04-16 11:42:09
阅读次数:
0
解决Gitlab的The remote end hung up unexpectedly错误 解决RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large问题 解决办法1: ...
分类:
Web程序 时间:
2021-04-15 12:34:26
阅读次数:
0
linux 挂载硬盘扩容的2种方法 张映 发表于 2015-12-30 分类目录: linux 标签:linux, lvm, 扩容, 硬盘 硬盘快满了,加硬盘扩容,不管是独立的服务器,还是云空间新买的硬盘,扩容方式一样。下面以阿里VPS为例,详细说一下,挂载硬盘扩容的2种方法。 阿里VPS,个人觉得 ...
分类:
系统相关 时间:
2021-04-15 12:20:29
阅读次数:
0
EC2 Instance Pricing Options On-Demand Pay by the hour or the second depending on the type of instnace you run. Great for flexbility. (Run proprotype ...
分类:
其他好文 时间:
2021-04-14 12:14:34
阅读次数:
0
### haslib - 加密应用 - 注册和登录,通过列表 #解密在服务器server端 import hashlib def get_md5(data): obj = hashlib.md5("fsafas".encode("utf-8")) #这里是加盐一般不能固定,一般用用户名 obj.up ...
分类:
其他好文 时间:
2021-04-14 12:12:01
阅读次数:
0
在工作中常常会需要处理时间的显示格式,下面是我最近用到的几个案例,简单记录一下。 1、拿到一个时间段:starttime和endtime,格式为yyyy--mm--dd。需要在前端拆分成每一天并带上周天信息。最后输出一个日期数组展示在option下拉列表里 // 时间选择转换 getFormat(d ...
分类:
其他好文 时间:
2021-04-14 12:01:43
阅读次数:
0
#_*_ encoding: utf-8 _*_ @author: ty hery 2019/12/20 from flask import Flask, render_template, request, url_for, redirect from flask_sqlalchemy import ...
分类:
其他好文 时间:
2021-04-13 12:32:12
阅读次数:
0